0xFFFF967F [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=60418 CMY Platonic Solids <p>So you know those CMY Cubes? The ones where you rotate them around and the colors mix in the light?</p> <img loading="lazy" style="margin-bottom:16px" border=0 src="/media/60418/cmy-cubes-original-cube1_700x_b62074a0-f216-4907-87ed-7f11406f6044.webp" alt="" /> <p>After recently being taught how to mix colors using bitplanes, this idea came to mind, and I just had to make it<br /> <table><tr><td> <a href="/bbs/?pid=162388#p"> <img src="/bbs/thumbs/pico8_cmyplatonicsolids-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=162388#p"> CMY Platonic Solids</a><br><br> by <a href="/bbs/?uid=60418"> 0xFFFF967F</a> <br><br><br> <a href="/bbs/?pid=162388#p"> [Click to Play]</a> </td></tr></table> <br /> The 5 Platonic Solids, in all their CMY glory!</p> <p>This was actually quite the challenge for me, as I've never messed with 3D rendering before. So I had to learn how to find the vertexes of each polyhedra, and I had to learn how to rotate them using matrix multiplication. But that was all quite fun, and I hope I can use them again in a future project that isn't just basically a gif</p> <p>The final hurdle was actually filling the polygons in, as Pico-8 doesn't have a built in fill function outside of rectfill() and circfill(). And I certainly wasn't going to make my own fill function.</p> <p>After an hour of digging, I found <a href="https://www.lexaloffle.com/bbs/?pid=64614">&quot;Polygon Drawing Method&quot;</a> by user <a href="https://www.lexaloffle.com/bbs/?uid=29414"> @paranoidcactus</a>, so a big thanks to them!</p> https://www.lexaloffle.com/bbs/?tid=147336 https://www.lexaloffle.com/bbs/?tid=147336 Tue, 18 Feb 2025 10:32:50 UTC Bitplane Mixing Circles <p> <table><tr><td> <a href="/bbs/?pid=161855#p"> <img src="/bbs/thumbs/pico8_bitplanecircles-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=161855#p"> bitplanecircles</a><br><br> by <a href="/bbs/?uid=60418"> 0xFFFF967F</a> <br><br><br> <a href="/bbs/?pid=161855#p"> [Click to Play]</a> </td></tr></table> <br /> Circles appear with random sizes in cyan, &quot;magenta&quot; (pink), and yellow, and colors drawn over each other mix together.<br /> Press ❎ to clear the screen<br /> Press 🅾️ to switch to RGB (Same palette, but reversed)</p> <p>I've had an idea for an idle/incremental game that I've been thinking about for awhile, but I never started working on it because the game would involve mixing colors, and I had no clue how I would do that. But recently I learned about bitplanes, and how they can be used to choose draw color based on what pixels were already there, rather than simply overriding them with the selected color. </p> <img loading="lazy" style="margin-bottom:16px" border=0 src="/media/60418/bitplane demo_0.png" alt="" /> <p>This an example of using bitplanes to merge colors, using a custom palette and poke(0x5F5E) to change which color is drawn. The first palette is the default palette, while the subsequent three palettes show what everything becomes when the indicated color is drawn over them</p> <p>I can't completely explain how this works, so if you want to know more, all of this is explained in much greater detain <a href="https://www.lexaloffle.com/bbs/?pid=134693">here</a></p> https://www.lexaloffle.com/bbs/?tid=147088 https://www.lexaloffle.com/bbs/?tid=147088 Sun, 09 Feb 2025 02:01:35 UTC There Is No Yellow <p> <table><tr><td> <a href="/bbs/?pid=161306#p"> <img src="/bbs/thumbs/pico8_noyellow-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=161306#p"> There Is No Yellow</a><br><br> by <a href="/bbs/?uid=60418"> 0xFFFF967F</a> <br><br><br> <a href="/bbs/?pid=161306#p"> [Click to Play]</a> </td></tr></table> <br /> Interactable Color Illusion</p> <p>❎: Toggle Bars</p> <p>🅾️: Toggle Circle</p> <p>⬆️/⬇️: Toggle Size</p> <p>Final Version now uses Circfill() and Fillp() instead of sprites, allowing for varying sizes</p> https://www.lexaloffle.com/bbs/?tid=146862 https://www.lexaloffle.com/bbs/?tid=146862 Thu, 30 Jan 2025 00:34:46 UTC Proleptic Gregorian Calendar <p> <table><tr><td> <a href="/bbs/?pid=155501#p"> <img src="/bbs/thumbs/pico8_perpetual_calendar-6.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=155501#p"> Proleptic Gregorian Calendar</a><br><br> by <a href="/bbs/?uid=60418"> 0xFFFF967F</a> <br><br><br> <a href="/bbs/?pid=155501#p"> [Click to Play]</a> </td></tr></table> </p> <p>A calendar for when you need to know what day of the week any date is on but don't want to leave Pico-8 for some reason</p> <p>⬆️/⬇️ change year<br /> ⬅️/➡️ change month<br /> ❎/🅾️ change day<br /> ❎+🅾️ toggle day highlight</p> <p>Allows years between -32767 and 32767 because why not?</p> <p>Disclaimer: This is NOT a historically accurate calendar. This is a Proleptic Gregorian Calendar, a calendar which gives Gregorian dates to all days, including those before it was introduced on October 15th, 1582. Credit to <a href="https://www.lexaloffle.com/bbs/?uid=82211"> @RealShadowCaster</a> for pointing this out to me</p> https://www.lexaloffle.com/bbs/?tid=144663 https://www.lexaloffle.com/bbs/?tid=144663 Wed, 09 Oct 2024 17:52:56 UTC Pico-8 Tetris <p> <table><tr><td> <a href="/bbs/?pid=130959#p"> <img src="/bbs/thumbs/pico8_pico8_tetris-37.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=130959#p"> Pico-8 Tetris</a><br><br> by <a href="/bbs/?uid=60418"> 0xFFFF967F</a> <br><br><br> <a href="/bbs/?pid=130959#p"> [Click to Play]</a> </td></tr></table> </p> <p>Controls:</p> <p>O - Rotate clockwise<br /> X - Rotate counter-clockwise</p> <p>O while holding Up - Hold current tetronimo<br /> X while holding Up - Fast drop</p> <p>Down - Slow drop</p> <p>Left/Right - Move tetronimo</p> https://www.lexaloffle.com/bbs/?tid=53093 https://www.lexaloffle.com/bbs/?tid=53093 Thu, 15 Jun 2023 00:29:37 UTC Floppy Borb 2.0 <p> <table><tr><td> <a href="/bbs/?pid=129987#p"> <img src="/bbs/thumbs/pico8_floppyborb2-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=129987#p"> Floppy Borb 2.0</a><br><br> by <a href="/bbs/?uid=60418"> 0xFFFF967F</a> <br><br><br> <a href="/bbs/?pid=129987#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=52814 https://www.lexaloffle.com/bbs/?tid=52814 Sun, 21 May 2023 09:24:50 UTC