choo-t [Lexaloffle Blog Feed] X-Ray using bitplane <p> <table><tr><td> <a href="/bbs/?pid=120376#p"> <img src="/bbs/thumbs/pico8_x_ray-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=120376#p"> x_ray</a><br><br> by <a href="/bbs/?uid=20526"> choo-t</a> <br><br><br> <a href="/bbs/?pid=120376#p"> [Click to Play]</a> </td></tr></table> </p> <p>A simple example of an x-ray effect using bitplane masking.</p> <img style="margin-bottom:16px" border=0 src="/media/20526/x-ray_0.gif" alt="" /> <p>Using bitplane have the advantage of having both values (skins and skeleton) in a single sprite, but you're quite limited in the number of available colors.</p> <h2>How it work :</h2> <p>There only one sprite in the sprite sheet, but as you can see, the palette have redundancy.</p> <img style="margin-bottom:16px" border=0 src="/media/20526/x-ray_0.png" alt="" /> <p>To be concise, by removing the first bitplane, we're essentially shifting all odd numbered colors to the even color right before them, so <em>color 1</em> become <em>color 0</em>, <em>color 3</em> become <em>color 2</em> and so on.</p> <img style="margin-bottom:16px" border=0 src="/media/20526/xray palette shifting.png" alt="" /> Wed, 09 Nov 2022 12:07:04 UTC Sudoku Solver <p> <table><tr><td> <a href="/bbs/?pid=120113#p"> <img src="/bbs/thumbs/pico8_sudoku_solver-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=120113#p"> sudoku_solver</a><br><br> by <a href="/bbs/?uid=20526"> choo-t</a> <br><br><br> <a href="/bbs/?pid=120113#p"> [Click to Play]</a> </td></tr></table> </p> <p>A quick and dirty Sudoku solver, may or may not work.</p> <p>Not sure if there any use-case for such a tool on PICO-8, but here it is.</p> <p>⚠️ Looking a the source code may or may not induce permanent blindness ⚠️</p> <h2>Controls :</h2> <p>⬆️⬇️⬅️➡️ : move the cursor.<br /> ❎ : select a cell/value.<br /> [1️-9️] : fill cell with the corresponding digit if possible.<br /> Pause : access menu.</p> <h2>changelog</h2> <p>2022-11-06:</p> <ul> <li>added a <em>solve cell</em> option.</li> </ul> Fri, 04 Nov 2022 14:21:07 UTC Scraps Logic <p> <table><tr><td> <a href="/bbs/?pid=119266#p"> <img src="/bbs/thumbs/pico8_scraps_logic-8.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=119266#p"> scraps_logic</a><br><br> by <a href="/bbs/?uid=20526"> choo-t</a> <br><br><br> <a href="/bbs/?pid=119266#p"> [Click to Play]</a> </td></tr></table> </p> <h1>Scraps Logic</h1> <p>Use logic circuits to resolve open-ended puzzle in a post-capitalist society.</p> <h2>How to play :</h2> <p>⬆️⬇️⬅️➡️ or mouse to move the cursor.<br /> ❎ or left click to grab or drop a module or a cable:</p> <img style="margin-bottom:16px" border=0 src="/media/20526/grab-drop.gif" alt="" /> <p>❎ or left click on a socket to plug or unplug a cable :</p> <img style="margin-bottom:16px" border=0 src="/media/20526/cable.gif" alt="" /> <p>🅾️ or right click to remove the module or cable currently held :</p> <img style="margin-bottom:16px" border=0 src="/media/20526/delete.gif" alt="" /> <p>You can access the tutorial at anytime during a puzzle using the pause menu.</p> <h2>Truth Table and Cheat Sheet :</h2> <img style="margin-bottom:16px" border=0 src="/media/20526/truth_tables.png" alt="" /> <p><strong>AND</strong> : Output 1 if both inputs are 1.<br /> <strong>OR</strong> : Output 1 if any input is 1.<br /> <strong>XOR</strong> : Output 1 if both inputs are different.<br /> <strong>SIGN SPLT</strong> : Split the signal in two.<br /> <strong>NOT</strong> : Invert the signal.<br /> <strong>MUX</strong> : if S is 0, output A, else output B.<br /> <strong>DMUX</strong>: if S is 0, Output A to Y, else, output A to Z. </p> <h2>Postmortem :</h2> <img style="margin-bottom:16px" border=0 src="/media/20526/rope_1.gif" alt="" /> <p>After making a <a href="">code snippet</a> for hanging cables using B&eacute;zier curve, I wanted to make a game around it and started to draw a mockup on The Gimp to see it how it would fit on the PICO-8 :</p> <img style="margin-bottom:16px" border=0 src="/media/20526/mockup.png" alt="" /> <p>and started implementing a crude prototype :</p> <img style="margin-bottom:16px" border=0 src="/media/20526/scraps_logic_1.gif" alt="" /> <p>and slowly modeled it to look like the mockup :</p> <img style="margin-bottom:16px" border=0 src="/media/20526/scraps_logic_2.gif" alt="" /> <img style="margin-bottom:16px" border=0 src="/media/20526/scraps_logic_3.gif" alt="" /> <p>I wanted to tie the puzzles together with a small story, using a short introductive text for each one of them, with the whole text contained in a single screen (&plusmn; 320 chars).<br /> In retrospect, this self-imposed limitation was too constraining, making really hard to fit both the puzzle explanation and the narrative justification inside such a small space.</p> <p>It's also the first project where I hit the token limit, and it was mostly due to lack of planning and the code evolving into a weird mess, but it's a valuable lesson for next time.</p> <p>Wanted to keep the game simple, I didn't add flip-flop, but I will add them if I ever do a sequel, they open-up so much possibility for interesting puzzle that I kinda regret not adding them here.</p> <p>Thanks to A Mysterious Playtester, Eeooty, Heracleum, Merwok, Minerobber, Ohhcurtains, SoundsDotZip (and his friend, &quot;A Windows Boi&quot;), SquidLight and Thomas Fabretti for their time and valuable feedbacks during playtesting.</p> <h2>changelog</h2> <p>2022-11-24:</p> <ul> <li>updated best scores for lvl 6 and 9</li> </ul> <p>2022-11-02:</p> <ul> <li>added [?] button to access in-game truth tables</li> <li>updated best score entry for lvl 7</li> <li>Mouse support now using PICO-8 own button emulation</li> </ul> <p>2022-10-29:</p> <ul> <li>prevented any circuit-board input to be empty due to randomness</li> <li>switched lore to multi-line strings (more readable source code)</li> <li>added a finial to credits' flag</li> <li>added error in case player try to plug an input to an input or and output to an output</li> </ul> <p>2022-10-28:</p> <ul> <li>added Konami code support</li> <li>saved tokens on welcome screen</li> <li>added average design score values</li> <li>updated best design score values</li> </ul> <p>2022-10-27:</p> <ul> <li>correction to best design values</li> </ul> <p>2022-10-27:</p> <ul> <li>gold &amp; release</li> </ul> Thu, 27 Oct 2022 13:19:13 UTC Matrix, 161 characters <p> <table><tr><td> <a href="/bbs/?pid=117869#p"> <img src="/bbs/thumbs/pico8_matrix_tweet-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=117869#p"> matrix_tweet</a><br><br> by <a href="/bbs/?uid=20526"> choo-t</a> <br><br><br> <a href="/bbs/?pid=117869#p"> [Click to Play]</a> </td></tr></table> </p> <p>Matrix code rain, fit in 𝟸̶𝟺̶𝟼̶ 161 characters.</p> <h3>changelog</h3> <p>2022-09-24 : Thanks to <a href=""> @shy</a> help and insight on P8SCII Control Codes, managed to squeeze it in 161 characters (174 for tweeter). </p> Fri, 23 Sep 2022 23:02:18 UTC Matrix Code Rain <p> <table><tr><td> <a href="/bbs/?pid=117867#p"> <img src="/bbs/thumbs/pico8_matrix-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=117867#p"> matrix</a><br><br> by <a href="/bbs/?uid=20526"> choo-t</a> <br><br><br> <a href="/bbs/?pid=117867#p"> [Click to Play]</a> </td></tr></table> </p> <p>Just a simple Matrix Code Rain.</p> Fri, 23 Sep 2022 21:16:31 UTC Cables <p> <table><tr><td> <a href="/bbs/?pid=117794#p"> <img src="/bbs/thumbs/pico8_cables-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=117794#p"> cables</a><br><br> by <a href="/bbs/?uid=20526"> choo-t</a> <br><br><br> <a href="/bbs/?pid=117794#p"> [Click to Play]</a> </td></tr></table> </p> <p>Simple and fast faking of cables hanging between two points (made for another project).<br /> Not physic base, it use B&eacute;zier curves to fake a lot of cables at once (&plusmn;320 cables at 10 steps, @30fps)</p> <ul> <li>Right and left click to move last cable's start/end point.</li> <li>❎ to add a cable</li> <li>🅾️ to remove a cable</li> <li>➡️ to increase number of steps</li> <li>⬅️ to decrease number of steps</li> <li>⬇️ or wheel-down to increase the dangling of the cables</li> <li>⬆️ or wheel-up to decrease the dangling of the cables</li> <li>pause menu to enable/disable debug view (show steps and controls points)</li> </ul> <h3>changelog</h3> <p>2022-09-24</p> <ul> <li>fixed buttons UI typo</li> </ul> <p>2022-09-22</p> <ul> <li>added dangling control</li> <li>tweaked controls</li> </ul> Thu, 22 Sep 2022 10:39:51 UTC Picoi-Koi 🎴 <p> <table><tr><td> <a href="/bbs/?pid=117608#p"> <img src="/bbs/thumbs/pico8_picoi_koi-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=117608#p"> picoi_koi</a><br><br> by <a href="/bbs/?uid=20526"> choo-t</a> <br><br><br> <a href="/bbs/?pid=117608#p"> [Click to Play]</a> </td></tr></table> </p> <img style="margin-bottom:16px" border=0 src="/media/20526/welcome.gif" alt="" /> <h1>Picoi-Koi</h1> <p><strong>Picoi-Koi</strong> is a PICO-8 implementation of <a href="">koi-koi</a>, a game played with <a href="">hanafuda</a> cards.</p> <h2>Gameplay</h2> <img style="margin-bottom:16px" border=0 src="/media/20526/gameplay.gif" alt="" /> <p>❎ to select/confirm<br /> 🅾️ to display all captured cards</p> <p>Knowledge of koi-koi is obviously highly recommended to enjoy the game, but here a quick rundown of the rules :</p> <h2>Rules</h2> <p>An hanaduda deck contains 48 cards, 4 cards for each month :</p> <img style="margin-bottom:16px" border=0 src="/media/20526/months.png" alt="" /> <p>Each round, you try to capture card by matching a card from your hand with a card from the table with the corresponding month, then you reveal the top card of the deck and try to match it in the same way.</p> <p>If you play a card without a match on the table, it will be discarded on the table.</p> <p>The goal of the game is to gain points by forming <em>yaku</em>, and either ending the round to score your points (calling <em>shōbu</em>), or gamble your unscored points to to double them (calling <em>koi-koi</em>).</p> <h2>Yaku</h2> <p><strong>Gokō 五光 (10pts)</strong></p> <img style="margin-bottom:16px" border=0 src="/media/20526/Gokō.png" alt="" /> <p>All five hikari cards.</p> <p><strong>Shikō 四光 (8pts)</strong></p> <img style="margin-bottom:16px" border=0 src="/media/20526/Shikō.png" alt="" /> <p>Four hikari cards without <a href="">Ono no Michikaze</a>.</p> <p><strong>Ame-Shikō 雨四光 (7pts)</strong></p> <img style="margin-bottom:16px" border=0 src="/media/20526/Ame-Shikō.png" alt="" /> <p>Four hikari cards including <a href="">Ono no Michikaze</a>.</p> <p><strong>Sankō 三光 (5pts)</strong></p> <img style="margin-bottom:16px" border=0 src="/media/20526/Sanko.png" alt="" /> <p>Any 3 hikari cards excluding <a href="">Ono no Michikaze</a>.</p> <p><strong>Hanami de Ippai 花見で一杯 (5pts)</strong></p> <img style="margin-bottom:16px" border=0 src="/media/20526/Hanami de Ippai.png" alt="" /> <p>The sakura ni maku card and the sake cup card. Cumulative with Tsukimi de Ippai</p> <p><strong>Tsukimi de Ippai 月見で一杯 (5pts)</strong></p> <img style="margin-bottom:16px" border=0 src="/media/20526/Tsukimi de Ippai.png" alt="" /> <p>The full moon card and the sake cup card. Cumulative with Hanami de Ippai</p> <p><strong>Inoshikachō 猪鹿蝶 (5pts + 𝐍pts)</strong></p> <img style="margin-bottom:16px" border=0 src="/media/20526/Inoshikachō.png" alt="" /> <p>The deer, boar and butterfly tane cards, give an additional point for every additional tane card.</p> <p><strong>Akatan 赤短 (5pts + 𝐍pts)</strong></p> <img style="margin-bottom:16px" border=0 src="/media/20526/Akatan.png" alt="" /> <p>All three poetry tanzaku cards, give an additional point for every additional tanzaku card.</p> <p><strong>Aotan 青短 (5pts + 𝐍pts)</strong></p> <img style="margin-bottom:16px" border=0 src="/media/20526/Aotan.png" alt="" /> <p>All three blue tanzaku cards, give an additional point for every additional tanzaku card.</p> <p><strong>Akatan, Aotan no Chōfuku 赤短・青短の重複 (10pts + 𝐍pts)</strong></p> <img style="margin-bottom:16px" border=0 src="/media/20526/Akatan Aotan no Chōfuku.png" alt="" /> <p>All three poetry tanzaku cards, and all three blue tanzaku, give an additional point for every additional tanzaku card.</p> <p><strong>Tanzaku 短冊 (1pt + 𝐍pts)</strong></p> <img style="margin-bottom:16px" border=0 src="/media/20526/Tanzaku.png" alt="" /> <p>Any five tanzaku cards, give an additional point for every additional tanzaku card.</p> <p><strong>Tane タネ (1pt + 𝐍pts)</strong></p> <img style="margin-bottom:16px" border=0 src="/media/20526/Tane.png" alt="" /> <p>Any five tane cards, give an additional point for every additional tane card.</p> <p><strong>Kasu カス (1pt + 𝐍pts)</strong></p> <img style="margin-bottom:16px" border=0 src="/media/20526/Kasu.png" alt="" /> <p>Any ten of the twenty-four kasu cards, give an additional point for every additional kasu card.</p> <h2>House Rules</h2> <p>As <a href="">always</a> with koi-koi, there plenty of variation of the rules, here the ones used in this version :</p> <ul> <li>The player always start the game as the oya 親 (first-player).</li> <li>Lucky hands : teshi 手四 have been banned, kuttsuki くっつき have no effect.</li> <li>Scoring 7 or more points in a single round double them.</li> <li>Koi-Koi count toward both player, meaning that when scoring, the points will be multiplied by 1 plus the number of time koi-koi was called. i.g doubled if koi-koi was called once, tripled if it was called twice and so on.</li> <li>Sake cup count both toward Tane and Kasu. </li> </ul> <h2>Changelog</h2> <p>2022-09-19 :</p> <ul> <li>enlarged card selector for better readability.</li> <li>added multiple sounds (yaku prompt, win, lose).</li> <li>added intro splash screen.</li> </ul> Sun, 18 Sep 2022 12:44:26 UTC Carlae <p> <table><tr><td> <a href="/bbs/?pid=116672#p"> <img src="/bbs/thumbs/pico8_carlae-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=116672#p"> carlae</a><br><br> by <a href="/bbs/?uid=20526"> choo-t</a> <br><br><br> <a href="/bbs/?pid=116672#p"> [Click to Play]</a> </td></tr></table> <br /> Carlae is a itsy-bitsy snake in 𝟹̶𝟽̶𝟼̶ 358 characters, named after the cute <a href="">tetracheilostoma carlae</a>, but tetracheilostoma was kind of a mouthful.</p> <h3>changelog</h3> <p>2022-09-24</p> <ul> <li>shaved 18 characters</li> </ul> Wed, 31 Aug 2022 19:11:49 UTC HACK*MATCH <p> <table><tr><td> <a href="/bbs/?pid=116416#p"> <img src="/bbs/thumbs/pico8_hack_match-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=116416#p"> hack_match</a><br><br> by <a href="/bbs/?uid=20526"> choo-t</a> <br><br><br> <a href="/bbs/?pid=116416#p"> [Click to Play]</a> </td></tr></table> </p> <h1>An HACK*MATCH demake</h1> <img style="margin-bottom:16px" border=0 src="/media/20526/hack_match_vid_start.gif" alt="" /> <p>HACK*MATCH is a series of puzzle games by <a href="">Zachtronics</a> in the vein of the <em>Magical Drop</em> series of arcade games.<br /> Its first appearance was as a mini-game in <a href="">EXAPUNKS</a>, then it came back as a <a href="">standalone game on the NES</a> and its last appearance was in <a href="">Last Call BBS</a> as a emulated arcade game.</p> <p>The arcade version from Last Call BBS was quite addictive and I wanted to make a demake to play it on-the-go.</p> <h2>How to play :</h2> <img style="margin-bottom:16px" border=0 src="/media/20526/hack_match_1.png" alt="" /> <p>🅾️ to grab or throw a block.<br /> ❎ to swap the last two blocks of a column.</p> <p><img style="margin-bottom:16px" border=0 src="/media/20526/blocks.png" alt="" /> Match 4 or more blocks of the same color to destroy them, the more you match, the more you score !<br /> <img style="margin-bottom:16px" border=0 src="/media/20526/bombs.png" alt="" /> Match 2 or more bombs to destroy all the blocks of their color, but blocks destroyed this way won't score you anything.</p> <h3>Scoring</h3> <p>A combo will always score at least 400pts (4 blocks) then, each block beyond this will scores 50pts more than the previous one, so this will really add-up quickly, but look-out, the bigger your score, the faster the game become. </p> <h3>Boss-rush</h3> <img style="margin-bottom:16px" border=0 src="/media/20526/hm_bosses.png" alt="" /> <p>Ready for some challenge ? The boss-rush mode is for you, fight 4 bosses with their own attack pattern.<br /> Every blocks matched past the first four will damage the boss. Matched blocks will also unlock the blocks locked by the boss' attack.</p> <img style="margin-bottom:16px" border=0 src="/media/20526/hack_match_vid_end.gif" alt="" /> <h3>Differences</h3> <p>I tweaked the game to my liking, so it&rsquo;s much faster (movements are instantaneous), and a little shorter (for on-the-go gameplay).<br /> Sadly, I have no clue about music theory or anything regarding sound making, so this version is quite lacking in that regard.</p> <h3>More</h3> <p>Enjoyed the game ? Check out the (much better) <a href="">Last Call BBS&rsquo;s version</a> featuring much better graphics and a awesome <a href="">soundtrack</a>.</p> Sun, 28 Aug 2022 20:53:26 UTC Dungeons &amp; Diagrams PICO-8 Demake <p> <table><tr><td> <a href="/bbs/?pid=116022#p"> <img src="/bbs/thumbs/pico8_dungeons_and_diagrams-5.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=116022#p"> dungeons_and_diagrams</a><br><br> by <a href="/bbs/?uid=20526"> choo-t</a> <br><br><br> <a href="/bbs/?pid=116022#p"> [Click to Play]</a> </td></tr></table> </p> <img style="margin-bottom:16px" border=0 src="/media/20526/cover_ori_pal_dark.png" alt="" /> <h2>A Dungeons &amp; Diagrams demake.</h2> <p>Dungeons &amp; Diagrams started as a <a href="">pen &amp; paper puzzle</a> designed by <a href="">Zach Barth</a>, followed by a video game version in <a href="">Last Call BBS</a>.</p> <p>It&rsquo;s a nonogram/picross-like game where you fill a dungeon map according to the numbered clues and the monsters and chests&rsquo; positions. <table><tr><td width=116> <img src="" width=116 height=44> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_20526_1"); if ( == "none") = ""; else = "none"; microAjax("", function (retdata){ var el = document.getElementById("gfxcode_20526_1"); el.innerHTML = retdata; el.focus();; } ); '> [29x11]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_20526_1" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> <table><tr><td width=48> <img src="" width=48 height=36> </td> <td valign=bottom> <a style="cursor:pointer;font-size:8pt" onclick=' var el = document.getElementById("gfxcode_20526_0"); if ( == "none") = ""; else = "none"; microAjax("", function (retdata){ var el = document.getElementById("gfxcode_20526_0"); el.innerHTML = retdata; el.focus();; } ); '> [12x9]</a> </td></tr> <tr><td colspan=2> <textarea rows=3 class=lexinput id="gfxcode_20526_0" style="width:640px;background-color:#fed;display:none;overflow:hidden; font-size:6pt;"></textarea> </td> </tr> </table> </p> <p>I really liked the game and wanted to play it on-the-go so I made a PICO-8 version.<br /> All the puzzles in this version were generated by ShadowCluster from the Zachtronics unofficial Discord.</p> <p>If you&rsquo;re unfamiliar with the game, there a small tutorial to explain the rules.</p> <p>As I have no clue about music theory I thought it will be better to spare your ears, but maybe I will add some melodies later.</p> <h3>How to play :</h3> <p>🅾️ to place a gem, it&rsquo;s helpful to mark squares you know are empty.</p> <img style="margin-bottom:16px" border=0 src="/media/20526/dungeons_and_diagrams_0.gif" alt="" /> <p>❎ to place a wall, place all the walls in their correct locations to finish the puzzle.</p> <img style="margin-bottom:16px" border=0 src="/media/20526/dungeons_and_diagrams_1.gif" alt="" /> <p>load a new puzzle anytime by using the pause menu.</p> <img style="margin-bottom:16px" border=0 src="/media/20526/dungeons_and_diagrams_2.gif" alt="" /> <p>Levels are ordered in an ascending (somewhat subjective) difficulty order.</p> <p>If you enjoy the game, you will enjoy the (much better) <a href="">Last Call BBS&rsquo;s version</a> featuring thousands of puzzles, better graphics and a awesome <a href="">soundtrack</a> by <a href="">Matthew S Burns</a></p> <h3>changelog :</h3> <p>2022-11-15:</p> <ul> <li>added music.</li> </ul> <p>2022-08-31 :</p> <ul> <li>rules clarifications regarding chests.</li> </ul> <p>2022-08-29 :</p> <ul> <li>small fix for PICO-8 0.2.5 compatibility (I was using <code>sub()</code> with non-numeric 3rd parameter, which the behavior was changed in the update)</li> </ul> <p>2022-08-27 :</p> <ul> <li>added mouse support during puzzle solving.</li> <li>level selection now display a '★' next to already solved puzzles.</li> </ul> Fri, 19 Aug 2022 15:39:13 UTC controller reconnection bug <p>Disconnecting then reconnecting a controller twice will break the controller support.</p> <p>On handled devices it mean that PICO-8 will effectively lock the device if you put it it sleep mode twice in the same session.</p> <p>I reproduced this behavior successfully on the windows, linux and raspberry pi versions.</p> Mon, 09 Nov 2020 08:29:28 UTC