Oh okay lol it just checks the first letters of "lalt" or "lctrl" strings
See you later fellas
Search found 4 matches
- Wed Dec 13, 2017 2:06 pm
- Forum: Support and Development
- Topic: String.byte() of love.keypressed(key) argument
- Replies: 2
- Views: 2181
- Wed Dec 13, 2017 1:43 pm
- Forum: Support and Development
- Topic: String.byte() of love.keypressed(key) argument
- Replies: 2
- Views: 2181
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...
- Fri Aug 12, 2016 8:17 pm
- Forum: Support and Development
- Topic: love.textinput() reads input that "activates" it
- Replies: 3
- Views: 3005
Re: love.textinput() reads input that "activates" it
gonna use both options just in case
thanks guys
thanks guys
- Fri Aug 12, 2016 10:45 am
- Forum: Support and Development
- Topic: love.textinput() reads input that "activates" it
- Replies: 3
- Views: 3005
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...