diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eeb8a6e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +**/__pycache__ diff --git a/source/component/zombie.py b/source/component/zombie.py index 73780f1..b32bcf1 100644 --- a/source/component/zombie.py +++ b/source/component/zombie.py @@ -153,6 +153,10 @@ def animation(self): self.image = self.frames[self.frame_index] if self.is_hypno: self.image = pg.transform.flip(self.image, True, False) + if self.ice_slow_ratio > 1: + self.image = self.image.convert_alpha() + self.image.fill((100, 100, 255, 255), None, pg.BLEND_RGBA_MULT) + if(self.current_time - self.hit_timer) >= 200: self.image.set_alpha(255) else: