Heya, I'm trying to make a space invaders style game for a University assignment and can't seem to replicate the invader movements.
I tried just creating if statements that access the objects position on the stage (when the invaders are to the right of the stage as the condition and the resulting code body just being move(-2). However the invaders just reach the right side and stop moving, I think this may be because the if statements conditions are met and then the if's code body only iterates once instead of constantly. I tried to fix this by making the if's body execute a while loop that stopped once the invaders had hit the left side and this didn't work either.
My assignment is due in 10 days and I'm completely stuck, any help at all would be really appreciated :)