I am trying to make an interactive game in Scratch and need some help...
What is the best way to "leave a room" and "enter another room"...for instance, I want my character to exit through the top, right or left of the screen. When they get to the edge, I will just change the background...but what command is there for "if at top edge, go to X background."?
Offline
If touching edge, then look at the location of the sprite
So that is the start of the code
Last edited by Mike_W (2009-05-20 21:37:01)
Offline
Or, you can place a sprite there (you can make it invisible by setting the ghost effect to 100) and have the invisible sprite send a Broadcast message when your character sprite touches it. That works very well too.
Offline
Paddle2See wrote:
Or, you can place a sprite there (you can make it invisible by setting the ghost effect to 100) and have the invisible sprite send a Broadcast message when your character sprite touches it. That works very well too.
i've never thought of that. good idea i think im gonna use that in my next game.
Offline