PicoCoder [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=82039 Rock Paper Scissors <p> <table><tr><td> <a href="/bbs/?pid=141178#p"> <img src="/bbs/thumbs/pico8_rockpaperscissors-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=141178#p"> rockpaperscissors</a><br><br> by <a href="/bbs/?uid=82039"> PicoCoder</a> <br><br><br> <a href="/bbs/?pid=141178#p"> [Click to Play]</a> </td></tr></table> <br /> This is a simple rock paper scissors simulation inspired by <a href="https://www.youtube.com/watch?v=plOQ7n8VXNw">this video</a> and others. When units encounter each other, the winning type &quot;spreads&quot; to the losing unit. Use the X or O buttons to restart.</p> https://www.lexaloffle.com/bbs/?tid=140110 https://www.lexaloffle.com/bbs/?tid=140110 Mon, 05 Feb 2024 21:46:25 UTC Nim <p> <table><tr><td> <a href="/bbs/?pid=136286#p"> <img src="/bbs/thumbs/pico8_nimgame-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=136286#p"> Nim 1.2</a><br><br> by <a href="/bbs/?uid=82039"> PicoCoder</a> <br><br><br> <a href="/bbs/?pid=136286#p"> [Click to Play]</a> </td></tr></table> <br /> This is a simple PICO-8 implementation of the classic game Nim.</p> <h2>Controls</h2> <p>On your first turn, press the O button to let the computer go first.<br /> Use the arrow keys to select matchsticks and O to remove them.</p> <h2>Rules</h2> <p>On your turn, remove any number of matchsticks from one row. The player who removes the last matchstick loses.</p> <h2>Changelog</h2> <p>1.1:</p> <ul> <li>Fixed bug where AI would skip turn in a specific losing position</li> <li>Added delay to AI's move for clarity</li> </ul> <p>1.2:</p> <ul> <li>Fixed bug where game would freeze at victory screen</li> </ul> https://www.lexaloffle.com/bbs/?tid=54718 https://www.lexaloffle.com/bbs/?tid=54718 Mon, 23 Oct 2023 22:59:00 UTC Walled In! <h1>Jam Version</h1> <p> <table><tr><td> <a href="/bbs/?pid=135216#p"> <img src="/bbs/thumbs/pico8_walled_in-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=135216#p"> walled_in</a><br><br> by <a href="/bbs/?uid=82039"> PicoCoder</a> <br><br><br> <a href="/bbs/?pid=135216#p"> [Click to Play]</a> </td></tr></table> </p> <h1>Post Jam Version</h1> <p> <table><tr><td> <a href="/bbs/?pid=135216#p"> <img src="/bbs/thumbs/pico8_walled_in_post-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=135216#p"> walled_in_post</a><br><br> by <a href="/bbs/?uid=82039"> PicoCoder</a> <br><br><br> <a href="/bbs/?pid=135216#p"> [Click to Play]</a> </td></tr></table> <br /> <img style="margin-bottom:16px" border=0 src="/media/82039/walledingif1.gif" alt="" /><img style="margin-bottom:16px" border=0 src="/media/82039/walledingif2.gif" alt="" /></p> <h2>Controls</h2> <p>Use the arrow keys or ESDF to move.<br /> Aim with your mouse and click to shoot.</p> <h2>How to Play</h2> <p>Shoot enemies to increase your combo. As your combo goes up, your space will shrink, and more enemies will spawn. Your bullets can't go outside of your square, so enemies will get dangerously close to you before you can shoot them. You have 3 lives to get the most points you can, so go for the high score, and don't get walled in!</p> <h2>Enemy Types</h2> <p> <table><tr><td width=32> <img src="https://www.lexaloffle.com/bbs/gfxc/82039_1.png" width=32 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_82039_1"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/82039_1.txt", function (retdata){ var el = document.getElementById("gfxcode_82039_1"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [8x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_82039_1" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> <br /> This basic enemy can only go toward you. It's easy to take care of on its own, but it can be devastating as a crowd.<br /> <table><tr><td width=32> <img src="https://www.lexaloffle.com/bbs/gfxc/82039_2.png" width=32 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_82039_2"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/82039_2.txt", function (retdata){ var el = document.getElementById("gfxcode_82039_2"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [8x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_82039_2" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> <br /> This enemy is the hardest to deal with. It moves in a straight line and shoots fast-moving bullets that are tricky to dodge. If you manage to shoot it, you'll get extra points.<br /> <table><tr><td width=64> <img src="https://www.lexaloffle.com/bbs/gfxc/82039_3.png" width=64 height=64> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_82039_3"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/82039_3.txt", function (retdata){ var el = document.getElementById("gfxcode_82039_3"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [16x16]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_82039_3" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> <br /> This enemy is tougher than the others, and takes three hits to defeat. Once defeated, the borders will recede, making long combos easier.</p> <h2>Credits</h2> <p>Made in 48 hours for Ludum Dare 54 with the theme &quot;Limited Space&quot;<br /> All programming, graphics, and audio by PicoCoder</p> <h2>Updates</h2> <p>Post jam version:</p> <ul> <li>Saves high score with CARTDATA()</li> <li>Hold left mouse button to autofire</li> </ul> <h2>Side Note</h2> <p>I'd be impressed if anyone can beat my high score of 6767 ;)</p> <img style="margin-bottom:16px" border=0 src="/media/82039/walledinpic2.png" alt="" /> https://www.lexaloffle.com/bbs/?tid=54405 https://www.lexaloffle.com/bbs/?tid=54405 Sun, 01 Oct 2023 16:00:48 UTC Planets 1.1 <p> <table><tr><td> <a href="/bbs/?pid=134611#p"> <img src="/bbs/thumbs/pico8_planetsgravitysim-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=134611#p"> Planets 1.1</a><br><br> by <a href="/bbs/?uid=82039"> PicoCoder</a> <br><br><br> <a href="/bbs/?pid=134611#p"> [Click to Play]</a> </td></tr></table> </p> <img style="margin-bottom:16px" border=0 src="/media/82039/planetsgif1.gif" alt="" /> <img style="margin-bottom:16px" border=0 src="/media/82039/planetsgif2.gif" alt="" /> <h2>Description</h2> <p>This cartridge simulates orbital mechanics using Newton's law of universal gravitation. It is recommended to experiment with the settings, which can be found in the code. The planets are generated randomly, so try reloading the cart to find interesting combinations.</p> <h2>Camera Controls</h2> <p>By default, the camera will follow the average of the planets' positions, giving you a view of all the planets. Use the Z key to lock on to a specific planet, and keep pressing Z to cycle through different planets. Pressing the X key will let you move the camera manually with the arrows or WASD, and pressing it again will go back to the automatic camera.</p> <h2>Credits</h2> <p>Programming by PicoCoder<br /> <a href="https://www.lexaloffle.com/bbs/?tid=49827">Distance formula for long distances</a> by TetraPengwin<br /> Inspired by Sebastian Lague's <a href="https://www.youtube.com/watch?v=7axImc1sxa0">video</a><br /> Law of universal gravitation by Isaac Newton</p> <h2>Updates</h2> <p>1.1:</p> <ul> <li>Added a path tracer (off by default)</li> <li>Added an option to disable the grid</li> </ul> <img style="margin-bottom:16px" border=0 src="/media/82039/planetsgif3.gif" alt="" /> <img style="margin-bottom:16px" border=0 src="/media/82039/planetsgif4.gif" alt="" /> https://www.lexaloffle.com/bbs/?tid=54199 https://www.lexaloffle.com/bbs/?tid=54199 Tue, 19 Sep 2023 21:55:48 UTC