1.how can i make a script where my sprite touches a "spike" and goes all the way at the back of the level/map...
2. and how can i make a portal that we take me to another level
Offline
What I would do is make all spikes a certain colour (here, I'll use grey).
For the player:
when gf clicked forever if <touching color [#73736D]?> go to x: (-100) y: (0)//starting coordinatesAs for the portal, script
when gf clicked set [level v] to [1] forever if <touching [portal v]?> change [level v] by [1] broadcast [NextLevel v]And then you would control what you want to change using the "When I receive NextLevel" block. For Example, you might want to change the background for the next level, in which case you would script:
when i receive [NextLevel v] switch to background (level)
Last edited by PhirripSyrrip (2013-01-11 19:29:50)
Offline