buck-dev [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=79256 springy <h1>lil springy thing i made in like 30 mins lol</h1> <p> <table><tr><td> <a href="/bbs/?pid=139578#p"> <img src="/bbs/thumbs/pico8_springy0_2-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=139578#p"> springy0_2</a><br><br> by <a href="/bbs/?uid=79256"> buck-dev</a> <br><br><br> <a href="/bbs/?pid=139578#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=55609 https://www.lexaloffle.com/bbs/?tid=55609 Wed, 03 Jan 2024 11:47:41 UTC sand engine <h1>\/v latest release</h1> <p> <table><tr><td> <a href="/bbs/?pid=138769#p"> <img src="/bbs/thumbs/pico8_sandenginev4-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=138769#p"> sandenginev4</a><br><br> by <a href="/bbs/?uid=79256"> buck-dev</a> <br><br><br> <a href="/bbs/?pid=138769#p"> [Click to Play]</a> </td></tr></table> </p> <p>left and right to cycle colors, up and down to change brush size</p> <p>elements:<br /> 1 - smoke, floats upward and disipates<br /> 5 - gunpowder, a powder that explodes upon contact with fire<br /> 8 - fire, burns and emits smoke<br /> 9 - fuse, when lit, fire travels along it<br /> 10 - sand, an inert powdery substance<br /> 12 - water, a liquid<br /> 14 - acid, a liquid that erodes other substances, turning it into more of itself</p> <p>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</p> <p>feel free to make your own elements too! i've tried to make it pretty modular.<br /> to add a new rule to a particle simply make a new item in <code>sands</code> like this:</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>sands[color]=function(x,y,c) -- your code here end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>for example. lets' make a pebble. All this pebble does is fall straight down. for the pebble, we'll go with color 5 (gray).<br /> 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:</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>if pget(x,y+1) then -- move cell end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>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!</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>if pget(x,y+1) then pset(x,y,0) -- clear old position pset(x,y+1,c) -- place in new position end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> https://www.lexaloffle.com/bbs/?tid=55348 https://www.lexaloffle.com/bbs/?tid=55348 Sat, 16 Dec 2023 14:41:00 UTC platformer collision wip <h2>\/v latest release</h2> <p> <table><tr><td> <a href="/bbs/?pid=138499#p"> <img src="/bbs/thumbs/pico8_capsule_v_2_1-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=138499#p"> capsule_v_2_1</a><br><br> by <a href="/bbs/?uid=79256"> buck-dev</a> <br><br><br> <a href="/bbs/?pid=138499#p"> [Click to Play]</a> </td></tr></table> </p> <h2>little physics thingie</h2> <p>c/[o] to jump<br /> left, right to move left and right</p> <p>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.</p> <p>this system atm just uses regular aabb collision aswell as using the tilemap</p> <p>I know physics in pico has been done manymany times before but i think i can learn from making this</p> <p>Todo :</p> <ul> <li>pushable colliders</li> <li>better entity system <ul> <li>composition based</li> </ul></li> </ul> <p>Updates :</p> <ul> <li>v2 <ul> <li>better floorcheck function</li> <li>added basic moving platform mechanics</li> </ul></li> <li>v2.1 <ul> <li>fixed bug with moving platform -- nevermind its still buggy</li> </ul></li> </ul> https://www.lexaloffle.com/bbs/?tid=55261 https://www.lexaloffle.com/bbs/?tid=55261 Sun, 10 Dec 2023 04:43:20 UTC 0 player automata game <h1>0 player automata game</h1> <p> <table><tr><td> <a href="/bbs/?pid=132567#p"> <img src="/bbs/thumbs/pico8_automata-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=132567#p"> automata</a><br><br> by <a href="/bbs/?uid=79256"> buck-dev</a> <br><br><br> <a href="/bbs/?pid=132567#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=53586 https://www.lexaloffle.com/bbs/?tid=53586 Sun, 30 Jul 2023 17:58:57 UTC beckys_revenge <h3>Becky's Revenge!</h3> <p> <table><tr><td width=512> <img src="https://www.lexaloffle.com/bbs/gfxc/79256_1.png" width=512 height=64> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_79256_1"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/79256_1.txt", function (retdata){ var el = document.getElementById("gfxcode_79256_1"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [128x16]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_79256_1" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:4pt;"></textarea> </td> </tr> </table> </p> <p> <table><tr><td> <a href="/bbs/?pid=131784#p"> <img src="/bbs/thumbs/pico8_beckys_revenge-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=131784#p"> beckys_revenge</a><br><br> by <a href="/bbs/?uid=79256"> buck-dev</a> <br><br><br> <a href="/bbs/?pid=131784#p"> [Click to Play]</a> </td></tr></table> </p> <p>This was my submission to the GMTK 2023 gamejam! i think i did pretty well in the alotted time! <table><tr><td width=32> <img src="https://www.lexaloffle.com/bbs/gfxc/79256_3.png" width=32 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_79256_3"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/79256_3.txt", function (retdata){ var el = document.getElementById("gfxcode_79256_3"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [8x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_79256_3" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> <br /> 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!</p> https://www.lexaloffle.com/bbs/?tid=53358 https://www.lexaloffle.com/bbs/?tid=53358 Sun, 09 Jul 2023 18:38:51 UTC