Search found 1 match

by Andrew4Lyf
Sat Apr 22, 2017 3:59 pm
Forum: Support and Development
Topic: keyboard.isDown help
Replies: 1
Views: 1517

keyboard.isDown help

I have this code: if love.keyboard.isDown('b') then if playerRotated == false then player.width = player.width * 2; player.height = player.height / 2; playerRotated = true; else player.width = player.width / 2; player.height = player.height * 2; playerRotated = false; end end Which rotates a rectang...