However, what still escapes me is, how to combine key presses.
For Example:
lctrl + r
or
lctrl + click
I'm sure that I am overlooking something, so if any of you can post a quick answer; I would really appreciate it!
And if you guys need a code reference of what I'm thinking of, this is what I've got... It obviously doesn't work
Code: Select all
function love.keypressed(key, unicode)
if key == "ctrl" and key == "r" then
playerX = 'numeric value'
playerY = 'numeric Value'
end