Cart [#38409#] | Copy | Code | 2017-03-19 | Link
2

BIRDSTAR

A pico-8 commentary on climate change, futility and memory manipulation for the Linux Game Jam '17.

You can play it on itch.io here, or on github here with a plainer background. The source is freely available from github.

This cart was mostly just the result of me learning how to mess around with memcpy() -- it turns out that you can do some pretty fun stuff this way. The reflection at the bottom of the screen is created by grabbing part of the screen from memory and overwriting later addresses, in reverse row order. The 'ripple' is done by literally writing to addresses which are further ahead or slightly behind of the normal translation.

I wrapped this up as a very simple game, because I couldn't find an actual working example of a technique like this around the pico 8 community (though I found a couple of .gifs of other peoples' projects, so I knew it could be done). In the end I got a code snippet from the lexaloffle forums that I hacked a bit to do my thing:

 ```mirrorcpy(0,128-32*2+1.5*sin(tick/60),0,128-32+1.5*sin(tick/60),128,128-32+1.5*sin(tick/60)) [...] function mirrorcpy(sx,sy,dx,dy,w,h) if (sx+w>128) w=128-sx if (dx+w>128) w=128-dx if (sy+h>128) h=128-sy if (dy+h>128) h=128-dy w = w/2 sad = 0x6000+flr(sy)*64+sx/2 dad = 0x6000+127*64+dx/2 -- reflect for y=1,h do memcpy(dad,sad,w) sad+=64 dad-=64-sin((y)/8)*cos(tick/64) end end ```

I hope someone else finds this working example helpful!

This snippet was submitted to the Linux Game Jam 2017, mostly because it was totally made within the scope of the jam and I wanted to post it somewhere. Pico 8 is cross-platform and playable in several different ways, so maybe it will inspire some linux users to check out the other projects people have been making with it.

🍻 !

P#38410 2017-03-19 13:38

Cart [#32543#] | Copy | Code | 2016-11-16 | Link
2

This is the procedural constellation generator from WIZRND, amped up a bit. It's a little fun to flip through some of them, so I've released this standalone as a bonus for #PROCJAM for people who aren't good at being a slippery wizard. ;)

More of a curiosity than a game.

You can play this here: https://topphysicist.itch.io/starrnd

You can play WIZRND here: https://topphysicist.itch.io/wizrnd

Source code is here: https://github.com/mattleblanc/STARRND

Cheers!

P#32544 2016-11-16 02:39

Cart [#32461#] | Copy | Code | 2016-11-14 | Link
2

WIZRND, a pico-8 contribution to #ProcJam 2016 (https://itch.io/jam/procjam).

arrow keys to move

up to jump

down while standing to channel a shield

z to shoot lightning, x to shoot a magic missle

You can play it on itch.io here: https://topphysicist.itch.io/wizrnd
... or on github here: https://mattleblanc.github.io/WIZRND/

The main idea behind this project was to learn about developing for the PICO-8 platform -- although I have some programming experience, I've never made a game before. My goals were to simply make anything that was remotely playable, which actually didn't take that long.

Since I'm interested in procedural generation anyway and didn't have a lot of spare time to make a game in, contributing to #ProcJam was the perfect excuse for me to actually learn how PICO-8 works. Turns out, it's super fun and very straightforward.

The source code is freely available here: https://github.com/mattleblanc/WIZRND

P#32463 2016-11-14 09:10

:: More
About | Contact | Updates | Terms of Use
Follow Lexaloffle:
Generated 2017-05-22 21:28 | 0.252s | 1572k | Q:28