1
General / Re: Continuous sprites
« on: November 08, 2012, 06:53:37 pm »
Thank you for your quick response I have the array with the sprites, I know how to move them, but I can't do it separately, one after the other (like a marquee). These are the steps I'm making:
- To generate a random number representing one of the four arrows
- Draw it
- Take the position to separate the next arrow
- Draw the next arrow
Of course this way doesn't work, because when I draw the second arrow I lost the index of the first one and then it disappears from the screen. I think there must be a way to do it automatically but I can see it.
- To generate a random number representing one of the four arrows
- Draw it
- Take the position to separate the next arrow
- Draw the next arrow
Of course this way doesn't work, because when I draw the second arrow I lost the index of the first one and then it disappears from the screen. I think there must be a way to do it automatically but I can see it.