elsassph / nme-tilelayer

Lightweight wrapper over NME's powerful but lowlevel 'drawTiles', with bitmap-based fallback for Flash.
92 stars 11 forks source link

Multi SparrowTilesheet (s) ? #9

Closed FlashTang closed 11 years ago

FlashTang commented 11 years ago

Hi elsassph Is there a way to use more than 1 SparrowTilesheet in single TileLayer instead of create a new TileLayer ? (2048x2048 is full ,needs more textures )

Can you make a SuperTileLayer.hx in future version ?

since "multi TileLayers" are difficult to manage

and is there a way to use setChildIndex ?

Thank you very much

-Tang

elsassph commented 11 years ago

Multiple spritesheets aren't supported because it goes against the batching optimization that TileLayer abstracts.

Multiple spritesheets should be uses as multiple layers, like: background, level, objects, effects.

setChildIndex needs to be implemented.