Re: Many Tilesheets vs Many Bitmaps

The most straightforward way to use tilesheets would probably be nme.display.Tilesheet, combined with drawTiles. You can cram a lot of graphics into a single Tilesheet, define the tiles, then draw all the ones you need in one render call. It's generall…

Viewing 1 to 1 (1 Total)
Re: Many Tilesheets vs Many Bitmaps

singmajesty

singmajesty
Total Posts: 2139
Joined: August 25, 2011

The most straightforward way to use tilesheets would probably be nme.display.Tilesheet, combined with drawTiles.

You can cram a lot of graphics into a single Tilesheet, define the tiles, then draw all the ones you need in one render call. It's generally the fastest render method in NME, because its able to do them all in one batch render call.

Otherwise, using multiple Bitmaps is not a bad approach. That's what I tend to use, since it is so easy to implement

Posted on March 21, 2012 at 2:13 PM