diff --git a/steam_saver/surfaces/resources/steam_logo.png b/steam_saver/surfaces/resources/steam_logo.png new file mode 100644 index 0000000..bfe3dfc Binary files /dev/null and b/steam_saver/surfaces/resources/steam_logo.png differ diff --git a/steam_saver/surfaces/steam_screen.py b/steam_saver/surfaces/steam_screen.py index c325764..cc630d5 100644 --- a/steam_saver/surfaces/steam_screen.py +++ b/steam_saver/surfaces/steam_screen.py @@ -3,7 +3,7 @@ import os import random SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) -LOGO_SCALING = 0.1 +LOGO_SCALING = .5 class SteamLogo(pygame.sprite.Sprite): @@ -28,10 +28,11 @@ class SteamLogo(pygame.sprite.Sprite): super().__init__() # Load and scale original logo image - self.base_image = pygame.image.load(SCRIPT_DIR + '/resources/dvd.png') + self.base_image = pygame.image.load(SCRIPT_DIR + '/resources/steam_logo.png') self.base_image.convert_alpha() - self.base_image = pygame.transform.scale(self.base_image, (self.base_image.get_width() * LOGO_SCALING, - self.base_image.get_height() * LOGO_SCALING)) + self.base_image = pygame.transform.smoothscale(self.base_image, + (self.base_image.get_width() * LOGO_SCALING, + self.base_image.get_height() * LOGO_SCALING)) # Copy the base image and store it in a separate instance variable; this is the image that will be drawn. self.image = self.base_image.copy() @@ -146,4 +147,4 @@ class Surface(pygame.Surface): self.all_sprites.update() # Draw all sprites onto this surface. - self.all_sprites.draw(self) \ No newline at end of file + self.all_sprites.draw(self)