Problem with Space Invaders Game
Hi, I'm having trouble making the aliens move properly in my space invaders game. They can move left and right, but when it gets to either side, only the aliens that hit the edge move back/down, then after a while they just move on top of the other images.
I was wondering how I could make all the aliens move the same, even though they are all separate objects(needed for collision).
I even tried creating a separate rectangle that moves as the aliens should move, then I added each alien to an array list at the x and y position of the rectangle + the size of the alien. This didn't work either.
I'm tearing my hair out here! I will post whatever code you think would let you help!