From: Skullheadx <704277@pdsb.net> Date: Wed, 13 Jul 2022 19:25:31 +0000 (-0400) Subject: boss fight not debug anymore X-Git-Url: http://git.skullheadx.com/nixos/static/about.html?a=commitdiff_plain;h=ba8ee984ba18be8d05279fff4f88f9d9e7a353c9;p=Pygame-Jam.git boss fight not debug anymore --- diff --git a/Enemy.py b/Enemy.py index 393933e..fc6ca0b 100644 --- a/Enemy.py +++ b/Enemy.py @@ -148,8 +148,8 @@ class Skeleton(Actor): self.direction = -1 self.prev_direction = self.direction - # self.health = 75 - self.health = 0 # for debugging without getting killed + self.health = 75 + # self.health = 0 # for debugging without getting killed self.weapon = Sword(self.position, (0, 0), self.width, -1) @@ -256,7 +256,7 @@ class King(Actor): self.direction = -1 self.prev_direction = self.direction - self.health = 1 # for debugging without getting killed + self.health = 1000 # for debugging without getting killed self.weapon = Lightning(self.position, (-125 - self.width/2,0), self.width, -1) self.buffer = [] diff --git a/Game.py b/Game.py index c94f936..2a1f81f 100644 --- a/Game.py +++ b/Game.py @@ -258,12 +258,10 @@ class Game: if self.king is not None and isinstance(self.king, PhysicsBody): self.Transition.update() self.Transition.draw(surf, self.player.position, self.portal_position) - print('a') if(self.portal_position[1] < 3150): lst = list(self.portal_position) - lst[1] += 2 + lst[1] += 10 self.portal_position = tuple(lst) - print('b') # print(get_camera_offset(), getWorldCoords(0, 0)) if (self.player.position[1] > 10000):