justbake [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=33155 A Simple Debugger For Pico8 <p> <table><tr><td> <a href="/bbs/?pid=62915#p"> <img src="/bbs/thumbs/pico8_yepsboge-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=62915#p"> PicoBugger</a><br><br> by <a href="/bbs/?uid=33155"> justbake</a> <br><br><br> <a href="/bbs/?pid=62915#p"> [Click to Play]</a> </td></tr></table> </p> <ol> <li>call _init_debugger() in the init function.</li> <li> <p>call _draw_debugger() in the _draw function.</p> </li> <li>to print a message, call the _debugger_print() method and as a parameter pass in a variable you want to print.<br /> you can also print warnings with _debugger_warning() and errors with _debugger_error()</li> </ol> <p>EX:<br /> ...</p> <p>_debugger_print(&quot;Hello World&quot;)<br /> _debugger_warning(&quot;Hello World&quot;)<br /> _debugger_error(&quot;Hello World&quot;)</p> <p>...</p> https://www.lexaloffle.com/bbs/?tid=33676 https://www.lexaloffle.com/bbs/?tid=33676 Wed, 20 Mar 2019 17:09:42 UTC