How can I make it so that there are several levels in the game to beat? Like if the object touches a boat, It goes on to level 2 with a whole different environment? I have a lot of decorations already on level one, and I want all of them to disappear as well as the background. Please help.
Offline
Create a variable named level. If you have different sprites, you can tell the sprite to:
Forever
If <Level = 1>
Show
Else
Hide
Or you can have different costumes in one sprite
Forever
Switch to Costume [Level]
Or you can put everything onto one background:
Forever
Switch to Background [Level]
For the character sprite,
Forever if <touching object>
change level by 1
Go to starting position
Offline