Zig-Zag Movement (Yes I did search)
I have this enemy in my game that spawns at a random y position at the right of the screen (position 512), and I want it to move to the left in a zig-zag pattern relative to the enemy. I found this topic:
http://gamesalad.com/forums/topic.php?id=8990
But that is not exactly how I want it to work. I want the enemy to move in a zig-zag pattern RELATIVE to where it randomly spawns, and I don't know how to do this. This would be so much easier if GS had a path function.
Can you help me?
http://gamesalad.com/forums/topic.php?id=8990
But that is not exactly how I want it to work. I want the enemy to move in a zig-zag pattern RELATIVE to where it randomly spawns, and I don't know how to do this. This would be so much easier if GS had a path function.
Can you help me?
Comments
interpolate self.Position.Y
that is if your enemy is moving via Linear Velocity...
or way points... (just type in WayPoints in the search field in New on the GS start screen)
open a new Project and play with an Actor ... try the many different ways to get things moving.
MH