diff options
author | Viljami Ilola <+@hix.fi> | 2024-03-18 13:05:58 +0200 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-03-18 13:05:58 +0200 |
commit | b00fe8fe50392a75529864fe03399fa3a0976143 (patch) | |
tree | 4f61dbc5b771605984bb3c34d0b8a423c8a8c24c /src/sliceitoff/status/status.py | |
parent | 8781f3b04dff7434d302f7606cdcb0d2c1523cf8 (diff) |
internal resolution x10. get rid of rest get_sprites functions
Diffstat (limited to 'src/sliceitoff/status/status.py')
-rw-r--r-- | src/sliceitoff/status/status.py | 4 |
1 files changed, 2 insertions, 2 deletions
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)) )) |