basic stuff w movemet n collision done
This commit is contained in:
parent
03112bb0fb
commit
bffa27ec01
4 changed files with 25 additions and 15 deletions
|
|
@ -18,11 +18,4 @@ end
|
|||
|
||||
function Player:update()
|
||||
|
||||
end
|
||||
|
||||
function Player:draw()
|
||||
love.graphics.setColor(self.color:set())
|
||||
local p = self:getDrawPos()
|
||||
love.graphics.draw(self.sprite, p.x, p.y, 0, drawScale, drawScale)
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue