Is there any way to index a single frame in an animation strip?
Given this:
Global img:TImage = LoadAnimImage("cells.png", 32, 32, 0, 8)
How would I grab the third cell, for instance, and hand it over to another TImage pointer?
ie: Local img3:TImage = img[2]
Obviously the above doesn't work but it shows what I'm trying to achieve.
The DrawImage() function does exactly this internally so there must be a way.
Given this:
Global img:TImage = LoadAnimImage("cells.png", 32, 32, 0, 8)
How would I grab the third cell, for instance, and hand it over to another TImage pointer?
ie: Local img3:TImage = img[2]
Obviously the above doesn't work but it shows what I'm trying to achieve.
The DrawImage() function does exactly this internally so there must be a way.