Could someone explain...
rebump
Member Posts: 1,058
...what is permitting the alien side-to-side movement in this demo project from CodeMonkey:
http://gamesalad.com/game/play/7093
I see how the right and left walls indicate a reversal and a drop of the aliens in the Y directions but from the aliens' behaviors, I only see a "move to" that looks like it would only move the aliens to the left. Either I am not looking carefully throughout the entire project or I do not understand the nuances of the seemingly simple "move to" behavior (or that project is corrupt and not all the behaviors are visible!?). When I remove the "move to" though, the side-to-side and drop movement does stop. Hmm, maybe I don't understand the differences of "relative to scene" and "relative to actor" (coordinates?).
Am I being dense?
http://gamesalad.com/game/play/7093
I see how the right and left walls indicate a reversal and a drop of the aliens in the Y directions but from the aliens' behaviors, I only see a "move to" that looks like it would only move the aliens to the left. Either I am not looking carefully throughout the entire project or I do not understand the nuances of the seemingly simple "move to" behavior (or that project is corrupt and not all the behaviors are visible!?). When I remove the "move to" though, the side-to-side and drop movement does stop. Hmm, maybe I don't understand the differences of "relative to scene" and "relative to actor" (coordinates?).
Am I being dense?
Comments
Relative to scene means if you were to give coordinates of (100,120), it will go to that absolute position.
Relative to actor means if you were to give coordinates of (100,200), it will go to that position as an actor would see it, taking into account its rotation as well.
Thanks for pointing out the obvious to my dense and overworked skull. I thought it was some "magic" going on that I didn't grasp.
Feel free to delete the comments from the demo project's web page if you like (or can)...
Thanks again!
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left