Search found 1 match

by Chevelle1995
Wed Jun 24, 2015 1:57 am
Forum: Support and Development
Topic: Multiple key press function thing not working
Replies: 9
Views: 6005

Multiple key press function thing not working

key = {} function keyisdown(v) for i=1, #key do if v == key[i] then return true else return false end end end function love.draw() if keyisdown("a") then love.graphics.print("a", 16, 16) end if keyisdown("b") then love.graphics.print("b", 16, 32) end if keyis...