Search found 1 match

by ldmfield
Sun Sep 17, 2017 4:45 pm
Forum: Support and Development
Topic: Arg passed is nil
Replies: 7
Views: 5971

Arg passed is nil

function love.keypressed(key,scancode,isrepeat) if isrepeat == false then print(key) input.HandleInput(key) end end I have the above code in my main.lua; at the top of main.lua I have required the input script. When I press a button if its not a repeat then it prints the key to the console and then...