to make animation for gdl, just create a bitmap with all anim frame inside, first frame at left, last at right
you can include many anims in the bmp and, cut all anims on load
convert your bmp in .h or .gpg (or another format if you can load it) and put img data pointer, size, transp color, anim type, time, .. to load_anim function, that all.
awsome thanks but, could i have a code example of how i load the animation? i am going to use gdl for my first game (which might not get finished) in c++.
THANKS A LOT
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.