uh yeah i keep forgetting ab pushing these. sorry.

This commit is contained in:
lustlion
2022-01-18 00:14:54 +01:00
parent dd2debc0bd
commit 5a266d6b3a
73 changed files with 405 additions and 274 deletions

View File

@@ -34,8 +34,8 @@ function Animation:DrawFrame(frame, x, y, rotate, sx, sy)
local sy = sy or 1
love.graphics.draw(
self.imgs[frame],
x - Camera.pos.x,
y - Camera.pos.y,
math.floor(x - Camera.pos.x),
math.floor(y - Camera.pos.y),
rotate,
sx,
sy
@@ -66,8 +66,8 @@ function Animation:Draw(x, y, rotate, sx, sy)
local sy = sy or 1
love.graphics.draw(
self.imgs[self.frame],
x,
y,
math.floor(x),
math.floor(y),
rotate,
sx,
sy