darkerbit [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=50128 PICOCHIP <p> <table><tr><td> <a href="/bbs/?pid=127610#p"> <img src="/bbs/thumbs/pico8_picochip-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=127610#p"> PICOCHIP</a><br><br> by <a href="/bbs/?uid=50128"> darkerbit</a> <br><br><br> <a href="/bbs/?pid=127610#p"> [Click to Play]</a> </td></tr></table> </p> <p> <table><tr><td width=256> <img src="https://www.lexaloffle.com/bbs/gfxc/50128_0.png" width=256 height=32> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_50128_0"); if (el.style.display == "none") el.style.display = ""; else el.style.display = "none"; microAjax("https://www.lexaloffle.com/bbs/gfxc/50128_0.txt", function (retdata){ var el = document.getElementById("gfxcode_50128_0"); el.innerHTML = retdata; el.focus(); el.select(); } ); '> [64x8]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_50128_0" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </p> <p>A complete implementation of the <a href="https://en.wikipedia.org/wiki/CHIP-8">CHIP-8 Architecture</a> on PICO-8.</p> <p>The CHIP-8 architecture was designed to allow making simple video games portably, in the mid-1970s, and has since seen implementations on just about every platform known to man.</p> <p>Options available from the pause menu:</p> <ul> <li>Buttons fully rebindable to match standard PICO-8 controls, but can also be changed to Devkit mode to operate it with standard keyboard controls (&amp; mouse).</li> <li>Cycles per frame adjustable, CPU usage becomes visible if it gets too high so you know what the limits are.</li> </ul> <p>Comes with several demo cartridges from <a href="https://johnearnest.github.io/chip8Archive/">the CHIP-8 Archive</a>, but you can use any CHIP-8 cartridge with it by simply dragging it into an exported build (does not appear to work on the BBS, unfortunately)</p> <p>If you own a local copy of PICO-8, you can also use my debugging features by simply step debugging with <code>.</code> as usual.</p> <p>SCHIP and XO-CHIP support coming eventually. Maybe.</p> <p>Exported builds (click):</p> <ul> <li><a href="https://cdn.discordapp.com/attachments/968214756978728971/1089303759215153254/picochip_windows.zip">Windows</a></li> <li><a href="https://cdn.discordapp.com/attachments/968214756978728971/1089303758636322836/picochip_osx.zip">macOS</a></li> <li><a href="https://cdn.discordapp.com/attachments/968214756978728971/1089303758300794921/picochip_linux.zip">Linux</a></li> <li><a href="https://cdn.discordapp.com/attachments/968214756978728971/1089303758929932500/picochip_raspi.zip">Raspberry Pi</a></li> </ul> https://www.lexaloffle.com/bbs/?tid=52173 https://www.lexaloffle.com/bbs/?tid=52173 Sat, 25 Mar 2023 21:36:18 UTC Port of PICO-8 Celeste to Retro Gadgets <h1>Port of PICO-8 Celeste to Retro Gadgets</h1> <p>Retro Gadgets is a video game about building all sorts of retro-styled devices with all the clicky buttons and other goodies, and I noticed two things:</p> <ol> <li>The screens have a square aspect ratio</li> <li>The CPUs are programmed with Lua</li> </ol> <p>Commence bad idea.</p> <p>After a week or so of borderline masochism, I managed to port PICO-8 Celeste to Retro Gadgets using the original Lua code, spritesheets, music and sound data, along with writing some quick scripts to do syntax conversion from PICO-8 Lua to standard Lua, and to get the map and flag data out.</p> <p>The entire game is beatable from start to finish, and functions identically to the PICO-8 version apart from minor visual quirks.</p> <p>Retro Gadgets: <a href="https://store.steampowered.com/app/1730260/Retro_Gadgets/">https://store.steampowered.com/app/1730260/Retro_Gadgets/</a><br /> My Celeste gadget for Retro Gadgets: <a href="https://steamcommunity.com/sharedfiles/filedetails/?id=2899096562">https://steamcommunity.com/sharedfiles/filedetails/?id=2899096562</a></p> <p>Technical details:</p> <ul> <li>Partial reimplementation of the PICO-8 API (only the bare minimum Celeste requires)</li> <li>Some quick bodging was done to get around Retro Gadgets' lack of sprite flipping and palette swapping</li> <li>Every sound effect and music track was rendered to a wav file, which is why the workshop file is so large</li> </ul> <p>Pictures:</p> <p>Title screen</p> <img style="margin-bottom:16px" border=0 src="/media/50128/title.png" alt="" /> <p>First level</p> <img style="margin-bottom:16px" border=0 src="/media/50128/level1.png" alt="" /> <p>Front of board</p> <img style="margin-bottom:16px" border=0 src="/media/50128/front.png" alt="" /> <p>Back of board, showing the components</p> <img style="margin-bottom:16px" border=0 src="/media/50128/back.png" alt="" /> https://www.lexaloffle.com/bbs/?tid=50657 https://www.lexaloffle.com/bbs/?tid=50657 Wed, 14 Dec 2022 20:51:33 UTC