Scratch Silver III
Scratch Silver II
SCRATCH SILVER I
SCRATCH GOLD III
1 of 3

2.07 Random insect movement

The insects in your app move in a very predictable pattern, but in real life they are hard to catch.

You will use the pick random block to make the insect move in a more natural way.

Add a script to Insect 2 to make it point in a random direction every 1–3 seconds.

Test: Run your project and watch how the fly moves. Try changing the numbers to get the effect you want.

You can also drag this script to the Insect sprite so that it also moves randomly.

Change the insects until they behave the way you want them to.

You could change the number of steps they move to make them faster or slower.

You could also change the speed of the dragonfly.

You could also change the size that the dragonfly needs to grow to reach full size.

Make changes until you are happy with your project.

×
×

Cart