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]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-09-24 09:52 | 0.010s | 2097k | Q:12