05-13-2020, 08:48 PM
Hi! I am trying to remove tile from tilemap (for ring collision) with this code:
But it gives Invalid Pallete reference when running SetLayer(). Any solution?
Code:
if(ring_found)
{
PlaySoundId(7);
TLN_SetTilemapTile(foreground_tilemap,tileinfo.row,tileinfo.col,TLN_Tile(0));
TLN_SetLayer(LAYER_FOREGROUND,NULL,foreground_tilemap);
rings++;
}