grab a vertical animation strip with GrabImage
Monkey Forums/Monkey Programming/grab a vertical animation strip with GrabImage
| ||
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. |
| ||
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. |
| ||
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. |
| ||
I see, there's never an easy way :) |