Posted: Wed Feb 05, 2003 12:41 am
Restored from previous forum. Originally posted by Kerfew.
How do I go about displaying 1 sprite on a screen several times at once, but all doing different things?
DisplaySprite (0, rabbitx, rabbity)
Say I want one sprite to stay still, while another moves left, and another goes around in a circle. I tried to understand the examples in Pure Basic using structures, but I couldn't get it to work.
I tried copying the sprite and then doing somehting like this
For c=0 to 3
DisplaySprite(c, rabbitx(c), rabbity(c))
Next
But I'm not really sure how to properly go about it.
Everyone else here doesn't seem to be beginners compared to me.
Kefrew
confused - dazed - but not dead
How do I go about displaying 1 sprite on a screen several times at once, but all doing different things?
DisplaySprite (0, rabbitx, rabbity)
Say I want one sprite to stay still, while another moves left, and another goes around in a circle. I tried to understand the examples in Pure Basic using structures, but I couldn't get it to work.
I tried copying the sprite and then doing somehting like this
For c=0 to 3
DisplaySprite(c, rabbitx(c), rabbity(c))
Next
But I'm not really sure how to properly go about it.
Everyone else here doesn't seem to be beginners compared to me.
Kefrew
confused - dazed - but not dead