]> Skullheadx's Git Forge - Pygame-Jam.git/commitdiff
Merge branch 'main' of https://github.com/Skullheadx/Pygame-Jam
authorSkullheadx <704277@pdsb.net>
Wed, 13 Jul 2022 17:02:18 +0000 (13:02 -0400)
committerSkullheadx <704277@pdsb.net>
Wed, 13 Jul 2022 17:02:18 +0000 (13:02 -0400)
1  2 
Enemy.py

diff --cc Enemy.py
index 654f3f8dd035799d18678bd0940d0dd5d6188011,13eaa4076538e6bab12d2c8e4e75673adec6695d..ea87a3c24da431cd052f280a7988abe4813998fd
+++ b/Enemy.py
@@@ -131,9 -131,10 +131,12 @@@ class Skeleton(Actor)
      attack_frames = []
      for i in range(attack_gif.n_frames):
          attack_frames.append(pg.transform.scale(pil_to_game(get_gif_frame(attack_gif, i)), (170, 138)))
 +    # player_grunt = pg.mixer.Sound("Assets/SFX/Player Grunt.wav")
 +    # player_grunt_channel = pg.mixer.Channel(4)
  
+     player_grunt = pg.mixer.Sound("Assets/SFX/Player Grunt.wav")
+     player_grunt_channel = pg.mixer.Channel(4)
      def __init__(self, pos, collision_layer, collision_mask):
          super().__init__(pos, collision_layer, collision_mask)