LOVEConsole
Posted: Tue Feb 17, 2015 8:07 pm
Hey there,
I recently wrote a little console system for LÖVE2D which allows for easier debugging and game management during the developing process of LÖVE2D applications. Since I mainly intended to use it for my own personal projects but still made it open source, as I do with most of my work (got to spread the love you know), I decided that some of you here might also find some kind of use for this system at some point.
Here's what the console looks like when you run it from the main.lua included in the project's GitHub repository and execute the help command:
Anyway, if you don't know what a console is - if you've ever played a game based on the Source Engine for instance you should know that there is something similar to a command line that allows you to edit variables and generally debug as well as edit the game in question. This is pretty much what LOVEConsole does. The entire console is completely editable and can be customized to death so to say. This means that if you feel hipster enough you could even replace the console's main font with say Comic Sans - yes someone already did that. Other than that the console allows you to execute native Lua commands as well as commands specifically prepared to be used in LOVEConsole. Additionally, the console also displays an optional but by default enabled widget that shows the number of warnings and errors that have been printed to the console so you can keep track of events even when the console is closed. This is especially useful when working or running a game in fullscreen since it removes the need to constantly alt-tab to the default LÖVE output console for information on game events.
If you're interested in trying it out you can grab it from GitHub
On the GitHub page you will also find some more advanced documentation and a guide to getting the system started if you are a newcomer to LÖVE2D and don't really know right off the bat what to do.
I hope you find some good use in this!
I recently wrote a little console system for LÖVE2D which allows for easier debugging and game management during the developing process of LÖVE2D applications. Since I mainly intended to use it for my own personal projects but still made it open source, as I do with most of my work (got to spread the love you know), I decided that some of you here might also find some kind of use for this system at some point.
Here's what the console looks like when you run it from the main.lua included in the project's GitHub repository and execute the help command:
Anyway, if you don't know what a console is - if you've ever played a game based on the Source Engine for instance you should know that there is something similar to a command line that allows you to edit variables and generally debug as well as edit the game in question. This is pretty much what LOVEConsole does. The entire console is completely editable and can be customized to death so to say. This means that if you feel hipster enough you could even replace the console's main font with say Comic Sans - yes someone already did that. Other than that the console allows you to execute native Lua commands as well as commands specifically prepared to be used in LOVEConsole. Additionally, the console also displays an optional but by default enabled widget that shows the number of warnings and errors that have been printed to the console so you can keep track of events even when the console is closed. This is especially useful when working or running a game in fullscreen since it removes the need to constantly alt-tab to the default LÖVE output console for information on game events.
If you're interested in trying it out you can grab it from GitHub
On the GitHub page you will also find some more advanced documentation and a guide to getting the system started if you are a newcomer to LÖVE2D and don't really know right off the bat what to do.
I hope you find some good use in this!