Adding animation frames
BlitzMax Forums/BlitzMax Programming/Adding animation frames
| ||
How would I go about adding frames to an existing animation? For example, suppose I had an animated TImage:Local Animation:TImage = LoadAnimImage("MyAnim.png",64,64,0,8) '8 frame animation And I wanted to add another TImage as an aditional frame to the animation: Local NewFrame:TImage = LoadImage("NewFrame.png") 'Now I want to add NewFrame to Animation as 9th frame |
| ||
Not extensively tested so feedback welcome |
| ||
Thanks tonyg. I think that's exactly what I'm looking for. I assume this is cross-platform as well. |
| ||
It's standard Bmx code so should be. |