XY positioned and destroyed then respawned!
SaveDave
Member Posts: 140
Should this work....
When all
if Actor1 position x=120
if Actor1 position y=90
Spawn Actor2 at position x=121 y=90
Destroy Actor1
When all
if Actor2 position x=120
if Actor2 position y=90
Spawn Actor1 at position x=121 y=90
Destroy Actor2
Should this work... im trying to make it so that if actor 1 is moved onto an exact position that it changes to a different actor but when spawning actor2 in the same position X&Y with the 1 added pixel, i dont want this to destroy until it hits those original X&Y again...
hope this makes sense..
When all
if Actor1 position x=120
if Actor1 position y=90
Spawn Actor2 at position x=121 y=90
Destroy Actor1
When all
if Actor2 position x=120
if Actor2 position y=90
Spawn Actor1 at position x=121 y=90
Destroy Actor2
Should this work... im trying to make it so that if actor 1 is moved onto an exact position that it changes to a different actor but when spawning actor2 in the same position X&Y with the 1 added pixel, i dont want this to destroy until it hits those original X&Y again...
hope this makes sense..
Comments
Here it is working. I put a little spin on it. Pun intended.
http://gamesalad.com/game/play/88924