im making a game and the tortoise (sprite) has to collect all the fruit.
ive made it so, when the tortoise touches the fruit, the fruit is set to ghost effect at 100.
i want to make it so when the tortoise has collected/touched all the fruit, it will go to the next level.
how do i do it? :-)
Offline
Just use this:
[blocks]<clear graphic effects>[/blocks]
EDIT:
What you do is for each fruit collected, you have this script:
Make it repeat as many times as there are levels.
The orange blocks come from "variables". You can make a variable by pressing "new variable".
Last edited by Greatdane (2010-05-28 15:04:37)
Offline
Will the next level be harder? In that case it would make sense to create a variable called "level" and make it change by 1 each time the fruit is cleared - just add "[change (level) by (1)]" at the end of Greatdane's script. ^^
To make each level harder somehow, you have to connect something to the number of the level. For example, if you want the tortoise to run faster with each level, you can create something like this for the movement scripts:
[blocks]<when[ up ]key pressed>
<move( <{ level }> )steps>[/blocks]
Offline