Can someone give me a hint on how to do the following:
1) I have three sprites, that will start moving from the center of the screen to the left on the start of the layout. They have the 4 directions (left, right, up, down) and are bound to layout.
Q: 1) How do I detect that they hit the left boundry?
2) Move all of them at that point down by by y pixels?
3) Change the direction for all three of the sprites to right?
Also, how could I do an effect like in space invaders when the shield gets hit by a bullet, it gets partially destroyed? Do I have to make multiple PNG and test for the collision, and display different frame, or is there an easier way that does this dynamically?
Thanks for your help/suggestions.