ridgek [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=44175
stat(6) returns empty string if param_str begins with a special char
<p>Hi Zep! π</p>
<p>Apologies if this was already reported but I couldn't find anything. <code>stat(6)</code> returns an empty string if <code>param_str</code> begins with a special character:</p>
<p><code>cart.p8</code>:</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>str = stat(6)
if (str == "") then
print("oh no!")
else
print("oh yeah!")
end</pre></div></td>
<td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td>
</tr></table></div></div>
<p><code>tty</code>:</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 -p "-1" ./cart.p8
# oh no!</pre></div></td>
<td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td>
</tr></table></div></div>
<p>Thanks, wishing u a great week!! β¨</p>
https://www.lexaloffle.com/bbs/?tid=151861
https://www.lexaloffle.com/bbs/?tid=151861Thu, 02 Oct 2025 12:48:45 UTCDenshi Princess πΈ
<p>
<table><tr><td>
<a href="/bbs/?pid=167933#p">
<img src="/bbs/thumbs/pico8_denshihime-0.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=167933#p">
Denshi Princess πΈ</a><br><br>
by <a href="/bbs/?uid=44175">
ridgek</a>
<br><br><br>
<a href="/bbs/?pid=167933#p">
[Click to Play]</a>
</td></tr></table>
<br />
π·: <a href="https://powerrangers.fandom.com/wiki/Ep._45:_Princess_Denzi_was_Two_People">ι»εζ¦ιγγ³γΈγγ³</a></p>
<p>Time flies. This is, apparently, the first original song I've made in Pico-8 in over a year. I hope u like it, and I wish u a great rest of your week!</p>
https://www.lexaloffle.com/bbs/?tid=149322
https://www.lexaloffle.com/bbs/?tid=149322Thu, 18 Sep 2025 21:13:51 UTCBreakin' (There's No Stopping Us) π»
<p>
<table><tr><td>
<a href="/bbs/?pid=125863#p">
<img src="/bbs/thumbs/pico8_breakin-1.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=125863#p">
This is a Cover of Breakin' (There's No Stopping Us) π»</a><br><br>
by <a href="/bbs/?uid=44175">
ridgek</a>
<br><br><br>
<a href="/bbs/?pid=125863#p">
[Click to Play]</a>
</td></tr></table>
</p>
<p>Originally composed by:<br />
Ollie E. Brown<br />
Jerry Knight</p>
https://www.lexaloffle.com/bbs/?tid=51631
https://www.lexaloffle.com/bbs/?tid=51631Mon, 02 Jun 2025 00:57:56 UTCSeasons π
<p>
<table><tr><td>
<a href="/bbs/?pid=118136#p">
<img src="/bbs/thumbs/pico8_seasons-0.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=118136#p">
This is a Cover of Seasons by Six Foe</a><br><br>
by <a href="/bbs/?uid=44175">
ridgek</a>
<br><br><br>
<a href="/bbs/?pid=118136#p">
[Click to Play]</a>
</td></tr></table>
</p>
<p>Originally composed by:<br />
Six Foe<br />
DJ Godfather</p>
https://www.lexaloffle.com/bbs/?tid=49521
https://www.lexaloffle.com/bbs/?tid=49521Tue, 08 Apr 2025 05:24:10 UTCTrilateral β½
<p>
<table><tr><td>
<a href="/bbs/?pid=117420#p">
<img src="/bbs/thumbs/pico8_trilateral-0.png" style="height:256px"></a>
</td><td width=10></td><td valign=top>
<a href="/bbs/?pid=117420#p">
Trilateral β½</a><br><br>
by <a href="/bbs/?uid=44175">
ridgek</a>
<br><br><br>
<a href="/bbs/?pid=117420#p">
[Click to Play]</a>
</td></tr></table>
</p>
https://www.lexaloffle.com/bbs/?tid=49335
https://www.lexaloffle.com/bbs/?tid=49335Fri, 14 Jun 2024 04:57:46 UTCWaveform Instrument Encoding
<p>The upcoming Pico-8 0.2.6 release will introduce wavetable synthesis via "waveform instruments". 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 loading="lazy" 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 "bass" 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=45247Thu, 18 Jan 2024 05:49:26 UTCFarewell, 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=55088Mon, 20 Nov 2023 02:48:56 UTCDemi 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>"II"</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>"III"</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=55084Sun, 19 Nov 2023 21:52:45 UTCNightwave π
<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=53875Sat, 26 Aug 2023 04:15:25 UTCModern 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=53743Mon, 14 Aug 2023 16:17:42 UTCInconsistent 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, "./dist/foo.p8") --doesn't write to foo.p8
cstore(0, 0, 0x4300, "../dist/foo.p8") --writes to foo.p8
printh("hello world!", "./dist/log") --writes to log.p8l
printh("hello world!", "../dist/log") --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=53730Sun, 13 Aug 2023 03:56:01 UTCAlways π€
<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=45246Fri, 23 Jun 2023 21:16:26 UTCBetter 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ürgen "DJ Jurgen" Rijkers,<br />
Sebastiaan "Pronti" Molijn,<br />
Eelke "Kalmani" Kalberg,<br />
Judith Anna Pronk</p>
https://www.lexaloffle.com/bbs/?tid=42452
https://www.lexaloffle.com/bbs/?tid=42452Fri, 16 Jun 2023 17:07:00 UTCGalaxy 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=39088Fri, 09 Jun 2023 16:31:09 UTCHearts (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=38800Wed, 05 Apr 2023 01:02:04 UTCI 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=38799Thu, 30 Mar 2023 08:25:42 UTCUpdated 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' π‍βοΈ</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> π‍βοΈ</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' π‍βοΈ</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=38798Mon, 20 Feb 2023 08:20:07 UTCMulti-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=51618Mon, 13 Feb 2023 21:00:33 UTC__meta:*__ tags print "codo_free fail 21 0" 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=51072Tue, 10 Jan 2023 01:44:51 UTC"Running Out ππ¨" 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">
"Running Out ππ¨"</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 "<a href="https://www.lexaloffle.com/bbs/?tid=45538">not perfect</a>".</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 loading="lazy" 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=50985Thu, 05 Jan 2023 01:09:53 UTC