Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Palette attribute per tile
#11
You should modify the loader in LoadTilemap.c to load a custom property from Tiled called "palette" for example. Use this property to set an integer value with the palette index, and store this value In the corresponding bits in Tile structure. No need to create additional layers.
Reply


Messages In This Thread
Palette attribute per tile - by System64 - 08-08-2022, 05:40 PM
RE: Palette attribute per tile - by megamarc - 08-09-2022, 01:18 AM
RE: Palette attribute per tile - by System64 - 08-09-2022, 01:51 AM
RE: Palette attribute per tile - by megamarc - 08-09-2022, 02:52 PM
RE: Palette attribute per tile - by System64 - 08-09-2022, 08:50 PM
RE: Palette attribute per tile - by megamarc - 08-10-2022, 03:28 PM
RE: Palette attribute per tile - by System64 - 08-10-2022, 05:02 PM
RE: Palette attribute per tile - by megamarc - 08-10-2022, 07:54 PM
RE: Palette attribute per tile - by System64 - 08-10-2022, 08:52 PM
RE: Palette attribute per tile - by System64 - 08-11-2022, 06:22 AM
RE: Palette attribute per tile - by megamarc - 08-11-2022, 04:11 PM
RE: Palette attribute per tile - by System64 - 08-11-2022, 04:40 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)