love-repl (simple lua console)
Posted: Sun Jan 06, 2013 5:46 am
Hey guys.
Since I couldn't get any of the existing console projects I found to work, I whipped up my own this evening.
Features and misfeatures:
- Boost software license (you don't have to worry about the license or even include it in your documentation)
- Does not override built-in love functions (but does require you to add hooks to draw, keypressed and mousepressed)
- Mouse scrolling
- Basic line editing
- History
- Looks pretty cool because it takes a screenshot of your game, darkens it and then renders the console over it, like so
Documentation and code is on GitHub. If you don't care about git, you can just download the main file, save it as repl.lua and require it in your project.
Since I couldn't get any of the existing console projects I found to work, I whipped up my own this evening.
Features and misfeatures:
- Boost software license (you don't have to worry about the license or even include it in your documentation)
- Does not override built-in love functions (but does require you to add hooks to draw, keypressed and mousepressed)
- Mouse scrolling
- Basic line editing
- History
- Looks pretty cool because it takes a screenshot of your game, darkens it and then renders the console over it, like so
Documentation and code is on GitHub. If you don't care about git, you can just download the main file, save it as repl.lua and require it in your project.