A console thing
Re: A console thing
Thanks zeddy. This is the cat's meow! Are you cool with us distributing under Zlib license or as public domain?
--
volts
volts
Re: A console thing
Hey, thanksvolts wrote:Thanks zeddy. This is the cat's meow! Are you cool with us distributing under Zlib license or as public domain?
Sure i'll say public domain, so do what you like with it
-
- Citizen
- Posts: 94
- Joined: Thu Feb 21, 2008 1:11 am
Re: A console thing
It's the most shitty thing I hate about SDL. They write about it in documentation but I'm not gona show you because of laziness. They do not support localised keyboards and it does not seam that they're ever gona do anything with this. This whole thing sux. Because I can not use half of my keyboard so I have to run games through setxkbmap scripts to be able to play games like a normal man. And if I play like that I can't do anything else because of different layout.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!
And that's why SDL is a bad thing.
Sorry about this. I just need to tell anybody.
>>I love LÖVE.<<
Re: A console thing
We were discussing how to fix this by having some sort of keyboard-mapping thing in LÖVE (for great justice and the like), but it'll probably come in LÖVE 2.0 or something...
Now posting IN STEREO (where available)
- BlackNecro
- Prole
- Posts: 2
- Joined: Fri Aug 29, 2008 2:09 pm
Re: A console thing
I found Löve about a few hours ago before that pretty much worked with gmod the for quite some time now ( started scripting lua in june 06).
I played around quite a while until I found this - nice console I like it really much.
I couldn't resist and just had to edit the printv function a bit.
My edited one supports multi dimensional tables and prints them pretty much organized - it's just a bit complicated if you print bigger tables as it fills the small console space quite quickly (*cough* a scrollbar would be nice *cough*)
If somebody wants it or you, zeggy, even wants to add it to the console or whatever feel free to do whatever you want with it
I played around quite a while until I found this - nice console I like it really much.
I couldn't resist and just had to edit the printv function a bit.
My edited one supports multi dimensional tables and prints them pretty much organized - it's just a bit complicated if you print bigger tables as it fills the small console space quite quickly (*cough* a scrollbar would be nice *cough*)
If somebody wants it or you, zeggy, even wants to add it to the console or whatever feel free to do whatever you want with it
Code: Select all
function Console:printv(inTable,scope)
scope = scope or 0
local spacer = string.rep(" ",scope*3) or ""
for var, value in pairs(inTable) do
if type(value) == "table" then
self:print(spacer..tostring(var).." = ".. tostring(value))
self:printv(value, scope + 1)
else
local printval = tostring(value) or type(var) == "string" and '"'..tostring(value)..'"'
self:print(spacer .. tostring(var) .. " = " ..printval)
end
end
end
- nightvenom
- Prole
- Posts: 36
- Joined: Sat Aug 16, 2008 3:07 pm
Re: A console thing
Old news, but never saw this sweet stuff ? So is this free to use on our projects ?
Re: A console thing
Good work!
Is you code is under free licence ?
Regards,
Is you code is under free licence ?
Regards,
My projects current projects : dragoon-framework (includes lua-newmodule, lua-provide, lovemodular, , classcommons2, and more ...)
Re: A console thing
Yeah, sure. Public domain, so you can use it and modify it however you like.
Re: A console thing
Oups, sorry I don't see the 2nd page speaking about licence...
Thanks for your god work!
I'm working on advanced input lib and widget management lib for love.
Both fully built on lua.
I will try to release them soon (under GPL).
About your console I suggest (maybe I will modify myself if I get time) to add argument to New console to specofy the toggle key.
And manage everything internaly (parse all keys except the toggle key)...
Regards,
Thanks for your god work!
I'm working on advanced input lib and widget management lib for love.
Both fully built on lua.
I will try to release them soon (under GPL).
About your console I suggest (maybe I will modify myself if I get time) to add argument to New console to specofy the toggle key.
And manage everything internaly (parse all keys except the toggle key)...
Regards,
My projects current projects : dragoon-framework (includes lua-newmodule, lua-provide, lovemodular, , classcommons2, and more ...)
- nightvenom
- Prole
- Posts: 36
- Joined: Sat Aug 16, 2008 3:07 pm
Re: A console thing
Ok ty
Yes it will be under a free license
Yes it will be under a free license
Who is online
Users browsing this forum: Google [Bot] and 9 guests