-
-
Save videlais/72ffbb5244eaec2fbe73cba2c4d284f8 to your computer and use it in GitHub Desktop.
update draw.lua for drawing images
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function love.draw() | |
-- Draw the player.image texture at the coordinates of getX() and getY() | |
love.graphics.draw(player.image, player.body:getX(), player.body:getY() ) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment