diff options
author | Viljami Ilola <+@hix.fi> | 2024-03-20 16:59:13 +0200 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-03-20 16:59:13 +0200 |
commit | 398eebe7829622c6983cb28528f2208b4d596f32 (patch) | |
tree | 411f5d2fa3b7fc8b5352bc3cda49621fbd858919 /src/sliceitoff/field | |
parent | 191110be33196866998da385fbc3107344d2bf73 (diff) |
text to srites. cache scaled font sprites...
Diffstat (limited to 'src/sliceitoff/field')
-rw-r--r-- | src/sliceitoff/field/field.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sliceitoff/field/field.py b/src/sliceitoff/field/field.py index 161cfcd..5d2a573 100644 --- a/src/sliceitoff/field/field.py +++ b/src/sliceitoff/field/field.py @@ -1,6 +1,6 @@ import os - import pygame + from display import Scaling, INTERNAL_WIDTH, INTERNAL_HEIGHT from stats import Stats @@ -20,7 +20,7 @@ class FieldSprite(pygame.sprite.Sprite): class Field(): - initial_area = (400_000, 280_000) + initial_area = (320_000, 220_000) def __init__(self): self.sprites = pygame.sprite.Group() |