#68501 - gs2phateon - Wed Jan 25, 2006 3:06 am
I'm no expert on this, but I've heard that you could draw all of the frames of the animation with the original sprite, all stacked in the same bitmap array.
Then you would draw the sprite based on the frame number you want times the total number of tiles or pixels in the sprite.
So if you were making a 32x32 sprite in a bitmap mode and you drew frame number 6 it would start at something like:
sprite[frame * (32x32)]
And frame would increase every time to go to the next frame of animation.
I hope this kinda helps, but like I said I'm no expert. I'm working on something that will require animation, and this is the way I plan on doing it.
#68502 - Fenderocker - Wed Jan 25, 2006 4:03 am
thanks that helped a little bit........but I still need some information on how to code it....
#68802 - Fenderocker - Thu Jan 26, 2006 9:14 pm
is there an easier way to make animated sprites than to make to draw frame one then draw frame two ect.... I think that that could take a whole lot of code.....
#68862 - Fenderocker - Fri Jan 27, 2006 3:08 am
I'll have to try that....