A drop-in onscreen debug log for GameMaker Studio 2, it supports displaying repeat messages once with a counter, persistent messages, and fancy cool lerping fade out and movement!
It's quick and easy, simply pull this repo (or download the YYMP) and import the log
script and , nommLog
object into your project. To start logging, make sure that an instance of nommLog
exists in your world (it's persistent by default!)
The goal of nommLog is to make a no-frills drop-in system to make logging messages easy and concise, that's why there is only 1 script!
message {string} The message to log to the console
colour {real} The colour of the message to display, this defaults to white
- To display a persistent message, make sure that the message you're logging starts with
$<ID>
where<ID>
corresponds to a unique number to refer to the message with (ie:$100Hello
)
- To adjust the spacing between messages, see the
debugSpacing
variable in thenommLog
object. - You can adjust the time in which messages are shown on screen in the
log
script (line 28 & 43) - Messages are still logged to the GMS2 output, except for repeat messages which are only logged once to reduce clutter
fntDebug
usesMicrosoft Sans Serif
which (hopefully) comes with all Windows systems- No credit is needed!
- Thanks for checking this out! 💛