Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remove tile from tilemap
#5
Thanks! You need to define empty tile before setting it and use
Code:
Tile tile={0};
TLN_SetTilemapTile(foreground_tilemap,tileinfo.row,tileinfo.col,&tile);
instead of
Code:
TLN_SetTilemapTile(foreground_tilemap,tileinfo.row,tileinfo.col,NULL);
Reply


Messages In This Thread
Remove tile from tilemap - by mycats - 05-13-2020, 08:48 PM
RE: Remove tile from tilemap - by megamarc - 05-13-2020, 09:14 PM
RE: Remove tile from tilemap - by mycats - 05-14-2020, 02:24 AM
RE: Remove tile from tilemap - by megamarc - 05-14-2020, 04:01 AM
RE: Remove tile from tilemap - by mycats - 05-14-2020, 05:30 PM
RE: Remove tile from tilemap - by megamarc - 05-14-2020, 11:52 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)