I have to refloat this topic since i'm still struggling with a method to make "movement patterns" or "arrangements in custom shapes formations" and things like that.
More examples of what i try to do (do and do efficiently):
1) Move objects in an eight shape or spawn an "eight formation" of objetcs.
2) Move objects in some kind of curved line or zigzag line.
3) Move objects around another object following a rotating path around it. (Like orbiting around an object). This one is easy but i put it as an example of Movement Patterns.
Again the link of a game with a lot of this kind of movement patterns i want:
What make me dizzy is how to save those patterns in a efficient way.
Hard code them? Spawn objects with an array? Create an xml with each movement and call functions from this file?
Fixed formations is one thing, but movements following a figure kills me.
This feels like the way one should program "Bullet Hells".
I need some direction here <img src="smileys/smiley18.gif" border="0" align="middle">