WalrusesAreAwesome [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=46619 Picotron out of memory ~IFF running from the IDE~ anytime <p>Hello! Me again.<br /> I've been working on a large project, and have recently run into an &quot;out of memory&quot; bug... that only happens if I'm running the cart from the IDE. Even if I exit the program at the very first line, I can't run it with CTRL+R without getting an &quot;out of memory.&quot; But, (if I remove that line of course) I <em>can</em> run the program from the desktop, by manually clicking on it and running.<br /> Are my files too big? What's going on?<br /> I would happily share the cart, by the way, but I'm not sure if I can for legal reasons. It's a demake of Balatro and it's far enough along that I don't know if I should risk it.</p> <p>EDIT: After going along with this for about 10 lines of code, this no longer works, and it pulls an &quot;out of memory&quot; constantly. Checking stat(0) reveals I'm only using a few hundred KiB (when I remove a few dozen lines of code at random to get it to run, nothing essential or large though</p> https://www.lexaloffle.com/bbs/?tid=151292 https://www.lexaloffle.com/bbs/?tid=151292 Sun, 31 Aug 2025 20:16:30 UTC Picotron Anywhen recovery bug? <p>Hey everyone!<br /> I was working on a demake of Balatro, and was testing out some functions by running the card over and over, when it suddenly started reporting a &quot;memory overload.&quot; It wouldn't run, until I restarted Picotron. But when I loaded it back up, all my sprites were completely missing! Not just corrupted, but completely blacked out.<br /> Of course, I have anywhen running for times like these, so I load up a previous save and... huh?</p> <img loading="lazy" style="margin-bottom:16px" border=0 src="/media/46619/Screenshot 2025-08-16 124952.png" alt="" /> <p>No matter what I do, anywhen can not load any previous file. Either I put in only a date, and it tries to load from 5AM (which has no file), or I put in an exact time, and it searches for a completely different one. In fact, most dates I put in end up with Picotron searching for this exact date in the picture: Aug 17, 01:48:17. Not only is that not what I typed, it's actually in the future!<br /> Now anywhen <em>is</em> saving my deltas, probably correctly. As seen below, I'm actually putting in times that align with real supposed saves (adjusted for 4-hour time zone in the above picture, but even without it it returns the same result)</p> <img loading="lazy" style="margin-bottom:16px" border=0 src="/media/46619/Screenshot 2025-08-16 125631.png" alt="" /> <p>None of my other carts have been affected in any way.<br /> Anyone else experience this? Is there anything I can do to get my sprites back? I put a lot of time into them. :(</p> <p>EDIT:<br /> Worth noting this is on the 0.2.0h version</p> https://www.lexaloffle.com/bbs/?tid=151006 https://www.lexaloffle.com/bbs/?tid=151006 Sat, 16 Aug 2025 16:55:51 UTC Hardest Challenge!! <p> <table><tr><td> <a href="/bbs/?pid=168496#p"> <img src="/bbs/thumbs/pico8_hardest_challenge-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=168496#p"> hardest_challenge</a><br><br> by <a href="/bbs/?uid=46619"> WalrusesAreAwesome</a> <br><br><br> <a href="/bbs/?pid=168496#p"> [Click to Play]</a> </td></tr></table> <br /> Hello everyone, and welcome... TO YOUR DOOM!<br /> Above is the most difficult challenge I believe has ever been posted on the internet. Inspired by many other difficult challenges you may have seen online (I know I've certainly seen quite a few!), this game is the natural conclusion to all of them.</p> <h1>Let's break down the challenge.</h1> <p>First, you need to get the button to appear. This only has a 1% chance to happen on start-up, so needless to say, we're starting off pretty strong.<br /> Next, you need to actually <em>press</em> the button (with X or Z). However! This sneaky button only has a 1% chance of being press-able, and has a 99% chance to troll you!<br /> The challenge doesn't end there, though. After that, the button actually has a 99% chance of making you lose! Only 1% of the time will this button cause you to win, marking the end of the challenge.</p> <p>Now getting into... the MATH (I know, I know), we can see that any run only has a 1% * 1% * 1% = 0.0001% chance of making it to the end! That's, quite literally, one in a million! Now <em>THAT'S</em> some <em>serious challenge</em>. I'd like to see anyone try this! </p> <h1>One last thing</h1> <p>.... Good luck &gt;:)</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;"></p> <h1>Okay, drop the act</h1> <p>Okay I'm dropping the act. This cart isn't &quot;challenging&quot; at all, it's pure luck. There is nothing &quot;difficult&quot; about rolling a 20, aside avoiding boredom.</p> <h1>So what gives?</h1> <p>There was one part of that intro that wasn't satire, and it's that I've seen a lot (like <em>a lot</em>) of games, or mods, or whatever, that market &quot;low odds&quot; as &quot;challenge.&quot;<br /> &quot;I completed [game]'s <em>HARDEST CHALLENGE</em>!&quot; Did you? Or did you roll [game]'s largest die over and over until it let you win? Did you demonstrate immense <em>skill</em>, or did you demonstrate immense <em>patience</em>? (While patience can be a skill, 99 times out of 100, this is not what they are talking about)<br /> I don't want to mention any specific games, or people, for pretty obvious reasons. So, if you have no idea what I'm talking about, you might just have to trust me on this one. Or maybe, with this perspective, you can see some existing &quot;challenges&quot; for what they are. That's sorta the reason I made this.<br /> </div></div></div></p> https://www.lexaloffle.com/bbs/?tid=149517 https://www.lexaloffle.com/bbs/?tid=149517 Sat, 14 Jun 2025 02:42:56 UTC PICO-8 Line Algorithm? <p>Hey all!</p> <p>I was wondering if anyone knew what exact line algorithm PICO-8 uses. It isn't documented anywhere, and curiosity has led me down a few rabbit holes, so at this point I figured I'd just ask. I don't think it's Bresenham's line algorithm, but it seems pretty close?</p> https://www.lexaloffle.com/bbs/?tid=146893 https://www.lexaloffle.com/bbs/?tid=146893 Fri, 31 Jan 2025 01:07:36 UTC My First Dice Game! <p> <table><tr><td> <a href="/bbs/?pid=114464#p"> <img src="/bbs/thumbs/pico8_my_first_dice_game-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=114464#p"> my_first_dice_game</a><br><br> by <a href="/bbs/?uid=46619"> WalrusesAreAwesome</a> <br><br><br> <a href="/bbs/?pid=114464#p"> [Click to Play]</a> </td></tr></table> </p> <p>Help a game dev make their first dice game the best it can be.</p> https://www.lexaloffle.com/bbs/?tid=48538 https://www.lexaloffle.com/bbs/?tid=48538 Sun, 17 Jul 2022 16:28:30 UTC Desert Bus <p> <table><tr><td> <a href="/bbs/?pid=113788#p"> <img src="/bbs/thumbs/pico8_zehugaponi-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=113788#p"> Desert Plus 1.0</a><br><br> by <a href="/bbs/?uid=46619"> WalrusesAreAwesome</a> <br><br><br> <a href="/bbs/?pid=113788#p"> [Click to Play]</a> </td></tr></table> <br /> U - Accelerate<br /> D - Brake<br /> L and R - Steer<br /> Z - Honk</p> <hr /> <p>Welcome to Desert Plus, the sequel demake to the critically un-aclaimed Desert Bus!</p> <h2>The original</h2> <img loading="lazy" style="margin-bottom:16px" border=0 src="/media/46619/desert_bus_example.png" alt="" /> <p><em>Desert Bus</em> is one of the 6 planned games for the unreleased Sega Genesis game <em>Penn &amp; Teller's Smoke and mirrors</em>. Most of <em>Smoke and Mirrors</em>'s games were intended to trick one of the people playing it. Multiple games involved secretly cheating in a 2 player game, but this one is build to enrage the player through monotony. The objective?</p> <p><strong>Drive from Tucson, Arizona, to Las Vegas, Nevada in real time.</strong></p> <p>360 miles. A maximum speed of 45 miles per hour. A slight pull to the right. Don't drive off the road, or you'll be towed back to the start, also in real time. Just 8 uninterrupted hours of you, and the road.</p> <h2>What makes this version <em>Plus</em>?</h2> <img loading="lazy" style="margin-bottom:16px" border=0 src="/media/46619/desert_plus_example.png" alt="" /> <p><em>Desert Plus</em> is my PICO-8 demake of <em>Desert Bus</em>, named &quot;plus&quot; not only for the obligatory &quot;p&quot; cameo, but because of all the new content!</p> <h3>New Content?</h3> <p>Uhh.. yeah! There's tons of new content! Like um. The time is local to your timezone, and the palette changes with the time of day! Plus there's fewer things on the road! That's a feature. Not a bug. There is no bug either. Or is there?</p> <p>...</p> <p>Enjoy the ride.</p> https://www.lexaloffle.com/bbs/?tid=48352 https://www.lexaloffle.com/bbs/?tid=48352 Sat, 02 Jul 2022 06:23:00 UTC Untitled <p> <table><tr><td> <a href="/bbs/?pid=93428#p"> <img src="/bbs/thumbs/pico8_srabapaso-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=93428#p"> srabapaso</a><br><br> by <a href="/bbs/?uid=46619"> WalrusesAreAwesome</a> <br><br><br> <a href="/bbs/?pid=93428#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=43325 https://www.lexaloffle.com/bbs/?tid=43325 Sun, 13 Jun 2021 18:02:00 UTC Upside-down Volcano | Ludum Dare 48 Jam <p> <table><tr><td> <a href="/bbs/?pid=91165#p"> <img src="/bbs/thumbs/pico8_jawirapuda-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=91165#p"> jawirapuda</a><br><br> by <a href="/bbs/?uid=46619"> WalrusesAreAwesome</a> <br><br><br> <a href="/bbs/?pid=91165#p"> [Click to Play]</a> </td></tr></table> </p> https://www.lexaloffle.com/bbs/?tid=42662 https://www.lexaloffle.com/bbs/?tid=42662 Tue, 27 Apr 2021 00:43:04 UTC Lines from off screen dont work <p>Steep enough lines aren't rendered correctly when they originate off screen</p> <p>This code should draw a completely solid screen. It does not.</p> <p>cls()<br /> for i = 0,260 do<br /> line(i,127,i-5,0,1)<br /> end</p> https://www.lexaloffle.com/bbs/?tid=41294 https://www.lexaloffle.com/bbs/?tid=41294 Wed, 27 Jan 2021 01:35:55 UTC