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)
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 = []
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):