Since you're doing an escape room, I'm gonna do this for four walls, okay?
When Flag Clicked
Set (direction) to (1)
Forever
If (mouse down? and touching mouse)
If (direction=4)
set (direction) to (1)
else
change (direction) by (1)
wait until (not (mouse down))
end
For the right arrow, and for the left arrow, basically the same thing except switch the 4 and the 1 in the "if (direction=)" part, and the else should change it by -1.
Then, set up your backgrounds so that the are in order so that turning right is the equivilant of changing your background# by 1. Name them so that room 1's backgrounds are: 11, 12, 13, and 14: room 2's: 21, 22, 23, and 24 etc.
Put this in your background:
When Flag Clicked
Forever
switch to background (join (room)(direction))
end
Offline
gruff123 wrote:
Can you add scratch blocks i dont rly get it
Hold on, I'll make a mock up.
Hopefully those help.
Last edited by AtomicBawm3 (2010-11-03 17:14:15)
Offline
I did it a bit differant....Pretty simple.
See my project GREED (Demo) TOO LAZY TO PUT A LINK
Offline