Two_Owls [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=45932 Worms! <p> <table><tr><td> <a href="/bbs/?pid=92990#p"> <img src="/bbs/thumbs/pico8_worms_toy-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=92990#p"> worms</a><br><br> by <a href="/bbs/?uid=45932"> Two_Owls</a> <br><br><br> <a href="/bbs/?pid=92990#p"> [Click to Play]</a> </td></tr></table> </p> <p>No, not that one. <a href="https://en.wikipedia.org/wiki/Paterson%27s_worms">Paterson's worms</a>, which those of a certain age may have come across as <em>Worms?</em> (aka <em>IQ</em>) for the Atari 8-bits and C64.</p> <p>Left and right to change the number of worms (up to 4), Z to randomize the ruleset again, and X to toggle fast-forward.</p> https://www.lexaloffle.com/bbs/?tid=43182 https://www.lexaloffle.com/bbs/?tid=43182 Thu, 03 Jun 2021 21:49:04 UTC Tunes of Rage <p> <table><tr><td> <a href="/bbs/?pid=90940#p"> <img src="/bbs/thumbs/pico8_streets_pcm-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=90940#p"> streets_pcm</a><br><br> by <a href="/bbs/?uid=45932"> Two_Owls</a> <br><br><br> <a href="/bbs/?pid=90940#p"> [Click to Play]</a> </td></tr></table> </p> <p>Heavily inspired by <a href="https://www.lexaloffle.com/bbs/?tid=42362">this</a></p> <p>A Master System/Game Gear sound chip emulator in Pico8 using the PCM channel. Features 4 songs from SOR1&amp;2 for the Game Gear (use left/right to select)</p> <p>How it works:<br /> <a href="https://www.smspower.org/Music/VGMs">VGM files</a> are logs of register writes. I wrote a program to decode them, save what the reg settings were every 60th of a second, and RLE compress them into strings. The <a href="https://www.smspower.org/Development/SN76489">sound chip</a> is basic enough to write a simple emulator for Pico8.</p> <p>Limitations:</p> <ul> <li>Not really an audio guy, may still be glitches</li> <li>Looping only goes back to the start of the tune, rather than part-way-through as in some songs. Probably would need to decompress the songs to pico8 memory to do that, instead of my &quot;clever&quot; on-the-fly RLE decoding</li> <li>Noise channel <em>is</em> emulated (apart from the &quot;periodic&quot; noise feature), but I didn't bother recording the register from the VGM file so it only uses frequency setting zero.</li> <li>Bit loud</li> <li>Scope placement/colouration makes it look like Alex and Blaze are having some sort of Electric Urine Battle</li> </ul> https://www.lexaloffle.com/bbs/?tid=42573 https://www.lexaloffle.com/bbs/?tid=42573 Thu, 22 Apr 2021 17:39:54 UTC Amigaesque <p> <table><tr><td> <a href="/bbs/?pid=84091#p"> <img src="/bbs/thumbs/pico8_wotozofuzi-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=84091#p"> Amigaesque</a><br><br> by <a href="/bbs/?uid=45932"> Two_Owls</a> <br><br><br> <a href="/bbs/?pid=84091#p"> [Click to Play]</a> </td></tr></table> </p> <p>Short Amiga-inspired demo concentrating on palette and bitmasking trickery. As such, has strobing and flashing.</p> https://www.lexaloffle.com/bbs/?tid=40325 https://www.lexaloffle.com/bbs/?tid=40325 Tue, 10 Nov 2020 18:16:45 UTC Bitmasking tweetcart <p>There's been quite a bit of chat on the discord about bitplanes. So:</p> <p> <table><tr><td> <a href="/bbs/?pid=82260#p"> <img src="/bbs/thumbs/pico8_somuneyetu-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=82260#p"> Bitmasking demo</a><br><br> by <a href="/bbs/?uid=45932"> Two_Owls</a> <br><br><br> <a href="/bbs/?pid=82260#p"> [Click to Play]</a> </td></tr></table> </p> <p><a href="https://youtu.be/nWQdHzQkf_U?t=403">Inspiration</a></p> <p>Unmangled source:</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>frame=0 function _init() poke(0x5f5f,0x10) pal(1,8,1) pal(2,11,1) pal(3,10,1) pal(4,12,1) pal(5,128+8,1) pal(6,128+11,1) pal(7,7,1) end function radfunc(off) --added 0.1 to avoid an unsightly blip at 1.0 return cos((off&amp;0xff)/256+0.3)*10+20 end function xfunc(off) return 64+(30+10*sin(frame/600))*cos((off&amp;0xff)/256+0.1) end function yfunc(off) return 64+(20+5*sin(frame/600))*cos((off&amp;0xff)/256+0.2) end function _draw() cls() local off=frame for c=0,2 do poke(0x5f5e,0x11 &lt;&lt; c) circfill(xfunc(off),yfunc(off),radfunc(off),15) off+=85 end end function _update() frame+=4 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=39726 https://www.lexaloffle.com/bbs/?tid=39726 Fri, 25 Sep 2020 14:12:34 UTC Planar images <p>Someone was asking about how to encode multiple text images as smaller multicolour images on the discord. Well: <table><tr><td> <a href="/bbs/?pid=82239#p"> <img src="/bbs/thumbs/pico8_jogitomoso-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=82239#p"> jogitomoso</a><br><br> by <a href="/bbs/?uid=45932"> Two_Owls</a> <br><br><br> <a href="/bbs/?pid=82239#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=39713 https://www.lexaloffle.com/bbs/?tid=39713 Fri, 25 Sep 2020 00:29:17 UTC Jelpi Maze <p> <table><tr><td> <a href="/bbs/?pid=80681#p"> <img src="/bbs/thumbs/pico8_bobumayuto-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=80681#p"> Jelpi Maze</a><br><br> by <a href="/bbs/?uid=45932"> Two_Owls</a> <br><br><br> <a href="/bbs/?pid=80681#p"> [Click to Play]</a> </td></tr></table> </p> <p>[SHOCKING] Local Man Uses Obscure Meme To Test Raycaster</p> https://www.lexaloffle.com/bbs/?tid=39190 https://www.lexaloffle.com/bbs/?tid=39190 Wed, 12 Aug 2020 19:46:24 UTC Byte Pair compression <p><a href="https://en.wikipedia.org/wiki/Byte_pair_encoding">Something I stumbled across</a> when looking for a way to compress an End-of-Game image for Impulse. Low on tokens (but heavily recursive, don't know if that's an issue for Pico8). May suit you more than anything RLE based if you're working with dithering-heavy images.</p> <p> <table><tr><td> <a href="/bbs/?pid=80278#p"> <img src="/bbs/thumbs/pico8_yudabegaba-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=80278#p"> Byte-pair compression</a><br><br> by <a href="/bbs/?uid=45932"> Two_Owls</a> <br><br><br> <a href="/bbs/?pid=80278#p"> [Click to Play]</a> </td></tr></table> </p> <p>Press X to cycle pictures. The reported size is a bit misleading as it doesn't include the fixed-length &quot;left&quot; and &quot;right&quot; strings.</p> <p>Images are:</p> <ul> <li>A messily converted picture of Bananaman</li> <li>An image from Bladerunner (by far the worst compressed, and anything more fancy than simple ordered dithering made it worse)</li> <li>The Utah teapot</li> <li>Wizball (was interested to see what it made of the C64's 2x1 pixels)</li> <li><a href="https://scarfolk.blogspot.com/2013/05/the-dont-campaign-and-kak-1973.html">Whatever you do, don't</a></li> <li>A self-made dithering test (compressed very well)</li> <li>Jet Set Willy</li> <li>An image from the Amiga demo Eon by Black Lotus</li> </ul> <p><a href="https://pastebin.com/zbNEj5jr">Scrappy C++ PPM-image-converter code here</a></p> https://www.lexaloffle.com/bbs/?tid=39083 https://www.lexaloffle.com/bbs/?tid=39083 Sun, 02 Aug 2020 21:34:14 UTC Impulse <p> <table><tr><td> <a href="/bbs/?pid=80058#p"> <img src="/bbs/thumbs/pico8_suditotaki-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=80058#p"> Impulse</a><br><br> by <a href="/bbs/?uid=45932"> Two_Owls</a> <br><br><br> <a href="/bbs/?pid=80058#p"> [Click to Play]</a> </td></tr></table> </p> <p>Remake of Thrust, an old C64 game (although I first came across it on the school BBC Micros). The first game I ever saw that had anything approaching &quot;proper&quot; physics, I owe it a lot.</p> <p>Z shoots<br /> X fuel scoop/tractor beam/shield (burns fuel)<br /> Up to thrust, L/R to rotate</p> <img style="margin-bottom:16px" border=0 src="/media/45932/impulse p8_0.png" alt="" /> <p>-Grab the pod using your tractor beam when you're close enough and escape the level<br /> -Active your fuel scoop (X) when near fuel to pick it up<br /> -X also activates a shield, but it burns up fuel<br /> -Shoot the reactor (but not too much...) to temporarily disable the turrets<br /> -Or just shoot the turrets<br /> -Later level have switches. Shoot them, too<br /> -Extra life every 10000 points<br /> -Extra bonus points if you escape with the pod <em>and</em> destroy the planet...<br /> -Features possibly the worst version of Rob Hubbard's music ever &quot;composed&quot;</p> <h3>Bugs/glitches/whatever</h3> <p>Don't play around with the level wraparound too much, especially after you've grabbed the pod<br /> SCORE: 00. <em>Gosh, I wonder what's going on under the hood there</em><br /> Only 6 levels. The original stared playing around with reverse gravity and invisible levels after that<br /> You can't shoot fuel (or your own pod...) unlike the original</p> <p>Devs might find my <a href="https://en.wikipedia.org/wiki/Byte_pair_encoding">Byte-pair compression</a> for the endgame screen (tab 3, &quot;DRAWEND&quot;) of interest.</p> https://www.lexaloffle.com/bbs/?tid=39009 https://www.lexaloffle.com/bbs/?tid=39009 Tue, 28 Jul 2020 22:22:00 UTC Boing <p>Colour cycling like it's 1984.</p> <p> <table><tr><td> <a href="/bbs/?pid=79461#p"> <img src="/bbs/thumbs/pico8_pohengama-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79461#p"> Boing</a><br><br> by <a href="/bbs/?uid=45932"> Two_Owls</a> <br><br><br> <a href="/bbs/?pid=79461#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=38873 https://www.lexaloffle.com/bbs/?tid=38873 Thu, 16 Jul 2020 22:21:31 UTC