kittenm4ster [Lexaloffle Blog Feed] [v0.1.12c] stat(26) only updates at 30 FPS resolution in 60 FPS mode <p>Whereas in PICO-8 v0.1.11 it was possible to run a cart at 60 FPS and get a higher sampling frequency (than at 30 FPS) when querying the value of stat(26) (i.e. number of ticks played on current pattern), it seems that in v0.1.12 this behavior has been changed so that in 60 FPS the stat(26) value still only updates 30 times per second.</p> <p>What led to my discovering this was that I thought I perceived a visual difference when using v0.1.12 to run part of my &quot;Not A Creature Was Stirring&quot; cart that uses stat(26) ticks as the input for some easing functions, so I created a standalone test cart and ran it in both v0.1.11 and v0.1.12 and it looks like the behavior has indeed changed.</p> <p>Here's a test cart. Try changing the &quot;_update60&quot; function to &quot;_update&quot; and see that in v0.1.12 the average diff between sampled ticks (only counting when there is an actual change) is the same (roughly 5.59) either way. But if you run the same cart (I had to change the cart version to 16 to do this) in v0.1.11 you can see that in 60 FPS mode, the average diff between sampled ticks is roughly half (about 2.8), which is better for syncing things to music.</p> <p> <table><tr><td> <a href="/bbs/?pid=63742#p"> <img src="/bbs/thumbs/pico8_jigudetipo-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=63742#p"> demonstration of stat 26 bug</a><br><br> by <a href="/bbs/?uid=9551"> kittenm4ster</a> <br><br><br> <a href="/bbs/?pid=63742#p"> [Click to Play]</a> </td></tr></table> </p> <p>EDIT: oh well now that I see it on the web, it seems the 0.1.12c web player does not have this bug :D (it says about 2.8 for me) so apparently the problem is only with the native (I'm using Linux btw) version?</p> Sat, 20 Apr 2019 23:12:58 UTC F11 doesn't toggle fullscreen <p>The changelog for v0.1.11c (from a year or so ago) says:</p> <p>&gt; Added: F11 to toggle fullscreen</p> <p>...but F11 has never actually worked in any version of PICO-8 so far, to my knowledge. Alt + Enter is still the only way to do fullscreen.</p> <p>So I'm just making a bug report to track this, and as a reminder in case a fix might make it into 0.1.12b or something ;)</p> Sat, 13 Apr 2019 00:19:10 UTC gui_theme 2 is actually black <p>found a bug in the config for the new v0.1.12: &quot;gui_theme 2&quot; is actually black but it looks like anything higher than 2 is grey now, as if the grey and black swapped :)</p> <p>the dark blue is pretty nice as the new default btw!</p> Fri, 12 Apr 2019 00:50:42 UTC &quot;Castles of Cake&quot; <p> <table><tr><td> <a href="/bbs/?pid=60999#p"> <img src="/bbs/thumbs/pico8_castlesofcake-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=60999#p"> castlesofcake</a><br><br> by <a href="/bbs/?uid=9551"> kittenm4ster</a> <br><br><br> <a href="/bbs/?pid=60999#p"> [Click to Play]</a> </td></tr></table> </p> <p>One of my favorite hobbies of late is trying to transcribe/approximate existing music into PICO-8's tiny tracker, so here is my attempt at <a href="">&quot;Castles of Cake&quot;</a> from my favorite kirby game, Kirby's Dream Course :D</p> <p>Technically Interesting Note: I am doing some slightly sneaky swapping of SFX after the intro so I can use a couple of different SFX instruments that are only in the intro and not used in the rest of the song</p> Sat, 19 Jan 2019 20:39:07 UTC charmunch <p> <table><tr><td> <a href="/bbs/?pid=60722#p"> <img src="/bbs/thumbs/pico8_charmunch-5.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=60722#p"> charmunch</a><br><br> by <a href="/bbs/?uid=9551"> kittenm4ster</a> <br><br><br> <a href="/bbs/?pid=60722#p"> [Click to Play]</a> </td></tr></table> </p> <p>I saw this tweet by Polyducks and felt inspired/compelled to make something like it in PICO-8:</p> <p><a href=""></a></p> <p>:&gt;</p> <p>EDIT 2019-05-18: added new version with refined color palette and adjustable speed (using left/right), moved out of WIP</p> <p>EDIT 2019-06-13: decided I was not <em>quite</em> done with this :p, refined color palette again, adjusted muncher movement, added ability to add/remove munchers, switched to 60 FPS</p> <p>This is like a screensaver that you can just watch, but it also has some controls:</p> <div> <div style="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> O/X change to a new random poop type up/down increase/decrease number of munchers right/left increase/decrease speed</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> Wed, 09 Jan 2019 20:30:06 UTC calendar cart not showing up in splore, and thumbnail is wrong <p><a href=""> @zep</a><br /> (FYI we've pinged you in the <em>secret discord server</em> about this, but maybe you have those notifications turned off or something, so I'm posting it here for you to see)</p> <p>The <a href="">Advent Calendar 2018</a> cart hasn't been showing up in SPLORE since sometime Thursday night/Friday morning UTC, I think (around the time I posted my Day 7 cart). I also cannot find it via the search in SPLORE. (I've only been able to get to it because my Day 7 cart has a link to it in the menu :)</p> <p>Also the thumbnail that shows for the BBS thread (and in pinned posts at the top) is wrong; I think both of these things started happening at the same time, so I'm wondering if they are perhaps related?</p> Wed, 12 Dec 2018 19:58:12 UTC Not A Creature Was Stirring <p> <table><tr><td> <a href="/bbs/?pid=59784#p"> <img src="/bbs/thumbs/pico8_nacwseswahmmm-2.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=59784#p"> Not A Creature Was Stirring</a><br><br> by <a href="/bbs/?uid=9551"> kittenm4ster</a> <br><br><br> <a href="/bbs/?pid=59784#p"> [Click to Play]</a> </td></tr></table> </p> <p><strong>Not A Creature Was Stirring (...Except Squeaky Whiskerson and his Marvelous Musical Mice!)</strong></p> <p>This is my cart for Day 7 of the 2018 PICO-8 Advent Calendar project!</p> <p>Turn up your speakers!</p> Fri, 07 Dec 2018 01:46:37 UTC mobile web full screen button broke <p>The fullscreen button on the mobile web interface seems to have broken all of a sudden. Instead of displaying the screen, the fullscreen icon itself is displayed really big, stretched to fill the screen XD it's actually pretty funny.</p> <p>(it's actually a pretty critical issue though because the mobile controls are super buggy and unreliable unless you're in fullscreen mode)</p> Wed, 05 Dec 2018 16:41:32 UTC holding any button on mobile web overlay causes text-highlight vibration <p>Using Chrome on Android (on a Pixel 2 so this is the latest version of OS and browser) when I hold down a button (including d-pad buttons) on the mobile web button overlay (in fullscreen mode), it now causes a vibration as if I am selecting text on the page. I'm guessing it thinks it is selecting some invisible text in the overlay or something...there is no visual indication of text highlight. I can definitely say this did not happen on the previous version of the BBS.</p> <p>Sorry for all the bug reports, lol. I hope the info helps :D</p> Sat, 01 Dec 2018 05:43:16 UTC unlisted cart with custom ID can't be updated <p><a href=""> @zep</a><br /> A couple days ago, I uploaded an unlisted cart (with an all lowercase alphabetic ID). Today I tried to update that unlisted cart, and it tells me:</p> <div> <div style="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>Upload successful! Tag for this version is: [# sillytree-#]</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've replaced my real cart ID with &quot;sillytree&quot; because the real one is still super secret :p and also put a space after the first &quot;#&quot; so that the BBS doesn't try to display it as a cart)</p> <p>There is no number after the hyphen there (the current version is &quot;-0&quot; so I would expect a &quot;-1&quot; now) and when I go to the cart's info page, it still says there is only 1 version. And if I try going to /cart_info.php?cid=sillytree-1 it says that does not exist.</p> <p>Help!</p> <p>I don't know if this only happens on unlisted carts or not; all I know is what happens in this specific case. I tried a couple times just to make sure it wasn't a one-time glitch or something, and it is reliably reproducible.</p> Sat, 01 Dec 2018 00:15:10 UTC BBS 4.0 logs me out frequently <p>WIth the previous version of the BBS, I almost never got logged out. With this version, it seems like every time I visit, I have to log back in. A couple days ago I was even sometimes getting logged out just clicking around to different pages.</p> <p>Is this short login session time by design?</p> Fri, 30 Nov 2018 19:53:32 UTC sfx states sometimes don't update in sync with each other <p>This is a really weird bug, but stat calls for pattern index, note index, and &quot;number of ticks played&quot; do not always sync up and sometimes one changes before the other. It was intermittent and hard to track down. In order to compensate for this, I had to write something to insulate myself from it:</p> <div> <div style="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>function poll_songpos() local pat = stat(24) local n = stat(21) local ticks = stat(26) -- compensate for bug (!) where pattern sometimes changes before note if pat ~= songpos.pat and n ~= songpos.n then songpos.pat = pat songpos.n = n if songpos.prevticks &gt; 0 and ticks &gt;= songpos.prevticks then songpos.ticks = 0 songpos.waitingforticksync = true end elseif pat == songpos.pat and n ~= songpos.n then songpos.n = n end -- compensate for bug (!) where pattern sometimes changes before ticks if songpos.waitingforticksync then if ticks &lt; songpos.prevticks then songpos.waitingforticksync = false end else songpos.ticks = ticks songpos.prevticks = ticks end 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>(I then changed all other code to use songpos as the source of truth, rather than the stat calls)</p> <p>However, this caused a big headache and was hard to track down and it would be great if this wrapper were not necessary. Also I'm not 100% sure this wrapper code is completely bulletproof; I simply wrote it out of necessity to get the issue out of the way from the specific cart I was working on.</p> <p>Sorry I don't have a cart demonstrating the issue, but I will try to make one. I just wanted to get this reported sooner rather than later, in hopes that it might get addressed for the upcoming update :D</p> <p>EDIT: as a reminder I also have <a href="">another bug thread about stat(24) returning 0 instead of -1</a> which hasn't been fixed yet</p> <p>PS<br /> Thanks again, <a href=""> @zep</a>, for adding these sfx state-related stat calls a while back; it is super fun to get stuff to react to music/sfx, in a way that is not easily possible on most other platforms!</p> Thu, 29 Nov 2018 22:35:43 UTC BBS cart menu should pause both game and music <p>The new BBS 4.0 &quot;cart menu&quot; (the one that slides over and covers the screen and shows other carts) is really cool! However, it seems it allows music to continue playing, while not running _update on the cart. This will basically completely break some audio synchronization stuff I do with stat calls in some of my carts (I do this <em>heavily</em> in one which is going to be released very soon!)</p> <p>You can see an obvious demonstration of the issue with this cart, which displays the notes that it sees are playing: <a href=""></a></p> <p>Until now, I did not see a way for music to play without the update method being called for so long (besides minor frame drops, which I do some work to account for), and this feels kind of like a violation of a basic assumption (at least an assumption <em>I</em> had) with the API so I'm hoping this web behavior can be changed so that the cart is either completely paused or completely running, and not a weird in-between state? <a href=""> @zep</a></p> Thu, 29 Nov 2018 19:40:26 UTC profile image is broken on Settings page <p>It looks like the &quot;/bbs&quot; bit is missing.</p> <p>For example, this is the image URL on my settings page:<br /> <a href=""></a></p> <p>But the correct URL is apparently:<br /> <a href=""></a></p> Wed, 28 Nov 2018 07:12:48 UTC pagination isn't working for orderby &quot;featured&quot; <p>When sorting by likes, anything past page 1 seems to display an empty page.</p> <p>compare this: <a href=";orderby=featured">;orderby=featured</a></p> <p>to this: <a href=";page=2&amp;orderby=featured">;page=2&amp;orderby=featured</a></p> Wed, 28 Nov 2018 07:07:34 UTC QUEST <p> <table><tr><td> <a href="/bbs/?pid=59097#p"> <img src="/bbs/thumbs/pico59095.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=59097#p"> QUEST</a><br><br> by <a href="/bbs/?uid=9551"> kittenm4ster</a> <br><br><br> <a href="/bbs/?pid=59097#p"> [Click to Play]</a> </td></tr></table> </p> <p>QUEST has been hailed by critics as &quot;the most exhilarating 299 characters of source code I have played today&quot; and &quot;a true example of minimalism...well definitely not a false example&quot;.</p> <p>Features include:</p> <ul> <li>Dynamically hard-coded sound effect(s)!!</li> <li>Full English dialogue!!</li> <li>Fit-on-one-screen source code!!</li> </ul> <p>(This was created as part of <a href="">TweetTweetJam</a> in which the prompt was to make a game using fewer than 560 characters of code.)</p> Fri, 16 Nov 2018 22:35:28 UTC Teach A Man To Fish <p> <table><tr><td> <a href="/bbs/?pid=56543#p"> <img src="/bbs/thumbs/pico56542.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=56543#p"> Teach A Man To Fish</a><br><br> by <a href="/bbs/?uid=9551"> kittenm4ster</a> <br><br><br> <a href="/bbs/?pid=56543#p"> [Click to Play]</a> </td></tr></table> </p> <p>Give a man a fish and he'll eat for a day.<br /> Teach a man to fish and,'ll see what happens.</p> <p>~<br /> ~<br /> ~<br /> (this cart was made in a few hours on a tropical island)</p> Tue, 11 Sep 2018 17:11:46 UTC Orbiter Suite <p> <table><tr><td> <a href="/bbs/?pid=50543#p"> <img src="/bbs/thumbs/pico51156.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=50543#p"> Orbiter Suite</a><br><br> by <a href="/bbs/?uid=9551"> kittenm4ster</a> <br><br><br> <a href="/bbs/?pid=50543#p"> [Click to Play]</a> </td></tr></table> </p> <p>When I started making this, I was inspired by two Italian things: pizza (not pictured) and the Cassini spacecraft.</p> <p>~ this cart is designed to be played in a dark room with headphones on the night of a new moon ~</p> Sat, 17 Mar 2018 19:48:05 UTC KITTENM4STERSOFT DEFRAG <p> <table><tr><td> <a href="/bbs/?pid=49180#p"> <img src="/bbs/thumbs/pico49283.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=49180#p"> KITTENM4STERSOFT DEFRAG</a><br><br> by <a href="/bbs/?uid=9551"> kittenm4ster</a> <br><br><br> <a href="/bbs/?pid=49180#p"> [Click to Play]</a> </td></tr></table> <br /> (tip for people unfamiliar with PICO-8 controls: the &quot;O&quot; button maps to the following keyboard keys: Z, C, or N)</p> <h1>KITTENM4STERSOFT DEFRAG</h1> <p>KITTENM4STERSOFT DEFRAG is the industry-leading fantasy defragmenter for the PICO-8.</p> <p>Read what customers are saying about KITTENM4STERSOFT DEFRAG:</p> <p>&gt; &quot;It really looks like it's working!&quot;</p> <p>&gt; &quot;The rectangles were over there and there...but now they are all over there! Amazing!&quot;</p> <p>&gt; &quot;I can't stop watching. Please send help.&quot;</p> <p>Let's see how the features in KITTENM4STERSOFT DEFRAG stack up when compared with Other Leading Defragmenters:</p> <div> <div style="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> KITTENM4STERSOFT DEFRAG COMPETITORS Defrags FANTASY DISKS? &#10003; | X Can be run over and over? &#10003; | X Relaxing Music while you wait? &#10003; | X Screensaver Mode? &#10003; | X Inuitive One-Button Controls? &#10003; | X </pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <h2>User Experience First</h2> <p>Other leading defragmenters are designed with function first, giving only a passing thought to USER EXPERIENCE.</p> <p>KITTENM4STERSOFT DEFRAG is revolutionizing the industry by putting user experience first!</p> <p>KITTENM4STERSOFT DEFRAG is the only PICO-8 defragmenter designed for one sole purpose: to give you the luxuriously satisfying experience of watching a disk be defragmented.</p> <h2>WHAT DOES KITTENM4STERSOFT DEFRAG DO?</h2> <ul> <li>Removes 100% of fantasy fragments!</li> <li>Makes you feel like you are accomplishing actual work!</li> <li>Meticulously rearranges each file's fragments into a contiguous and sequential mass, leaving your computer´┐Żand you!´┐Żfeeling whole, complete, and at peace!</li> </ul> <h2>Never Stops Working</h2> <p>Other leading defragmenters can also defragment, but once they finish running, your files are stuck there at the beginning of the drive, forcing you to wait hours, days, or even <strong><em>weeks</em></strong> until your disk is fragmented enough to defragment again to satisfying results.</p> <p>Unlike other leading defragmenters which <strong><em>cease</em></strong> to provide the user with an entertaining display of ambulating rectangles once they have finished, KITTENM4STERSOFT DEFRAG creates a new FANTASY DISK <strong><em>each</em></strong> time it is run!</p> <h2>Menu Options</h2> <p>Open the PICO-8 menu (on keyboard, press RETURN or P) to access the following two optional modes:</p> <h3>RELAXING MUSIC</h3> <p>Enjoy <a href="">the latest in popular music</a>, perfectly paired with the enticing visuals to enhance your meditative experience. DEFRAGMENT YOUR MIND, BODY, AND SOUL!</p> <h3>SCREENSAVER MODE</h3> <p>Activate SCREENSAVER MODE to disable pesky dialog boxes, enabling you to sit back and enjoy an endless supply of fresh fantasy disks get defragmented with no user interaction required!</p> Sun, 11 Feb 2018 17:08:29 UTC HAMMERSTREIK 1517 <p> <table><tr><td> <a href="/bbs/?pid=45572#p"> <img src="/bbs/thumbs/pico45656.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=45572#p"> HAMMERSTREIK 1517</a><br><br> by <a href="/bbs/?uid=9551"> kittenm4ster</a> <br><br><br> <a href="/bbs/?pid=45572#p"> [Click to Play]</a> </td></tr></table> </p> <p>here is my submission for <a href="">3-COLOR JAM</a></p> <p>It has two <em>secret endings</em> :&gt;</p> <p>For people not familiar with PICO-8, the desktop web controls are: arrow keys and Z/X (or C/V or N/M)</p> Sat, 28 Oct 2017 21:29:34 UTC