Update deepnight.p8

This commit is contained in:
scambier 2026-05-02 19:48:30 +02:00
parent a7bc208450
commit 1247ccc5a9

View File

@ -19,15 +19,6 @@ local player = {
dx = 0, dx = 0,
dy = 0, dy = 0,
setCoordinates = function(self, x, y)
self.xx = x
self.yy = y
self.cx = flr(self.xx / TILESIZE)
self.xy = flr(self.yy / TILESIZE)
self.xr = (self.xx - self.cx * TILESIZE) / TILESIZE
self.xy = (self.yy - self.cy * TILESIZE) / TILESIZE
end,
update = function(self) update = function(self)
-- Apply gravity -- Apply gravity
self.dy = self.dy + 0.05 self.dy = self.dy + 0.05