Log In  

Cart #bimofihipa-0 | 2022-04-02 | Code ▽ | Embed ▽ | No License
3

WARNING FLASHING IMAGES

I wanted to try out the new extended (32 color) low res palette mode.

Use left and right arrows to cycle image rendering methods.
(Some of these methods take a while to draw, especially with the extended "flicker palette"--it's a slow dither.)

Your mileage may vary with the flicker color modes. I think it's a nifty way to get more colors, but many people find it to be distracting / uncomfortable to look at.

Modes
1) Floyd Steinberg: Standard Palette
2) Floyd Steinberg: Optimized Palette (basically just swapped some greens and blues)
3) Low Res with all 32 colors at once!
4) Low Res with "flicker palette" built up from all 32 colors mixed (be patient)
5) Floyd Steinberg with "flicker palette" with standard colors (be patient)
6) Floyd Steinberg with "flicker palette" with optimized colors (be patient)

Notes
--Actual image data is stored as 4-bit RGB channels, with Red in the sprite sheet, Green in the music blocks, and Blue stored as a string. There is no reason for Pico8 to be able to store 4096 color images. But, if you ever want to, this is one way.
--The low res mode with 32 colors is interesting, but I don't think the extended palette colors complement the standard palette very well--definitely not enough to make up for the loss of resolution. Dithering with 16 colors looks better to me.

P#109561 2022-04-02 04:14

Framerate for 60 fps is also very unstable on desktop chrome web-player for me.
Actually looks pretty good on iphone/safari.

P#109563 2022-04-02 04:19

Hi @electricgryphon. I did this earlier so I know your frustration ... There is a secret to getting a perfect framerate with minimal flicker, however. :)

https://www.lexaloffle.com/bbs/?tid=45648

P#109564 2022-04-02 06:18

Hmmm... maybe doing checkerboard pattern is the way to go--it does prevent large blocks of flicker.

Dw817, did you do anything else to maintain frame rate?

(loaded yours on my local pico8 and still seeing some flashes...maybe smoother 60 fps is in the cards in the future.)

P#109585 2022-04-02 17:17

Yep, the checkerboard idea I did back then worked great, @electricgryphon.

I'm also taking advantage of a very strange feature I haven't seen anyone else using in Pico-8. I discovered it when trying to find if there was some way to really cut down on the flicker.

So I thought well, we have 30fps, 60fps. Is 120fps possible ? Yes and no. If you choose 120fps then the flicker goes away tremendously.

That is if in your Pico-8 configuration that you have this set:

-software_blit 0
-foreground_sleep_ms 0
P#109586 2022-04-02 17:54 ( Edited 2022-04-02 18:04)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2022-11-30 18:00:54 | 0.017s | Q:21