lil springy thing i made in like 30 mins lol
\/v latest release
left and right to cycle colors, up and down to change brush size
elements:
1 - smoke, floats upward and disipates
5 - gunpowder, a powder that explodes upon contact with fire
8 - fire, burns and emits smoke
9 - fuse, when lit, fire travels along it
10 - sand, an inert powdery substance
12 - water, a liquid
14 - acid, a liquid that erodes other substances, turning it into more of itself
i've implimented a new method of updating pixels, this has some upsides and downsides. One main thing right now is that liquids (water and acid) arent working quite how they should
feel free to make your own elements too! i've tried to make it pretty modular.
to add a new rule to a particle simply make a new item in sands
like this:
sands[color]=function(x,y,c) -- your code here end |
for example. lets' make a pebble. All this pebble does is fall straight down. for the pebble, we'll go with color 5 (gray).
each cell is a pixel on the screen, so in order to check if there's anything below it, you pget the pixel y+1 of it:
if pget(x,y+1) then -- move cell end |
how do you move a cell? simple, you fake it! You just clear the old cell's position, and place a new cell where the new cell posiiton is!
if pget(x,y+1) then pset(x,y,0) -- clear old position pset(x,y+1,c) -- place in new position end |
\/v latest release
little physics thingie
c/[o] to jump
left, right to move left and right
A simple physics thingie i whipped up last night. It's nowhere near done but i hope to work on it more. keep in mind that it's pretty bashed together atm and really just a proof of concept.
this system atm just uses regular aabb collision aswell as using the tilemap
I know physics in pico has been done manymany times before but i think i can learn from making this
Todo :
- pushable colliders
- better entity system
- composition based
Updates :
- v2
- better floorcheck function
- added basic moving platform mechanics
- v2.1
- fixed bug with moving platform -- nevermind its still buggy
0 player automata game
Becky's Revenge!
[128x16] | |
This was my submission to the GMTK 2023 gamejam! i think i did pretty well in the alotted time!
[8x8] | |
Making this has been very fun! i should take part in more jams. Being able to code for a few days and not worry about coding things right or making everything neet is very freeing!