improvement: pull a bit down the view center
This commit is contained in:
parent
b92f441d40
commit
1830e390bb
1 changed files with 5 additions and 0 deletions
|
@ -63,6 +63,11 @@ function Player:setDirection(direction)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function Player:getViewCenter()
|
||||||
|
local x, y = Player.super.getViewCenter(self)
|
||||||
|
return x, y-16
|
||||||
|
end
|
||||||
|
|
||||||
function Player:draw()
|
function Player:draw()
|
||||||
Player.super.draw(self)
|
Player.super.draw(self)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue