frame argument
BlitzMax Forums/BlitzMax Beginners Area/frame argument
| ||
I would like to know how is used the argument frame on the drawimage function Can anybody help me? |
| ||
Im with you on this. Ive just only ever missed it out. |
| ||
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 |
| ||
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. |
| ||
Thank you Grey Alien |