I guys
i have crated a side scrolling space shooter game.
the enemy of my games has all a very basic movement (left to right, go directly to the player etc…), and before to start to reinvent the wheel, i would like to know whot are good stategies to create more complicated object movement.
I’d like to have enemy them perform more movements such as moving down the screen, go to left go up again etc…
I belive that I have to create a Path and iterate on it during the update logic of the enemy Sprite.
My question is if someone of you know same resource that i can use to study at list the basic of the path creation and iteration
or if you can share with me your strategy to give me some idea, or you know if there are already some implementation that i could use to do it
thanks