Exemple #1
0
 def __init__(self, coords, sprite, positions):
     x, y = coords
     # move cursor 50 pixels to the right so we get right above the
     # character
     GameObject.__init__(self, (x + self.offset, y), (40, 80), sprite)
     self.y = y
     self.positions = positions
     self.selected_position = 0
Exemple #2
0
 def __init__(self):
     GameObject.__init__(self, (0, 0), (640, 480),
                         "data/character_select_background.png")
Exemple #3
0
 def __init__(self, coords, sprite, player_num):
     GameObject.__init__(self, coords, (80, 200), sprite)
     self.player_num = player_num
     self.orig_sprite = sprite