No, the Pico 8 doesn't really have any secret colors, but by changing a pixel between two colors very fast, we can trick the eye into thinking that it is seeing another color.
Here is an approximation of how the effect should look on your screen:
Of course a lot of the colors wouldn't work, because of flicker.
This requires 60 fps mode and works best when not run in a browser. Additionally, since (i suspect) the frame timing varies a little, the effect may appear to stutter from time to time on 60hz monitors. Additionally additionally, only some color combinations work (the luminance of the two colors have to be close to each other) and even then the color can vary a little between monitors. Not to mention that you would need to label your games with a seizure warning.
Press [Z] to start distortion, [X] to increase distortion amount.
A simple screen distortion effect using memcpy, using only 63 tokens.
Easy install, just copy the line below:
function distort(a)a=min(a,64)for y=0,127 do local r=flr(-a+rnd(a*2)+0.5)local s,e,l,m=max(-r,0),max(r,0),64-abs(r),24576+y*64memcpy(m+e,m+s,l)end end
(replace amount with desired distortion amount) to the bottom of your _draw loop in an if condition to prevent it from being always on. For best effect, use a timer to turn it on and off.
Open the cartridge in editor for more details.
New in beta 3: Distortion screen effect when hit!
Managed to get some extra cart space by converting from 2 spaces to tabs, and then used the new found space for this new useless effect. It looks cool though! (A demo cart for the distortion effect can be found here.)
There is still some things i a unhappy about, such as chains and multi kills not being visually represented, but i will have to carve out a good chunk of fat from the game in order to fit it in. I'll get to that eventually.
My first ever Pico 8 game.
I've been staring at this thing for so long, that i no longer have any idea whether it's actually any good or not. Regardless, it's done now, so i might as well upload it.
===== Changelog / Previous versions =====
b3 :: 2017-03-04
b2 :: 2017-02-24
added chains and multi kills ((10 + chain) * multikill)
green points are now affected by chains (100 + chain * 10)
increased green point suction radius from 32 to 40
updated game over screen to show chains and multi kills
removed fuel meter from UI
removed some unneeded code
fixed the weird ampersand in the logo, and updated label image
made enemies ever so slightly slower
now starts with 3 enemies instead of 2
b1 :: 2017-02-20
a1-a8 :: 2017-02-07