frame argument

BlitzMax Forums/BlitzMax Beginners Area/frame argument

Josepho(Posted 2006) [#1]
I would like to know how is used the argument frame on the drawimage function

Can anybody help me?


H&K(Posted 2006) [#2]
Im with you on this. Ive just only ever missed it out.


assari(Posted 2006) [#3]
Take a look at this tutorial
http://www.2dgamecreators.com/tutorials/gameprogramming/basics/F7_Adding_Explosion.html
You may want to start from the beginning
http://www.blitzmax.com/Community/posts.php?topic=59509


Grey Alien(Posted 2006) [#4]
First off you have to have used LoadAnimImage to load in a strip of frames. Then when drawing all you do is supply a frame argument of 1 or greater and that frame will be drawn ... easy. The harder bit is making the animation play at the speed you want it to.


Josepho(Posted 2006) [#5]
Thank you Grey Alien