It moves in level 1 but once I complete the maze and progress to the next level the sprite refuses to move.
when uparrow key pressed point in direction 0 move10 steps if <touching colour grn> move -10 steps broadcast checktouchingcharacterThis is the same coding for all the arrow keys with adjustments to the direction, the maze path is red so it should be working but when it goes to level 2 it stops and it is not touching any green at all.
Offline
Drama27 wrote:
It moves in level 1 but once I complete the maze and progress to the next level the sprite refuses to move.
when [Up Arrow v] key pressed point in direction [0 v] move (10) steps if <touching color [#00F000]?> move (-10) steps end broadcast [checktouchingcharacter v]This is the same coding for all the arrow keys with adjustments to the direction, the maze path is red so it should be working but when it goes to level 2 it stops and it is not touching any green at all.
Any suggestions??
Fixed. Anyway, could I see the script that receives the broadcast "checktouchingcharacter"?
With regards,
ErnieParke
Last edited by ErnieParke (2013-03-22 19:42:27)
Offline
there are multiple sprites that receive the code you have to get past them to continue in the maze.
when I receive checktouchingcharacter
if touching witch
broadcast witchquestion
else
and you repeat the same coding for all sprites.
My sprite still wont work in level2 and the code is the same throughout
Offline