Thursday, April 3, 2008

Scratch Tips

1) Keep your code as short as possible. This makes it easier to work with.

2) Use variables! They help to keep everything in order and easier to understand.

3) Use other peoples information to your advantage. If you don't know how to do something, look it up on the net.

Tuesday, April 1, 2008

Make 2 Balls Move Around The Stage Randomly

In this tutorial I will be showing you how to make two balls move around the stage in random directions.

Lets Start:

Step 1:

Choose your sprites


Step 2:

Gt the first moving bouncing off the edge of the stage in a random direction.


Step 3:

Now get the second ball moving around randomly.

How To Make A Sprite Chase Another Sprite

In this tutorial I am going to show you how to make a sprite chase after another sprite.

Lets Begin:

Step 1:

Choose your sprites.


Step 2:

Get the sprite that will be chased moving and bouncing off the edge in a random direction.


Step 3:

Now get the second sprite following the first and moving towards it slowly.

If you want to you can make it so that when the sprites touch they say things to one another, but this is only an optional option. To do this use the following code: