Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release 2.8.0 - revamped animation engine
#8
Release 2.8.4 with following improvements:
  • Deprecates old TLN_SetLayer() that required passing a NULL tileset, and replaces with new TLN_SetLayerTilemap() that just requires the tilemap
  • TLN_SetLoadPath() not needed anymore: chain loading of resources being loaded from subdirectories (.tmx -> .tsx -> png)
  • TLN_DrawFrame(): frame parameter can be always 0, in that case it auto-increments internally. Application doesn't need to keep track of frames just to make the animation engine work.
  • Updates many samples to use current features, making them easier to follow
So this now works:


Code:
TLN_Tilemap tilemap = TLN_LoadTilemap("path/to/asset/tilemap.tmx", "layer");
TLN_SetLayerTilemap(0, tilemap);


Messages In This Thread
RE: Release 2.8.0 - revamped animation engine - by megamarc - 05-13-2020, 04:26 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)