Search found 1 match

by MKW9813
Sun Feb 19, 2012 1:54 pm
Forum: Support and Development
Topic: Moving a sprite with the keyboard?
Replies: 1
Views: 1936

Moving a sprite with the keyboard?

How would you move a sprite with the keyboard? I have got as far as this: function love.load() love.mouse.setVisible(false) mouse = love.graphics.newImage("crosshair.png") player = love.graphics.newImage("player.png") up = love.keyboard.isDown( w ) down = love.keyboard.isDown( s ...