So I have the players ship placed on the stage. I’ve put it as late in the draw function past my other objects.
I have code which adds items to tables for enemies and bullets and they automatically appear on top.
Now this isn’t an issue until I use a manoeuvre in game where the ship does a loop the loop over the enemies (like the arcade game 1941). But as the enemies are added to the table they have a depth that automatically higher than the player’s ship.
Is there a line of code I can apply to change the depth of the ship?