- Joined
- Sep 9, 2017
- Messages
- 451
its about time i started converting all my mojo1 libs to mojo2 and I cant get my head round 1 thing.
in mojo 1 we can load image frames from a sprite sheet. This sprite sheet could have 32 images on (8 rows of 4 columns)
In, mojo2, it looks like all images have to be 1 row when using LoadFrames. Obv this could mean that image width limits can be reached very quickly if everything is on 1 row.
The other way would be to load 4 columns of images in and then uses DrawRect to draw a subset of that imahe (ie 8 rows).
Or do I just load one image in and then use DrawRect to select the image I want?
Or am i missing something really obvious?
Rich
in mojo 1 we can load image frames from a sprite sheet. This sprite sheet could have 32 images on (8 rows of 4 columns)
In, mojo2, it looks like all images have to be 1 row when using LoadFrames. Obv this could mean that image width limits can be reached very quickly if everything is on 1 row.
The other way would be to load 4 columns of images in and then uses DrawRect to draw a subset of that imahe (ie 8 rows).
Or do I just load one image in and then use DrawRect to select the image I want?
Or am i missing something really obvious?
Rich