I've been toying with the idea of creating an old-school shoot 'em up and have just been wondering a few things and wondered if anyone here might have some ideas.
Looking at something like R.Types you notice that the player moves forward through an infested screen with both moving and static enemies, both of which seem to spawn at designated times, or, appear to be 'fixed' to the actual layout (such as turrets). What got me wondering was how that actually even works. I mean, does the player basically move through the level, and the enemies just spawn at certain 'trigger points'?
If that's the case, does the player 'ship' have some sort of constant thrust, or, does the camera track along automatically, and the player is just kind of fixed to its bounds?
My other thought was that, does the world just move around the player instead perhaps, and all enemy spawners are just fixed to the moving layout which trigger when just before on-stage perhaps? It seemed like this approach might be quite expensive, as you'd have to move everythings x and y position. Seemed more logical that the player and / or camera would be the only moving part instead.
Anyway, cheers for reading and if you have any thoughts, would love to hear them.
Thanks, take care.