Hi,
I knocked up a fairly basic console sort of thing.
You can enter lua statements and whatnot.. now you might actually use the 'Continue' button on the BSOL (blue screen of love)!
Hopefully, you'll find it useful ;]
Some pictures:
(*ahem* ignore the background)
An example and the lua script if you can't be bothered opening the .love to get Console.lua:
ConsoleTest.love
Console.lua
EDIT: Just changed/fixed a couple of things, and stuck it on google pages
EDIT 2: Updated file links
A console thing
A console thing
Last edited by zeddy on Sun Jun 28, 2009 10:04 am, edited 3 times in total.
Re: A console thing
Me like it a lot!
There's even command history! ^-^)/
There's even command history! ^-^)/
Re: A console thing
Rude, didn't we have a console-like thing built into löve a really long time ago? I remember something about it...
Now posting IN STEREO (where available)
Re: A console thing
Well ... yeah, but not nearly as good as this.
Re: A console thing
I have just a "change me I dare you" when I launch the ConsoleTest.love. What am I missing?
Re: A console thing
Hey, you can hit tilde (~) key to toggle the console. Try typing something like g_printText = "new text" to set the string that's being drawnfarvardin wrote:I have just a "change me I dare you" when I launch the ConsoleTest.love. What am I missing?
Re: A console thing
I don't know if it's because I'm on linux or it's using an US keyboard, but it's not working. In a windows virtual machine with virtualbox, it's working though (and the keyboard is qwerty)
It looks cool anyway!
It looks cool anyway!
Re: A console thing
Hm It's not the key checking by any chance? Maybe try changing it to love.key_f1 or something in keypressed()farvardin wrote:I don't know if it's because I'm on linux or it's using an US keyboard, but it's not working. In a windows virtual machine with virtualbox, it's working though (and the keyboard is qwerty)
It looks cool anyway!
Does it just not display at all?
Re: A console thing
yes, it's working with f1, thanks for the tips.
Who is online
Users browsing this forum: No registered users and 5 guests