grab a vertical animation strip with GrabImage

Monkey Forums/Monkey Programming/grab a vertical animation strip with GrabImage

lom(Posted 2015) [#1]
For example, I have a 10 frames of animation with frame size 256x32. Obviously I need to put those frames in a vertical strip. I also want to put this animation strip in a spritesheet, but how can I load it into the game? For some reason GrabImage can grab obly horizontal strips.


Jesse(Posted 2015) [#2]
yes. It's limited that way. you can put the images in a sprite sheet and grab them with GrabImage one by one and put them in an array. that way you'll get complete flexibility.


Gerry Quinn(Posted 2015) [#3]
The 'frames' ability in Image is an option that may be useful in some cases, but if you are doing anything complicated, you should roll it your own way. Basically, unless it suits what you are doing, ignore it.


lom(Posted 2015) [#4]
I see, there's never an easy way :)