08-17-2023, 03:41 PM
Hi,
I can't reproduce the issue. Using your modified tileset and writing the following queries:
Produces the expected output:
I can't reproduce the issue. Using your modified tileset and writing the following queries:
Code:
TLN_TileInfo tile_info = {0};
TLN_GetLayerTile (LAYER_FOREGROUND, 10*16,12*16, &tile_info);
printf("tile_info.type=%d\n", tile_info.type);
TLN_GetLayerTile (LAYER_FOREGROUND, 11*16,12*16, &tile_info);
printf("tile_info.type=%d\n", tile_info.type);
TLN_GetLayerTile (LAYER_FOREGROUND, 12*16,12*16, &tile_info);
printf("tile_info.type=%d\n", tile_info.type);
Produces the expected output:
Code:
Tilengine v2.15.1 64-bit release built Apr 23 2023 19:27:20
tile_info.type=2
tile_info.type=1
tile_info.type=1