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 146, Upvotes 15  
Jnksg Blog
New games every week!
Site credits : Jayenkai, one crazy fool who has far too much time on his hands.
(c) Jayenkai 2023 and onwards, RSS feed 81

Blog - Palettes - AGameAWeek