Log In  
Follow
WalrusesAreAwesome

Hello! Me again.
I've been working on a large project, and have recently run into an "out of memory" 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 "out of memory." But, (if I remove that line of course) I can run the program from the desktop, by manually clicking on it and running.
Are my files too big? What's going on?
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.

EDIT: After going along with this for about 10 lines of code, this no longer works, and it pulls an "out of memory" 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

1 comment



Hey everyone!
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 "memory overload." 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.
Of course, I have anywhen running for times like these, so I load up a previous save and... huh?

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!
Now anywhen is 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)

[ Continue Reading.. ]

6 comments



Cart #hardest_challenge-0 | 2025-06-14 | Code ▽ | Embed ▽ | No License
4


Hello everyone, and welcome... TO YOUR DOOM!
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.

Let's break down the challenge.

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.
Next, you need to actually press 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!
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.

[ Continue Reading.. ]

4
5 comments



Hey all!

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?

1
1 comment



Cart #my_first_dice_game-0 | 2022-07-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Help a game dev make their first dice game the best it can be.

1
2 comments



Cart #zehugaponi-0 | 2022-06-29 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
15


U - Accelerate
D - Brake
L and R - Steer
Z - Honk


Welcome to Desert Plus, the sequel demake to the critically un-aclaimed Desert Bus!

The original

Desert Bus is one of the 6 planned games for the unreleased Sega Genesis game Penn & Teller's Smoke and mirrors. Most of Smoke and Mirrors'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?

Drive from Tucson, Arizona, to Las Vegas, Nevada in real time.

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.

[ Continue Reading.. ]

15
4 comments



Cart #srabapaso-0 | 2021-06-13 | Code ▽ | Embed ▽ | No License

0 comments



Cart #jawirapuda-0 | 2021-04-27 | Code ▽ | Embed ▽ | No License
1

1
1 comment



Steep enough lines aren't rendered correctly when they originate off screen

This code should draw a completely solid screen. It does not.

cls()
for i = 0,260 do
line(i,127,i-5,0,1)
end

1
1 comment