Skip to content

Instantly share code, notes, and snippets.

Created Apr 10, 2018
What would you like to do?
Updated draw.lua with physics
function love.draw()
-- Draw the rectangle using:
-- "fill" (fill in the shape)
-- Using the X of player.body
-- Using the Y of player.body
-- Using the player.width
-- Using the player.height"fill", player.body:getX(), player.body:getY(), player.width, player.height )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment