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 60, Upvotes 9  
Jnksg Blog
New games every week!
Site credits : Jayenkai put all his heart and soul into everything you can see on this site.
(c) Jayenkai 2023 and onwards, RSS feed

Blog - Palettes - AGameAWeek