Search found 1 match

by adudedeveloper
Sat Apr 13, 2019 2:08 pm
Forum: Support and Development
Topic: movement code
Replies: 2
Views: 7516

movement code

:awesome: Finally! here is some code for movement :3 if love.keyboard.isDown("up") then py = py - 1 end if love.keyboard.isDown("down") then py = py + 1 end if love.keyboard.isDown("left") then px = px - 1 end if love.keyboard.isDown("right") then px = px + 1 ...