Log In  
Follow
Xderial

21 y/o NEET and self learned hobbyist programmer.


Cart #38614 | 2017-03-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
15

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. [b]Not to mention that you would need to label your games with a seizure warning.

[ Continue Reading.. ]

15
25 comments



Cart #38026 | 2017-03-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7

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.

7
0 comments



Cart #38028 | 2017-03-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
18

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
[hidden]
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.

[ Continue Reading.. ]

18
15 comments