Hello -
I am building a game based on Asteroids. I'm more than 50% complete, and results aren't bad. Methinks ;)
As you progress through waves/levels, the game spawns one more large rock than in the previous level (I'll put in a max later on). Now, I would like the rocks to run through a loop that goes through image points - the corners, 1 through 4, and when adding 1 to the image point counter, it goes back to 1. This repeats until the last rock is spawned. For example, seven rocks would spawn at image points 1, 2, 3, 4, 1,2, 3.
When I run this code, the rocks all spawn at image point 1, the top corner. What I am doing wrong?