Search found 1 match
- Fri Aug 15, 2014 7:00 pm
- Forum: Support and Development
- Topic: First game, struggling with camera/movement
- Replies: 7
- Views: 4715
Re: First game, struggling with camera/movement
This function has a syntactical error: function love.keypressed(key) if key == "d" then cam:move(250, 250) if key == "s" then viewx = viewx + 1 end end It should be: function love.keypressed(key) if key == "d" then cam:move(250, 250) end -- notice the "end" he...