Yes, you certainly can do that
The point here is to be able to paint everything, especially images, in such a way that everything drawn uses a 16-colour palette. The rectangles demo was just to verify that the shader works as expected, as noted up-thread.
Indexed 16 colour palette simulation?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Indexed 16 colour palette simulation?
I think you might be. The point of this was not to change the colour of squares per se, but change colours of bitmaps at the pixel level, on the fly. If you download my example earlier in the thread, you'll see what I mean. It has to work on bitmaps, in real time.
Re: Indexed 16 colour palette simulation?
Nice idea, pgimeno!
I'd add that the idea comes right from Lua table hashes.
I'll try to alter the idea to keep 99% of colours unchanged.
The palettes sets should be present at the same spritesheet.
I'd add that the idea comes right from Lua table hashes.
I'll try to alter the idea to keep 99% of colours unchanged.
The palettes sets should be present at the same spritesheet.
Our LÖVE Gamedev blog Zabuyaki (an open source retro beat 'em up game). Twitter: @Zabuyaki.
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
Re: Indexed 16 colour palette simulation?
Yeah he did an awesome job. It's customised to my specific requirement of having a fixed palette. I understand that other people will want greater flexibility with the palette but it shouldn't be too hard to adjust it to suit. The basic concept is solid.
Re: Indexed 16 colour palette simulation?
The basic concept coMes from ancient times...
It comes from images with some palette.
In Zabuyaki we basically have many INDEXED palettes per every character spritresheet.
I do not like this idea in context of our project.
It suits to Pico-8 alike stuff to rise the limits. I love it in such case.
It comes from images with some palette.
In Zabuyaki we basically have many INDEXED palettes per every character spritresheet.
I do not like this idea in context of our project.
It suits to Pico-8 alike stuff to rise the limits. I love it in such case.
Our LÖVE Gamedev blog Zabuyaki (an open source retro beat 'em up game). Twitter: @Zabuyaki.
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
Who is online
Users browsing this forum: Bing [Bot] and 3 guests