From b00fe8fe50392a75529864fe03399fa3a0976143 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Mon, 18 Mar 2024 13:05:58 +0200 Subject: internal resolution x10. get rid of rest get_sprites functions --- src/sliceitoff/status/status.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sliceitoff/status') diff --git a/src/sliceitoff/status/status.py b/src/sliceitoff/status/status.py index 5390299..4f2125a 100644 --- a/src/sliceitoff/status/status.py +++ b/src/sliceitoff/status/status.py @@ -26,9 +26,9 @@ class Status(): """ Update sprites basis of dt. dt = milliseconds from last update """ if self.updated: self.sprites.empty() - y = 28_000 + y = 280_000 score_str="{:010d}".format(self.score) - for letter, x in zip(score_str, range(30_000,40_000,1_000)): + for letter, x in zip(score_str, range(300_000,400_000,10_000)): self.sprites.add(LetterSprite( Images.surfaces[f"letter_{letter}"], Scaling.scale_to_display((x,y)) )) -- cgit v1.2.3