uh yeah i keep forgetting ab pushing these. sorry.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user