Posted: 25th Jun 2007 18:25
I want to make an animated sprite from an image, I can't feed it a filename because the image is being made from a memblock.

I am using the animated sprite command because you can easily set the current frame but if theres a hidden command to add frames to a sprite after creation or something else I don't know about I can easily use that.

I would like to avoid drawing my sprite to a bitmap and cutting it up into the frames manually if posible because that is a bit slow.

Thanks
Posted: 25th Jun 2007 18:28
So instead of making one image from the memblock file and then turning it into an animated sprite sheet, why don't you make each animation frame into a seperate image directly from the memblock?
Posted: 25th Jun 2007 20:46
Thanks for the idea scraggle but making the images separate will require a huge overhaul of my current system and slow it down.

I was contemplating that but I have around >120 images all quite large so doing that will take a long time. Want to minimise load times....

I can just manually chop the images up with a bitmap if all else fails but even that method will be quite slow.