Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Palette attribute per tile
#4
Hi again,

The renderer should know which palette to use for each tile based on the palette index bits, in the same way it knows what graphic to draw based on its tile index bits. To keep backwards compatibility, an additional bit may be set to tell if the palette index bits are valid, or it should use the default layer palette instead (default behavior).

The SDL library is unrelated to the renderer and its palette management. It is used to create a window, process input and present the rendered framebuffer.

Regards,
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: 3 Guest(s)