I'd like to design some simple but custom enemies move patterns in a shoot'em up.
I first thought about using custom movements with math formulas which don't really belong to my brain, or mixing different behaviors like bullet/sine, but it doesn't really fit my needs.
The idea would be to create X points which will be smoothly followed by an enemy (curved paths and so on).
On the last point reached, two options I could choose (with a variable for example). The enemy continues in the same direction it has when it reaches the last point, or it enters in a loop and cycle through all the points continuously.
This kind of plugin (I also saw a similar behavior by r0j0hound, without a custom behavior) is a very good start on the paper, but there are two issues:
I can't decide how fast the sprite will "turn"
The sprites has to spend the same time between two points regardless how far they are from each other. I need my enemies to have a constant speed.
Any idea how to do this ? I'm quite sure this is not very complicated, but far beyond my math skills (which are actually absents).