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/images | |
parent | 8781f3b04dff7434d302f7606cdcb0d2c1523cf8 (diff) |
internal resolution x10. get rid of rest get_sprites functions
Diffstat (limited to 'src/sliceitoff/images')
-rw-r--r-- | src/sliceitoff/images/images.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |