How would I do this?
It basically needs to take one line of love at a time, as entered by a user so I can see what happens when I type 'blah' easily.
Make a command line?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Make a command line?
You can of course do this with normal lua, if that's enough for you. I don't think LÖVE can work this way, but I could be wrong.
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Re: Make a command line?
There are several solutions:
- LICK by headchant, for livecoding. Executes code once you save a file. This way you can use your favourite editor.
- love-console by me, a hybrid of livecoding environment and debug console.
- Debug by kalle2990, which is an ingame console. More targeted at debugging.
Re: Make a command line?
Code: Select all
local func=loadstring(code_as_string_here)
func()
Code: Select all
loadstring("print(\"blah\");")()
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 207 guests