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/images/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sliceitoff/images') diff --git a/src/sliceitoff/images/images.py b/src/sliceitoff/images/images.py index 07a8bcd..7ae1f6d 100644 --- a/src/sliceitoff/images/images.py +++ b/src/sliceitoff/images/images.py @@ -20,7 +20,7 @@ class Images: print(f"Loading images {name = }, {filename = }") image = pygame.image.load(filename) rgba = pygame.Surface.convert_alpha(image) - scaled = pygame.transform.smoothscale_by(rgba, Scaling.factor) + scaled = pygame.transform.smoothscale_by(rgba, Scaling.factor*10) __class__.surfaces[name] = scaled return True -- cgit v1.2.3