Tilengine 2.9.4 - improved layer queries


This release fixes an issue unforeseen with the introduction of automated world loading with TLN_LoadWorld(): the ability to retrieve layer type and active assets after loading. Several TLN_GetLayerXXX() functions have been added to retrieve various layer-related data that couldn't been previously queried at runtime.

In addition to this, there's a new sample called QueryLayer.c that showcases this new functionality about retrieving useful data on layers automatically set up with TLN_LoadWorld()

https://github.com/megamarc/Tilengine/blob/maintenance_2.9/samples/QueryLayer.c

Files

Linux ARMv7l (Raspberry Pi, BeagleBone...) 421 kB
Nov 23, 2021
Linux Desktop 32-bit 440 kB
Nov 23, 2021
Linux Desktop 64-bit 433 kB
Nov 23, 2021
Windows 32-bit 520 kB
Nov 23, 2021
Windows 64-bit 539 kB
Nov 23, 2021

Get Tilengine

Buy Now$5.00 USD or more

Comments

Log in with itch.io to leave a comment.

I tried compiling the QueryLayer sample and when I opened the .exe it closes right away. I'm able to compile all the other samples just fine, and the latest version of Tilengine is installed. Please help.

querylayer sample is a console application that outputs text information about loaded layers. It doesn't generate any graphic window. To see the output, run it manually from a command-line terminal instead of double-clicking the icon.