12-19-2020, 10:27 PM
If you just want to use an object list as non-interactive "decorations", Tilengine can draw them by itself. To see a working example, chech the sample "forest" and its related assets:
https://github.com/megamarc/Tilengine/bl...s/Forest.c
The graphic objects must be stored bitmap-based Tiled .tsx file.
Check guide here:
http://www.tilengine.org/doc/md_layers.h...totoc_md31
https://github.com/megamarc/Tilengine/bl...s/Forest.c
The graphic objects must be stored bitmap-based Tiled .tsx file.
Check guide here:
http://www.tilengine.org/doc/md_layers.h...totoc_md31
- Load the object layer with TLN_LoadObjectList()
- Assign to a layer with TLN_SetLayerObjects()