def __init__(self): self.right_animation = Animation([ "image/n***a/n***a right/nigga10.png", "image/n***a/n***a right/nigga12.png", "image/n***a/n***a right/nigga14.png", "image/n***a/n***a right/nigga16.png", "image/n***a/n***a right/nigga18.png" ], loop=True) self.left_animation = Animation([ "image/n***a/n***a left/nigga10.png", "image/n***a/n***a left/nigga12.png", "image/n***a/n***a left/nigga14.png", "image/n***a/n***a left/nigga16.png", "image/n***a/n***a left/nigga18.png" ], loop=True) self.up_animation = Animation([ "image/n***a/n***a up/nigga10.png", "image/n***a/n***a up/nigga12.png", "image/n***a/n***a up/nigga14.png", "image/n***a/n***a up/nigga16.png", "image/n***a/n***a up/nigga18.png" ], loop=True) self.down_animation = Animation([ "image/n***a/n***a down/nigga10.png", "image/n***a/n***a down/nigga12.png", "image/n***a/n***a down/nigga14.png", "image/n***a/n***a down/nigga16.png", "image/n***a/n***a down/nigga18.png" ], loop=True) self.stand = ImageRenderer("image/n***a/n***a right/nigga10.png") self.current_animation = self.stand
def __init__(self, x, y): GameObject.__init__(self, x, y) self.renderer = ImageRenderer("image/37059021_226940234620421_6512011225008701440_n.png")
def __init__(self): self.renderer = ImageRenderer( "image/37206651_226948211286290_1494096384997982208_n.png") pygame.mixer.music.load("audio/victory.wav") pygame.mixer.music.play(0)
def __init__(self, status): if not status: self.right_animation = Animation([ "image/n***a/n***a right/nigga10.png", "image/n***a/n***a right/nigga12.png", "image/n***a/n***a right/nigga14.png", "image/n***a/n***a right/nigga16.png", "image/n***a/n***a right/nigga18.png" ], loop=True) self.left_animation = Animation([ "image/n***a/n***a left/nigga10.png", "image/n***a/n***a left/nigga12.png", "image/n***a/n***a left/nigga14.png", "image/n***a/n***a left/nigga16.png", "image/n***a/n***a left/nigga18.png" ], loop=True) self.up_animation = Animation([ "image/n***a/n***a up/nigga10.png", "image/n***a/n***a up/nigga12.png", "image/n***a/n***a up/nigga14.png", "image/n***a/n***a up/nigga16.png", "image/n***a/n***a up/nigga18.png" ], loop=True) self.down_animation = Animation([ "image/n***a/n***a down/nigga10.png", "image/n***a/n***a down/nigga12.png", "image/n***a/n***a down/nigga14.png", "image/n***a/n***a down/nigga16.png", "image/n***a/n***a down/nigga18.png" ], loop=True) self.right_stand = ImageRenderer( "image/n***a/n***a right/nigga10.png") self.left_stand = ImageRenderer( "image/n***a/n***a left/nigga10.png") self.down_stand = ImageRenderer( "image/n***a/n***a down/nigga10.png") self.up_stand = ImageRenderer("image/n***a/n***a up/nigga10.png") self.current_animation = self.right_stand else: self.right_animation = Animation([ "image/n***a ++/n***a ++ right/nnigga10.png", "image/n***a ++/n***a ++ right/nnigga12.png", "image/n***a ++/n***a ++ right/nnigga14.png", "image/n***a ++/n***a ++ right/nnigga16.png", "image/n***a ++/n***a ++ right/nnigga18.png" ], loop=True) self.left_animation = Animation([ "image/n***a ++/n***a ++ lefy/nnigga10.png", "image/n***a ++/n***a ++ lefy/nnigga12.png", "image/n***a ++/n***a ++ lefy/nnigga14.png", "image/n***a ++/n***a ++ lefy/nnigga16.png", "image/n***a ++/n***a ++ lefy/nnigga18.png" ], loop=True) self.up_animation = Animation([ "image/n***a ++/n***a ++ up/nnigga10.png", "image/n***a ++/n***a ++ up/nnigga12.png", "image/n***a ++/n***a ++ up/nnigga14.png", "image/n***a ++/n***a ++ up/nnigga16.png", "image/n***a ++/n***a ++ up/nnigga18.png" ], loop=True) self.down_animation = Animation([ "image/n***a ++/n***a ++ down/nnigga10.png", "image/n***a ++/n***a ++ down/nnigga12.png", "image/n***a ++/n***a ++ down/nnigga14.png", "image/n***a ++/n***a ++ down/nnigga16.png", "image/n***a ++/n***a ++ down/nnigga18.png" ], loop=True) self.right_stand = ImageRenderer( "image/n***a ++/n***a ++ right/nnigga10.png", ) self.left_stand = ImageRenderer( "image/n***a ++/n***a ++ lefy/nnigga10.png", ) self.down_stand = ImageRenderer( "image/n***a ++/n***a ++ down/nnigga10.png", ) self.up_stand = ImageRenderer( "image/n***a ++/n***a ++ up/nnigga10.png", ) self.current_animation = self.left_stand
def __init__(self, x, y): GameObject.__init__(self, x, y) self.renderer = ImageRenderer("image/enemy/enemy/enemy right1.png") self.box_collider = BoxCollider(32, 32)
def __init__(self, x, y): GameObject.__init__(self, x, y) self.renderer = ImageRenderer("image/map/image/6.png") self.box_collider = BoxCollider(16, 16)
def __init__(self, x, y): GameObject.__init__(self, x, y) self.renderer = ImageRenderer("image/map/image/1.png")
def __init__(self, x, y): GameObject.__init__(self, x, y) self.renderer = ImageRenderer("image/menu/winning_scene.png")
def __init__(self, x, y): GameObject.__init__(self, x, y) self.renderer = ImageRenderer("image/menu/Gameover.png")
def __init__(self, x, y): GameObject.__init__(self, x, y) self.renderer = ImageRenderer("image/slave/prisoner.png") self.box_collider = BoxCollider(32, 32)