You know, like in Galaga/Galaxian/basically any space shooter that features falling enemies.
To be exact, one o’ these
These enemies in Galaga are following a predefined path. You’ll need to code that, and you could possibly do it using something a structure to store the action - position to move to, pause, send out the tractorbeam etc - along with the duration to perform the action.
- tutorial is not helping
- i don’t really understand forces or physics
thanks for the idea. But for extra help, you can give me the code. I’d appreciate it.