diff --git a/deepnight.p8 b/deepnight.p8 index ae2f1ed..c583eed 100644 --- a/deepnight.p8 +++ b/deepnight.p8 @@ -19,15 +19,6 @@ local player = { dx = 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) -- Apply gravity self.dy = self.dy + 0.05