diff --git a/maguro-game/maguro-game.py b/maguro-game/maguro-game.py index 866aec2..78e96d0 100644 --- a/maguro-game/maguro-game.py +++ b/maguro-game/maguro-game.py @@ -164,11 +164,11 @@ class Game: self.cat_right_base = pygame.image.load("cat.png").convert_alpha() self.sushi_images = [] - for i in [1, 2, 4, 5]: + for i in [1, 2, 4, 3]: # sushi5.png renamed to sushi3.png img = pygame.image.load(f"sushi{i}.png").convert_alpha() img = pygame.transform.smoothscale(img, SUSHI_SIZE) self.sushi_images.append(img) - self.wasabi_img = pygame.image.load("sushi3.png").convert_alpha() + self.wasabi_img = pygame.image.load("wasabi.png").convert_alpha() # sushi3.png renamed to wasabi.png self.wasabi_img = pygame.transform.smoothscale(self.wasabi_img, SUSHI_SIZE) self.cloud_base = pygame.image.load("cloud.png").convert_alpha() @@ -368,10 +368,10 @@ class Game: if not self.game_over: # Handle input - if keys[pygame.K_a]: + if keys[pygame.K_a] or keys[pygame.K_LEFT]: move = -1 self.cat.facing = "left" - elif keys[pygame.K_d]: + elif keys[pygame.K_d] or keys[pygame.K_RIGHT]: move = 1 self.cat.facing = "right" diff --git a/maguro-game/sushi3.png b/maguro-game/sushi3.png index 5583ed4..c06e43e 100644 Binary files a/maguro-game/sushi3.png and b/maguro-game/sushi3.png differ diff --git a/maguro-game/sushi5.png b/maguro-game/sushi5.png deleted file mode 100644 index c06e43e..0000000 Binary files a/maguro-game/sushi5.png and /dev/null differ diff --git a/maguro-game/wasabi.png b/maguro-game/wasabi.png new file mode 100644 index 0000000..5583ed4 Binary files /dev/null and b/maguro-game/wasabi.png differ