Search found 4 matches

by gabberswag
Wed Dec 13, 2017 2:06 pm
Forum: Support and Development
Topic: String.byte() of love.keypressed(key) argument
Replies: 2
Views: 2075

Re: String.byte() of love.keypressed(key) argument

Oh okay lol it just checks the first letters of "lalt" or "lctrl" strings

See you later fellas
by gabberswag
Wed Dec 13, 2017 1:43 pm
Forum: Support and Development
Topic: String.byte() of love.keypressed(key) argument
Replies: 2
Views: 2075

String.byte() of love.keypressed(key) argument

Hey there fellas To check if the "key" in love.keypressed(key) is a letter from a-z i checked it with string.byte() if its inbetween 97 and 122 and it even worked a bit BUT For some reason when i press Ctrl or Alt the string.byte() returns 108("f" in ascii)? Shift returns 111 and...
by gabberswag
Fri Aug 12, 2016 8:17 pm
Forum: Support and Development
Topic: love.textinput() reads input that "activates" it
Replies: 3
Views: 2828

Re: love.textinput() reads input that "activates" it

gonna use both options just in case

thanks guys
by gabberswag
Fri Aug 12, 2016 10:45 am
Forum: Support and Development
Topic: love.textinput() reads input that "activates" it
Replies: 3
Views: 2828

love.textinput() reads input that "activates" it

hey Im trying to make my game have you input name after you picked one of options using a-z keys, however the key used to pick the option also gets carried on to the next screen as the first letter of name. function love.load() text = "" inputReady = false end function love.textinput(t) if...