thanks sledge
ignoring the fact only one invader is supposed to move per frame, I'm just going to move them all per frame (for now)
1. is it best to perform single update, which deals with all the invaders
or
2. is it best to update each invader on an individual basis - its this method I'm having trouble with
I'd like to use method 2 (especially if I'm going to convert it later to move on invader per frame) but I'm having trouble with the logic.
Has anyone got any source code for the update on each invader ? eg. checking if they've reached the screen boundary, etc...
ignoring the fact only one invader is supposed to move per frame, I'm just going to move them all per frame (for now)
1. is it best to perform single update, which deals with all the invaders
or
2. is it best to update each invader on an individual basis - its this method I'm having trouble with
I'd like to use method 2 (especially if I'm going to convert it later to move on invader per frame) but I'm having trouble with the logic.
Has anyone got any source code for the update on each invader ? eg. checking if they've reached the screen boundary, etc...