Search found 1 match

by hallfour2009
Sat Jan 04, 2014 2:05 pm
Forum: Support and Development
Topic: Movement Prob
Replies: 3
Views: 1434

Movement Prob

Hello, I am trying to use simple movement that isn't working, here's the code: player.xvel = 0 player.spe = 144000 function player.move(dt) if love.keyboard.isDown("d") then player.xvel = player.xvel + (player.spe * dt) elseif love.keyboard.isDown("a") then player.xvel = player.x...