A indepedent mobile console on version 0.0.5 to use on love2d created by Ayano the Foxy with the help of Choco on 24th may 2023 made with the lua languague
- simple of use
- don't need external dependences
- have a list of commands to use
- text colors included
To use the console you need download the code and put it in your program, looks like this
function love.load()
console = require 'console' --take the console script
console:new(0, 0) --create a new console at the position x: 0 y: 0
end
function love.draw()
console:render() --draw the console in the screen
console:print("hello world", 0, 0, 0) --draw things on console the text color is r: 0, g: 0, b: 0
console:print("wow im yellow", "yellow")
end
function love.update(dt)
console:update() --update the cosole
end
- red
- green
- blue
- purple
- yellow
- cyan