I'm working on a Lua extension to TexturePack which will make frame-by-frame animations easier.
I was wondering if anyone else has already done something like this, and can share ideas?
My approach is to store all TextureRegions, create one Bitmap and then use Bitmap:setTextureRegion() when needed. Then I manually step each animation sprite.
Comments
http://docs.giderosmobile.com/reference/gideros/MovieClip#MovieClip
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Likes: Apollo14
In my recent project I'm using this code to change color of a ball. Is it a right practice to work with one MovieClip instead of setting one sprite invisible, the other one visible, or removing one from stage, then adding the other, etc.?
"What one programmer can do in one month, two programmers can do in two months." - Fred Brooks
“The more you do coding stuff, the better you get at it.” - Aristotle (322 BC)
https://deluxepixel.com
@SinisterSoft do you have a class for this, or how do you step frame by frame animations?
Likes: totebo, Apollo14
https://deluxepixel.com
Likes: SinisterSoft
Likes: vitalitymobile, MoKaLux
Likes: totebo, MoKaLux