Log In  


Hello,
The PICO-8 icon was on my desktop for quite some time, without me trying anything more than playing but yesterday I decided to try and do something with it.
Here is the result :

Cart #40328 | 2017-05-08 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

It is a simple sandbox game for the moment. No real gameplay : you can place pipes and then see the water flowing through the circuit.
It could become a classical plumber game or maybe something slightly more complicated, I am still thinking about it .

It is my first PICO-8 game and Lua project so don't hesitate to comment and criticise.
Oh and let me know if you see any "game breaking" bugs, I could not test it thoroughly yet.

1


Hello.
I figured I would ask for help on this topic.

I'm trying to improve my game but I am stuck with an "out of memory" error.
The fluid simulation now involves more tables, so it could be the cause but I suspect there is a bug somewhere.
However I can't pinpoint it.

So I have several questions :
What are the usual causes of this error ? What is the memory limit, can it easily become a problem ? What could I do to investigate the cause ?


As a note, stat(0) goes from 0 to 1023.99... actually, it's CPU (aka stat(1) ) that you want to keep under 1.0 :)


Thank you both !
My code should not use that much memory under normal conditions, so it must be a logic bug. That stat() function may help.
I may ask for more help, and include the code, if I can't find the problem.

EDIT : The biggest issue is certainly that an out of memory error apparently erase the whole RAM, it doesn't ease the debugging...



[Please log in to post a comment]