Log In  
5

Cart [#38614#] | Copy | Code | 2017-03-23 | Link
5

Heavily inspired by Aaron Bell's blog post.

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.

Technical Info:
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.

tech demo color
P#38615 2017-03-23 11:08

6

Cart [#38026#] | Copy | Code | 2017-03-04 | Link
6

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

And paste it in your project. Then add

distort(amount)

(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.

tech demo distortion screen effect
P#38027 2017-03-04 00:39

16

Cart [#38028#] | Copy | Code | 2017-03-04 | Link
16

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.

Original post


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


Added a distortion effect when hit by an enemy
Added distortion effect to gameover screen
Trimmed some chars

Cart [#38028#] | Copy | Code | 2017-03-04 | Link
16

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

Cart [#37791#] | Copy | Code | 2017-02-24 | Link
16

b1 :: 2017-02-20


Public release

Cart [#37635#] | Copy | Code | 2017-02-20 | Link
16

a1-a8 :: 2017-02-07


Not available

arcade infinite simple
P#37636 2017-02-20 09:13


:: More
X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2017-04-28 12:03 | 0.151s | 1835k | Q:38