noble animations

This commit is contained in:
2024-06-02 20:25:27 +03:00
parent f19610e458
commit 3ca6427583
15 changed files with 218 additions and 192 deletions

View File

@@ -13,7 +13,7 @@ function Tank:init(x, y, player, ground)
Graphics.pushContext(self.faded_image)
self.tankImageD:drawBlurred(0, 0, 2, 2, Graphics.image.kDitherTypeFloydSteinberg)
Graphics.popContext()
Graphics.popContext()
-- Collision properties
self:setZIndex(99)
@@ -51,5 +51,5 @@ function Tank:update()
Tank.moveSpeed = 1
end
self:moveTo(self.x-Tank.moveSpeed, self.y)
self:moveTo(self.x - Tank.moveSpeed, self.y)
end