Log In  

One thing that would be super handy for development in Pico-8 is an "assert" function which throws an error when a condition isn't met and can optionally print something in response, like the standard lua one.

eg.

assert(x != 0,"this shouldn't happen")

Another nice thing would be a way to write output to a console. you can do this with print, but it usually gets overwritten immediately and lost in the event you need to check up on some history.

log("frame: "..frame.." x is "..x)

also showing a full backtrace on error rather than only the head of the stack would be super helpful.

P#12140 2015-08-01 04:48 ( Edited 2015-08-01 08:48)


[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 14:53:24 | 0.007s | Q:6