I dont have the code at the moment but i will have it tomorrow, its for a space invaders game...
whenever the invaders touch the edge of the screen they take it in turns moving across and overlap eachother and its just a mess, does anybody know how to make them all move together? like in the proper game, as a block of aliens which all move to the other side when one touches the wall