From 398eebe7829622c6983cb28528f2208b4d596f32 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Wed, 20 Mar 2024 16:59:13 +0200 Subject: text to srites. cache scaled font sprites... --- src/sliceitoff/field/field.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sliceitoff/field/field.py') 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() -- cgit v1.2.3