remcode [Lexaloffle Blog Feed] Bug: BBS: Problems with dot in someone's name <p>Just tried to notify someone with a dot in their username.</p> <p>Upon posting, the underlining and link was only for the start of their name, upto the dot, which makes me concerned that the wrong user will have been notified.</p> <p>If the right user was notified, the less serious bug is then that the underlining and linking in the post are in error.</p> <p>Problem can be seen on this thread: <a href=""></a></p> <p>Thanks. :)</p> Fri, 10 Jul 2020 07:04:10 UTC Pong / Bat and ball <p>A one player bat and ball game in 560 bytes (by Pico-8's count).</p> <p>(The code is of course not particulary readable or maintainable. A note of caution for people new to coding, this isn't a code style to emulate when you're starting out, and is done only to make the code size small.)</p> <p>I'm reluctant to call it a Pong clone (in the exact in every detail sense) or remake because it doesn't try to look exactly like a previous version of Pong (or rather, I know some coders go a lot further in getting their carts to look and play exactly like one or another version), although it is of course derivative of Pong.</p> <p> <table><tr><td> <a href="/bbs/?pid=76893#p"> <img src="/bbs/thumbs/pico8_twtw_bnb_remcode-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=76893#p"> twtw_bnb_remcode</a><br><br> by <a href="/bbs/?uid=39267"> remcode</a> <br><br><br> <a href="/bbs/?pid=76893#p"> [Click to Play]</a> </td></tr></table> </p> <p>You are the right hand player; you control your bat with the up and down cursor-keys/d-pad-buttons.</p> <p>Features:</p> <ul> <li>AI bat as second (left) player</li> <li>Random starting direction for ball</li> <li>Increasing ball speed after a number of bounces</li> <li>Bat speed increases with ball speed</li> <li>Limiter on AI bat speed so it is beatable</li> <li>Score display</li> <li>First to 3, wins</li> <li>Pauses at announcement of winner</li> <li>New game after winner announcement after non-d-pad button press</li> </ul> <p>All in 560 bytes.</p> <p>I don't code tweet(tweet)carts (a. I don't tweet. b. I add features. c. I like more readable code) but I decided to code a couple as a coding exercise.</p> <p>(I keep thinking I've overlooked something. Let me know if I have. Thanks!)</p> <img style="" border=0 src="/media/39267/tw-batnball_0.gif" alt="" /> Tue, 19 May 2020 09:51:26 UTC Edited SFX not always the visible SFX (Shortcut keys) <p>Changing which SFX you are viewing does not always change which SFX is edited by the shortcut keys (for the number of ticks per note, at least). So trying to use the shortcut keys can cause a different SFX's ticks per note to change, which is undesirable.</p> <p>I am presuming this is because a previous SFX has been selected, and the selection has not been updated to the visible one either when the current SFX was changed or when a shortcut key is pressed.</p> <p>Sometimes it seems to work fine, then sometimes the bug occurs - I am unable to determine the exact sequence to reproduce it.</p> <p>pico-8 0.0.0i</p> Mon, 18 May 2020 16:52:49 UTC File lock issue <p>Pressing ctrl+s then ctrl+r in swift succession caused pico8 to freeze.</p> <p>This did not resolve, and as a result the file was not saved, and was corrupted.</p> <p>(I had a very recent backup so only lost a very short SFX. This was actually the third time I've had this issue, although the other two times it either resolved or the file wasn't corrupted.)</p> <p>This was with Windows 10 and pico8 0.1.12c.</p> Wed, 02 Oct 2019 10:26:13 UTC Audio in Chrome on Android <p>On Android, using Chrome, the cartridges (at least those on the BBS - I haven't looked further afield yet) have constantly crackly audio, and the distinction between ticks is very audible so each tick sounds burbly or garbled, and some instruments sound particularly off in tone from what they should sound like.</p> <p>I am using an Android tablet. It's low end, but I believe that to be not the main issue because I can get near perfect audio in Firefox with the same tablet (it could still be a contributing factor if Chrome isn't very efficient with delivery of audio but Firefox is).</p> <p>The tablet runs Android 8.1.0; Oreo go.</p> <p>I am using Chrome (version 77.0.3865.92 - I just updated it to make sure the issue happened with the latest version available to the tablet).</p> <p>I can't say whether this is a general problem or limited to this device (I don't have extras to try it on).</p> <p>I feel this is worth mentioning on the pico8 forum as a bug in case people are expecting everyone accessing their cartridges to be getting a near equal experience. This won't necessarily happen, and the delivery of the audio content that I'm experiencing is so bad that I wouldn't expect anyone to keep a cartridge open for more than 20 seconds.</p> <p>Here is a link to a cartridge with music in if anyone wants to make a comparison on their own device (in Chrome then in Firefox) try:</p> <p><a href="">The Snowman</a> by gradualgames</p> <p>Or hunt around for something more to your taste.</p> <p>I doubt everyone is affected by this, because if they were there would have been a post about it already, but all I find is the occasional mention of crackly audio, with no one noting it as a bug.</p> <p>I'm not expecting perfection here, and appreciate that it's playing via JavaScript on a low end machine, but when the difference in experience between what Firefox delivers and what Chrome delivers is so great, it seems worth mentioning. (Firefox has a couple of crackles at the start, then smooths out and thereafter delivers quality audio.)</p> <p>Even if I suspect the problem lies mainly with Chrome for Android, I would still wonder if pico8 could tweak anything to get better playback.</p> <p>Thanks for reading! And thanks <a href=""> @zep</a> for pico8 which I'm enjoying greatly.</p> <hr /> <p>Editing in some threads which may have noted this or another issue with Chrome sound before:</p> <p><a href="">Android Chrome Audio Stutter (May 2019)</a></p> <p><a href="">Pico-8 Audio on Mobile Web Browsers (Jan 2018)</a></p> <p><a href="">Lagging sound on chrome (April 2017)</a></p> Wed, 02 Oct 2019 10:17:06 UTC