noble animations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user