Pages: 1
I dont know how i can do it. I' ve tried all but nothing works. i dont want to use coordinates because i want to use the same colour and the same script every level but i dont know how i can teleport me from one colour to an other without using the coordinates
Need help pls.
Bye
Offline
I want to teleport my figure from a point that is blue to a point that is red.
And i dont want to use coordinates because i want to make more levels and there it can be that red isnt at the coordinates where it was before. That means that if i touch blue i come to the coordinates from the last level but i want that i go to red same as the last level.
Offline
You can use a variable with the coordinates:
if <(level) = [1]> go to x: (whatever) y: (whatever) else if <(level) = [2]> go to x: (whatever) y: (whatever) else if <(level) = [3]> go to x: (whatever) y: (whatever) end end end
Offline
Thanks.
Offline
Yes. Make the colours sprites and do
if <touching [red sprite v]?> go to [blue sprite v] end
Offline
Pages: 1