New games every week!
Palettes Blog
24th December 2018
Palettes are vaguely integrated into the engine.
For the meantime, the palette simply forces any colour drawing to be selected from within a selection of predetermined colours.

Due to the way JavaScript's canvas drawing works, the effect isn't 100%, with all manner of anti-aliasing getting in the way of things.
A better option would be to draw the spritesheet, then do a second pass, forcing each individual pixel to be from the chosen palette.

.. Another day, perhaps.



Meanwhile, I've also added Festive Lights, because it's Xmas!
Views 190, Upvotes 16  
Jnksg Blog
New games every week!
Site credits : Site built from the ground up, in php, using Programmer's Notepad 2, and a very bored Jayenkai.
(c) Jayenkai 2023 and onwards, RSS feed 5

Blog - Palettes - AGameAWeek