summaryrefslogtreecommitdiff
path: root/src/sliceitoff/text/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sliceitoff/text/text.py')
-rw-r--r--src/sliceitoff/text/text.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sliceitoff/text/text.py b/src/sliceitoff/text/text.py
index e8ccb57..9bb7c9a 100644
--- a/src/sliceitoff/text/text.py
+++ b/src/sliceitoff/text/text.py
@@ -15,16 +15,16 @@ class LetterSprite(pygame.sprite.Sprite):
Scaling.factor * (1_000 - randrange(2_000)),
Scaling.factor * (1_000 - randrange(2_000)))
- def update(self, explode=0):
+ def update(self, explode = 0, **kwargs):
if explode:
self.rect = pygame.Rect(
self.rect.x + self.direction[0] * explode,
self.rect.y + self.direction[1] * explode,
self.rect.w,
self.rect.h)
- self.direction = (
- self.direction[0] * 0.8,
- self.direction[1] * 0.8 + 1)
+ self.direction = (
+ self.direction[0] * 1,
+ self.direction[1] * 1 + 0.5)
class TextPage(pygame.sprite.Group):