|
Post by spacecat on Apr 12, 2011 19:03:01 GMT -5
Hello.
I'm trying to make a small, sidescrolling, rpg with B4G, and I was wondering how you load frames for an animation as individual images rather than strips?
I also was wondering how to mask the color white in my game, or just make a transparent background.
Thank you very much!
|
|
|
Post by matthew on Apr 12, 2011 20:16:19 GMT -5
Well the reason why Image Strips exist in Basic4Gl is because it's more convenient than having to load the frames individually. If you do want to do it the other way you'll need to create an array & load each texture using LoadTex into a different element of it. As for making a sprite mask you can use the SetTexTransparentCol command. If you look in the Sprite Library Guide you'll find examples to help you.
|
|