ridgek [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=44175 Waveform Instrument Encoding <p>The upcoming Pico-8 0.2.6 release will introduce wavetable synthesis via &quot;waveform instruments&quot;. Any of this may change before release so I will try to update it as I discover new info about the feature. The waveform instruments are stored in the same sfx indices as regular instruments (0-7) and use a similar encoding scheme to regular sfx:</p> <h3>Bytes 0-63</h3> <p>The first 64 bytes of the sfx contain one <em>signed</em> 8-bit sample per byte. Pico-8 uses signed 16-bit numbers, so signed 8-bit values from -128 to -1 are represented as 128 to 255, while 0 to 127 are represented normally. Signed 8-bit values outside the -96 to 96 range will appear cropped in the visual editor, although it does appear to be possible to draw values in the full range by dragging the mouse cursor beyond the border.</p> <img style="margin-bottom:16px" border=0 src="/media/44175/wave-data.png" alt="" /> <p>Regarding PCM playback, Pico-8's tracker updates at <a href="https://www.lexaloffle.com/bbs/?pid=79335#p">about 120.4918Hz</a>, and at 64 signed 8-bit samples per cycle, the sample rate would be about 7711.4752Hz. However, because the closest playback frequencies available are A#-0 (A#-2 in standard pitch notation @ 116.54Hz) or B-0 (B-2 in standard pitch notation @ 123.47Hz), it appears that smooth PCM playback will not be possible by stringing waveform instruments together, as waveforms would not have the chance to play exactly one oscillation per tick; instead being slightly cropped or slightly looped (and then cropped). This will result in clipping/distortion, and weird tuning artifacts.</p> <p><div><div><input type="button" value=" Show " onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = ' Hide '; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = ' Show '; }"></div><div><div style="display: none;"><br /> <em>Warning! This cart will not work until the BBS player has been upgraded to 0.2.6!</em></p> <p> <table><tr><td> <a href="/bbs/?pid=99633#p"> <img src="/bbs/thumbs/pico8_fadoniyono-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=99633#p"> fadoniyono</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=99633#p"> [Click to Play]</a> </td></tr></table> <br /> </div></div></div></p> <h3>Byte 64</h3> <p>Used for editor mode and sfx filters. This byte serves the same purpose as regular sfx and the filters introduced in 0.2.2 can be used with waveform instruments.</p> <h3>Byte 65</h3> <p>If the lowest bit is set (1), the &quot;bass&quot; option will be activated and the instrument will be transposed down one octave. I assume this is similar to poking byte 0x5f40.</p> <h3>Byte 66</h3> <p>If the highest bit is set (128), the sfx will be activated as a waveform instrument.</p> <h3>Byte 67</h3> <p>Unused</p> https://www.lexaloffle.com/bbs/?tid=45247 https://www.lexaloffle.com/bbs/?tid=45247 Thu, 18 Jan 2024 05:49:26 UTC Farewell, Fair Friend 🎈 <p> <table><tr><td> <a href="/bbs/?pid=137660#p"> <img src="/bbs/thumbs/pico8_fairwellfairfriend-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=137660#p"> Farewell, Fair Friend 🎈</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=137660#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hi friends, looks like <a href="https://x.com/lexaloffle/status/1723613705584398521">exciting changes</a> are coming soon. I guess this might be the last song I make before 0.2.6 is out so this is my send-off to Pico-8 audio as we knew it. See u on the other side! πŸ™‚</p> https://www.lexaloffle.com/bbs/?tid=55088 https://www.lexaloffle.com/bbs/?tid=55088 Mon, 20 Nov 2023 02:48:56 UTC Demi Daggers OST πŸ—‘ <p>Hi friends,</p> <p>Here's the OST for <a href="https://www.lexaloffle.com/bbs/?uid=25532"> @freds72</a>'s upcoming release, Demi Daggers. Trying to recreate the complex sound design of <a href="https://store.steampowered.com/app/422970/Devil_Daggers/">Devil Daggers</a> and its <a href="https://sorathsound.bandcamp.com/album/devil-daggers-remastered-soundtrack">OST</a> in Pico-8 was a massive challenge. I hope I did it justice, and I hope you enjoy it!</p> <hr /> <h1>&quot;II&quot;</h1> <p> <table><tr><td> <a href="/bbs/?pid=137647#p"> <img src="/bbs/thumbs/pico8_devildaggersii-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=137647#p"> This is a Cover of Devil Daggers II πŸ’€</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=137647#p"> [Click to Play]</a> </td></tr></table> </p> <p>Originally composed by <a href="https://sorathsound.bandcamp.com/album/devil-daggers-remastered-soundtrack">Sorath</a></p> <hr /> <h1>&quot;III&quot;</h1> <p> <table><tr><td> <a href="/bbs/?pid=137647#p"> <img src="/bbs/thumbs/pico8_devildaggersiii-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=137647#p"> This is a Cover of Devil Daggers III ☠️</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=137647#p"> [Click to Play]</a> </td></tr></table> </p> <p>Originally composed by <a href="https://sorathsound.bandcamp.com/album/devil-daggers-remastered-soundtrack">Sorath</a></p> https://www.lexaloffle.com/bbs/?tid=55084 https://www.lexaloffle.com/bbs/?tid=55084 Sun, 19 Nov 2023 21:52:45 UTC Nightwave πŸŒƒ <p> <table><tr><td> <a href="/bbs/?pid=133544#p"> <img src="/bbs/thumbs/pico8_nightwave-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=133544#p"> Nightwave πŸŒƒ</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=133544#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=53875 https://www.lexaloffle.com/bbs/?tid=53875 Sat, 26 Aug 2023 04:15:25 UTC Modern Style 🎒 <p> <table><tr><td> <a href="/bbs/?pid=133056#p"> <img src="/bbs/thumbs/pico8_modernstyle-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=133056#p"> This is a Cover of Modern Style 🎒</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=133056#p"> [Click to Play]</a> </td></tr></table> </p> <p>Originally composed by:<br /> <a href="https://www.imdb.com/name/nm0994817/">Allister Brimble</a></p> https://www.lexaloffle.com/bbs/?tid=53743 https://www.lexaloffle.com/bbs/?tid=53743 Mon, 14 Aug 2023 16:17:42 UTC Inconsistent path resolution with -root_path, printh() <p>Hi Zep! :)</p> <p>I'm not sure if this is by design, but it seems <code>printh()</code> resolves paths differently than <code>cstore()</code>, <code>reload()</code>, etc; where <code>printh()</code> does path resolution relative to <code>root_path</code>, while the other funcs resolve paths relative to the running cart. </p> <p>For example, given the directory structure:</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>project_dir/ |_dist/ |_foo.p8 |_log.p8l |_utils/ |_bar.p8</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>and launching with:</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>project_dir $ pico8 -root_path ./ ./utils/bar.p8</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>project_dir/utils/bar.p8:</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>cstore(0, 0, 0x4300, &quot;./dist/foo.p8&quot;) --doesn't write to foo.p8 cstore(0, 0, 0x4300, &quot;../dist/foo.p8&quot;) --writes to foo.p8 printh(&quot;hello world!&quot;, &quot;./dist/log&quot;) --writes to log.p8l printh(&quot;hello world!&quot;, &quot;../dist/log&quot;) --bad log error</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>I'm not sure which way I think all the funcs should behave, but I'm inclined to say <code>printh()</code> should resolve paths relative to the running cart like the other funcs, because it would probably be less surprises for the user that way.</p> <p>Anyway, thx for your time!</p> https://www.lexaloffle.com/bbs/?tid=53730 https://www.lexaloffle.com/bbs/?tid=53730 Sun, 13 Aug 2023 03:56:01 UTC Always 🀞 <p> <table><tr><td> <a href="/bbs/?pid=99631#p"> <img src="/bbs/thumbs/pico8_always-3.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=99631#p"> Always 🀞</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=99631#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=45246 https://www.lexaloffle.com/bbs/?tid=45246 Fri, 23 Jun 2023 21:16:26 UTC Better Off Alone πŸ’ƒ <p> <table><tr><td> <a href="/bbs/?pid=90470#p"> <img src="/bbs/thumbs/pico8_betteroffalone-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=90470#p"> This is a Cover of Better Off Alone πŸ’ƒ</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=90470#p"> [Click to Play]</a> </td></tr></table> </p> <p>Originally composed by:<br /> J&uuml;rgen &quot;DJ Jurgen&quot; Rijkers,<br /> Sebastiaan &quot;Pronti&quot; Molijn,<br /> Eelke &quot;Kalmani&quot; Kalberg,<br /> Judith Anna Pronk</p> https://www.lexaloffle.com/bbs/?tid=42452 https://www.lexaloffle.com/bbs/?tid=42452 Fri, 16 Jun 2023 17:07:00 UTC Galaxy Robo πŸ€– <p> <table><tr><td> <a href="/bbs/?pid=80294#p"> <img src="/bbs/thumbs/pico8_galaxyrobo-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=80294#p"> Galaxy Robo πŸ€–</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=80294#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=39088 https://www.lexaloffle.com/bbs/?tid=39088 Fri, 09 Jun 2023 16:31:09 UTC Hearts (Cracked) πŸ’” <p> <table><tr><td> <a href="/bbs/?pid=79229#p"> <img src="/bbs/thumbs/pico8_hearts_cracked-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79229#p"> Hearts (Cracked) πŸ’”</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=79229#p"> [Click to Play]</a> </td></tr></table> </p> <p>The idea for this cart was inspired by a comment <a href="https://www.lexaloffle.com/bbs/?uid=13822"> @Liquidream</a> made to me a few months ago. πŸ˜‚ Enjoy your week, everyone!</p> https://www.lexaloffle.com/bbs/?tid=38800 https://www.lexaloffle.com/bbs/?tid=38800 Wed, 05 Apr 2023 01:02:04 UTC I Wanna Be Okay πŸ™‚ <p> <table><tr><td> <a href="/bbs/?pid=79228#p"> <img src="/bbs/thumbs/pico8_i_wanna_be_okay-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79228#p"> I Wanna Be Okay πŸ™‚</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=79228#p"> [Click to Play]</a> </td></tr></table> </p> <p>I hope everyone is taking good care of themselves. Be safe and have a great weekend! πŸ™‚</p> https://www.lexaloffle.com/bbs/?tid=38799 https://www.lexaloffle.com/bbs/?tid=38799 Thu, 30 Mar 2023 08:25:42 UTC Updated 11/15/23 - TMNT: Shredder's Prevenge OST πŸ€πŸ’πŸ’πŸ’πŸ’ <p>Hi friends,</p> <p><a href="https://www.lexaloffle.com/bbs/?uid=49909"> @Wolfe3D</a> recently asked me to do the soundtrack for his fan game, <a href="https://www.lexaloffle.com/bbs/?tid=48795">Teenage Mutant Ninja Turtles in: Shredder's Prevenge</a>. With such an ambitious and impressive project shaping up, how could anyone say no? I'll be posting music here and on <a href="https://github.com/alanxoc3/radico8">radico8</a> as Wolfe3D releases the corresponding game content. The soundtrack will feature seven songs plus assorted jingles. I'll lead off here with a couple covers I couldn't resist trying to make. I hope you like them!</p> <p>(This is a totally free, totally non-commercial fan project, all intellectual property contained within the content below belongs to its respective owners. Please don't sue me.)</p> <p><strong>11/15/2023:</strong> Added <a href="#psupersmashturts-0">Super Smash Turts</a>, <a href="#pshinobisentai-0">Shinobi Sentai Shellranger</a>, <a href="#plowercasetechno-1">lowercase technodrome</a>, <a href="#ptingrin-0">Tin Grin</a>.</p> <hr /> <h3>Tracklist</h3> <ul> <li><a href="#ptmntsptitletheme-1">Title Theme πŸŒƒ</a></li> <li><a href="#pgogreenmachine-1">Main Menu: Go Green Machine! πŸ›Ί</a></li> <li><a href="#psupersmashturts-0">Arena Menu: Super Smash Turts πŸ’₯</a></li> <li><a href="#puptowncatblues-1">Level 1: Uptown Cat Blues 🎸</a></li> <li><a href="#pbattlehead-2">Boss Theme: Battlehead πŸ’€</a></li> <li><a href="#pturtletokens-1">Arcade Theme: Turtle Tokens πŸ•Ή</a></li> <li><a href="#psewersurfin-2">Level 2: This is a Cover of Sewer Surfin' πŸ„&zwj;♂️</a></li> <li><a href="#pshinobisentai-0">Level 3: Shinobi Sentai Shellranger πŸŽ‡</a></li> <li><a href="#plowercasetechno-2">Level 4: lowercase technodrome 🌐</a></li> <li><a href="#ptingrin-0">Final Boss Theme: Tin Grin πŸ‘£</a></li> <li><a href="#ppizzapower-2">End Credits: This is a Cover of Pizza Power πŸ•</a></li> </ul> <hr /> <h2>Title Theme πŸŒƒ</h2> <p> <table><tr><td> <a href="/bbs/?pid=79227#p"> <img src="/bbs/thumbs/pico8_tmntsptitletheme-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79227#p"> TMNT: Shredder's PREvenge Title Theme πŸŒƒ</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=79227#p"> [Click to Play]</a> </td></tr></table> </p> <p>Contains arrangements of the 1987 Teenage Mutant Ninja Turtles theme, originally composed by <a href="https://www.imdb.com/name/nm0521143/">Chuck Lorre</a> and <a href="https://www.imdb.com/name/nm0113399/">Dennis Challen Brown</a>.</p> <hr /> <h2>Main Menu: <em>Go Green Machine!</em> πŸ›Ί</h2> <p> <table><tr><td> <a href="/bbs/?pid=79227#p"> <img src="/bbs/thumbs/pico8_gogreenmachine-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79227#p"> Go Green Machine! πŸ›Ί</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=79227#p"> [Click to Play]</a> </td></tr></table> </p> <p>Contains arrangements of the 1987 Teenage Mutant Ninja Turtles theme, originally composed by <a href="https://www.imdb.com/name/nm0521143/">Chuck Lorre</a> and <a href="https://www.imdb.com/name/nm0113399/">Dennis Challen Brown</a>. Cover art is a scan of the NES box art for TMNT II: The Arcade Game.</p> <hr /> <h2>Arena Menu: <em>Super Smash Turts</em> πŸ’₯</h2> <p> <table><tr><td> <a href="/bbs/?pid=79227#p"> <img src="/bbs/thumbs/pico8_supersmashturts-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79227#p"> Super Smash Turts πŸ’₯</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=79227#p"> [Click to Play]</a> </td></tr></table> </p> <p>Cover art is a scan of the Japanese Sega Mega Drive box art for TMNT: Tournament Fighters.</p> <hr /> <h2>Level 1: <em>Uptown Cat Blues</em> 🎸</h2> <p> <table><tr><td> <a href="/bbs/?pid=79227#p"> <img src="/bbs/thumbs/pico8_uptowncatblues-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79227#p"> Uptown Cat Blues 🎸</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=79227#p"> [Click to Play]</a> </td></tr></table> </p> <p>Contains arrangements of the 1987 Teenage Mutant Ninja Turtles theme, originally composed by <a href="https://www.imdb.com/name/nm0521143/">Chuck Lorre</a> and <a href="https://www.imdb.com/name/nm0113399/">Dennis Challen Brown</a>. Cover art is from a Pizza Hut promotional poster for the Coming Out of Their Shells tour.</p> <hr /> <h2>Boss Theme: <em>Battlehead</em> πŸ’€</h2> <p> <table><tr><td> <a href="/bbs/?pid=79227#p"> <img src="/bbs/thumbs/pico8_battlehead-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79227#p"> Battlehead πŸ’€</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=79227#p"> [Click to Play]</a> </td></tr></table> </p> <p><strong>Controls:</strong></p> <p>β¬…οΈβž‘οΈβ¬†οΈβ¬‡οΈπŸ…ΎοΈβŽ: Play victory jingle</p> <p>Contains arrangements of boss themes from the arcade games Teenage Mutant Ninja Turtles and Turtles in Time, originally composed by <a href="https://www.imdb.com/name/nm1703914/">Mutsuhiko Izumi</a>. Cover art is a scan from the Mirage Studios TMNT comics.</p> <hr /> <h2>Arcade Theme: <em>Turtle Tokens</em> πŸ•Ή</h2> <p> <table><tr><td> <a href="/bbs/?pid=79227#p"> <img src="/bbs/thumbs/pico8_turtletokens-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79227#p"> Turtle Tokens πŸ•Ή</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=79227#p"> [Click to Play]</a> </td></tr></table> </p> <p>Contains arrangements of the 1987 Teenage Mutant Ninja Turtles theme, originally composed by <a href="https://www.imdb.com/name/nm0521143/">Chuck Lorre</a> and <a href="https://www.imdb.com/name/nm0113399/">Dennis Challen Brown</a>. Cover art is a screenshot from the 1987 animated series.</p> <hr /> <h2>Level 2: <em>Sewer Surfin'</em> πŸ„&zwj;♂️</h2> <p> <table><tr><td> <a href="/bbs/?pid=79227#p"> <img src="/bbs/thumbs/pico8_sewersurfin-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79227#p"> This is a Cover of Sewer Surfin' πŸ„&zwj;♂️</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=79227#p"> [Click to Play]</a> </td></tr></table> </p> <p>Originally composed by <a href="https://www.imdb.com/name/nm1703914/">Mutsuhiko Izumi</a>. Cover art is a screenshot from the arcade game, Turtles In Time.</p> <hr /> <h2>Level 3: <em>Shinobi Sentai Shellranger</em> πŸŽ‡</h2> <p> <table><tr><td> <a href="/bbs/?pid=79227#p"> <img src="/bbs/thumbs/pico8_shinobisentai-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79227#p"> Shinobi Sentai Shellranger πŸŽ‡</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=79227#p"> [Click to Play]</a> </td></tr></table> </p> <p>Cover art is the poster for the 1993 film, Teenage Mutant Ninja Turtles III.</p> <hr /> <h2>Level 4: <em>lowercase technodrome</em> 🌐</h2> <p> <table><tr><td> <a href="/bbs/?pid=79227#p"> <img src="/bbs/thumbs/pico8_lowercasetechno-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79227#p"> lowercase technodrome 🌐</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=79227#p"> [Click to Play]</a> </td></tr></table> </p> <p>Cover art is a screenshot from the 1987 animated series.</p> <hr /> <h2>Final Boss Theme: <em>Tin Grin</em> πŸ‘£</h2> <p> <table><tr><td> <a href="/bbs/?pid=79227#p"> <img src="/bbs/thumbs/pico8_tingrin-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79227#p"> Tin Grin</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=79227#p"> [Click to Play]</a> </td></tr></table> </p> <p>Cover art is a scan from the IDW Publishing TMNT comics.</p> <hr /> <h2>End Credits: <em>Pizza Power</em> πŸ•</h2> <p> <table><tr><td> <a href="/bbs/?pid=79227#p"> <img src="/bbs/thumbs/pico8_pizzapower-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=79227#p"> This is a Cover of Pizza Power πŸ•</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=79227#p"> [Click to Play]</a> </td></tr></table> </p> <p>Originally composed by <a href="https://www.imdb.com/name/nm0067335/">Bob Bejan</a> and <a href="https://www.imdb.com/name/nm1899765/">Godfrey Nelson</a>. Cover art is a scan of the Coming Out of Their Shells CD insert.</p> https://www.lexaloffle.com/bbs/?tid=38798 https://www.lexaloffle.com/bbs/?tid=38798 Mon, 20 Feb 2023 08:20:07 UTC Multi-line comment w no trailing whitespace in a for loop throws syntax error <p>Hi Zep! :)</p> <p>0.2.5g: In non-C-style for loops, if a multi-line comment is opened/closed before the first variable declaration, without trailing whitespace before the variable name, it will throw a syntax error. All other situations seem to be okay:</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>--[[ok]]foo = --[[ok]]{1} --ok for --[[ok]]i=0,1 do print(foo[i]) end for --[[ok]] v in all(foo) do print(v) end for --[[ok]] k, --[[ok]]v in pairs(foo) do print(v) end for --[[ok]] k, --[[ok]]v in ipairs(foo) do print(v) end --not ok for --[[oops]]v in all(foo) do print(v) end for --[[oops]]k, --[[ok]]v in pairs(foo) do print(v) end for --[[oops]]k, --[[ok]]v in ipairs(foo) do print(v) 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=51618 https://www.lexaloffle.com/bbs/?tid=51618 Mon, 13 Feb 2023 21:00:33 UTC __meta:*__ tags print &quot;codo_free fail 21 0&quot; to console <p>On 0.2.5e, the following message is printed to stdout whenever a cart containing any arbitrary meta section is run:</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>$ pico8 -run test.p8 codo_free fail 21 0</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>test.p8:</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>pico-8 cartridge // http://www.pico-8.com version 39 __meta:foo__ bar</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Carts seem to run fine, so there don't seem to be any other negative effects.</p> https://www.lexaloffle.com/bbs/?tid=51072 https://www.lexaloffle.com/bbs/?tid=51072 Tue, 10 Jan 2023 01:44:51 UTC &quot;Running Out πŸš—πŸ’¨&quot; 5ch audio demo (tracker + PCM)! <p> <table><tr><td> <a href="/bbs/?pid=123686#p"> <img src="/bbs/thumbs/pico8_runningout-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=123686#p"> &quot;Running Out πŸš—πŸ’¨&quot;</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=123686#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hi, friends!</p> <p>Here's a demo featuring 5 glorious channels of lo-fi audio! Making a chipbreak-style tune in Pico-8 has been in the back of my mind ever since <a href="https://www.lexaloffle.com/bbs/?uid=23375"> @carlc27843</a> discovered the undocumented <a href="https://www.lexaloffle.com/bbs/?pid=88937#p">PCM channel</a>, and now I can finally check this off my list! After almost 2 years! πŸ˜…</p> <p>All the drums are samples, triggered by watching the tracker with stat(56). The samples are then fed to the PCM channel by monitoring the buffer with stat(108). I'd originally planned on building a 5-channel tracker from this demo, but I had a tough time getting the samples to sync consistently. I'm not sure if that's because of my own shortcomings, or maybe because as <a href="https://www.lexaloffle.com/bbs/?uid=1"> @zep</a> literally said, the sync is &quot;<a href="https://www.lexaloffle.com/bbs/?tid=45538">not perfect</a>&quot;.</p> <p>For the gfx, the star animations are also triggered by stat(56), whenever a snare sample is played. The road is just one gigantic image using a palette cycle. It looks like this:</p> <img style="margin-bottom:16px" border=0 src="/media/44175/runningout-road.png" alt="" /> <p>Anyway, I had a lot of fun putting this together. I hope you like it! πŸ˜ƒ</p> <p>Special thanks to <a href="https://www.lexaloffle.com/bbs/?uid=33292"> @pahammond</a> for <a href="https://pahammond.itch.io/gem-minify">GEM</a>, which helped keep this cart under the compressed limit!</p> https://www.lexaloffle.com/bbs/?tid=50985 https://www.lexaloffle.com/bbs/?tid=50985 Thu, 05 Jan 2023 01:09:53 UTC stat(56) resets to 0 early when leftmost sfx in pattern is a loop <p> <table><tr><td> <a href="/bbs/?pid=76244#p"> <img src="/bbs/thumbs/pico8_ruwezumuwu-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=76244#p"> ruwezumuwu</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=76244#p"> [Click to Play]</a> </td></tr></table> </p> <p>Hi Zep! :) I think I found a bug in one of the more esoteric stat calls?</p> <p>Bug:<br /> According to the manual, stat(56) should return the number of ticks played in the current pattern. Currently (0.2.5e), it seems to poll the leftmost sfx in the pattern for the count. That makes sense bc the overall pattern length is determined by the leftmost sfx which is <em>not</em> a loop, but as the title says, stat(56) will reset back to 0 early if the leftmost sfx is a loop. </p> <p>Expected behavior:<br /> stat(56) should return the number of pattern ticks played regardless of looped sfx</p> <p>Thanks for your time! :)</p> https://www.lexaloffle.com/bbs/?tid=37836 https://www.lexaloffle.com/bbs/?tid=37836 Mon, 19 Dec 2022 23:41:56 UTC Strangers Again πŸ‘‹ <p> <table><tr><td> <a href="/bbs/?pid=121314#p"> <img src="/bbs/thumbs/pico8_strangersagain-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=121314#p"> Strangers Again πŸ‘‹</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=121314#p"> [Click to Play]</a> </td></tr></table> </p> <p>I was going to wait to post this until the weekend, but I have no self-control. πŸ˜… Enjoy the rest of your week, everyone! </p> https://www.lexaloffle.com/bbs/?tid=50345 https://www.lexaloffle.com/bbs/?tid=50345 Thu, 15 Dec 2022 23:43:44 UTC This is a Cover of Hear What I Hear by Kilo πŸ”Š <p> <table><tr><td> <a href="/bbs/?pid=122267#p"> <img src="/bbs/thumbs/pico8_hearwhatihear-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=122267#p"> This is a Cover of Hear What I Hear by Kilo (Ali) πŸ”Š</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=122267#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=50619 https://www.lexaloffle.com/bbs/?tid=50619 Mon, 12 Dec 2022 01:42:30 UTC Hanging On 🏍 <p> <table><tr><td> <a href="/bbs/?pid=122103#p"> <img src="/bbs/thumbs/pico8_hangingon-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=122103#p"> Hanging On 🏍</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=122103#p"> [Click to Play]</a> </td></tr></table> </p> <p>Here's another new song! Have a great weekend! πŸ˜ƒ</p> https://www.lexaloffle.com/bbs/?tid=50580 https://www.lexaloffle.com/bbs/?tid=50580 Fri, 09 Dec 2022 17:16:11 UTC Beautiful Runaway πŸ’ƒ <p> <table><tr><td> <a href="/bbs/?pid=121486#p"> <img src="/bbs/thumbs/pico8_beautifulrunaway-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=121486#p"> Beautiful Runaway πŸ’ƒ</a><br><br> by <a href="/bbs/?uid=44175"> ridgek</a> <br><br><br> <a href="/bbs/?pid=121486#p"> [Click to Play]</a> </td></tr></table> </p> <p>This one is short but sweet. I hope you enjoy it! 😊</p> https://www.lexaloffle.com/bbs/?tid=50393 https://www.lexaloffle.com/bbs/?tid=50393 Sun, 27 Nov 2022 18:17:21 UTC