comparison pytouhou/games/eosd.py @ 197:e1bc8c4cbb1a

Do the right action when collecting an item.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 30 Oct 2011 11:29:08 -0700
parents 1e501e3b6645
children 8ec34c56fed0
comparison
equal deleted inserted replaced
196:1e501e3b6645 197:e1bc8c4cbb1a
35 BulletType(etama3, 6, 13, 20, 20, 20, hitbox_size=16), 35 BulletType(etama3, 6, 13, 20, 20, 20, hitbox_size=16),
36 BulletType(etama3, 7, 13, 20, 20, 20, hitbox_size=11), 36 BulletType(etama3, 7, 13, 20, 20, 20, hitbox_size=11),
37 BulletType(etama3, 8, 13, 20, 20, 20, hitbox_size=9), 37 BulletType(etama3, 8, 13, 20, 20, 20, hitbox_size=9),
38 BulletType(etama4, 0, 1, 2, 2, 2, hitbox_size=32)] 38 BulletType(etama4, 0, 1, 2, 2, 2, hitbox_size=32)]
39 #TODO: hitbox 39 #TODO: hitbox
40 item_types = [ItemType(etama3, 0, 7, hitbox_size=42, score=10), #Power 40 item_types = [ItemType(etama3, 0, 7), #Power
41 ItemType(etama3, 1, 8, hitbox_size=42, score=100000), #Point, TODO: changes for hard, lunatic and poc 41 ItemType(etama3, 1, 8), #Point
42 ItemType(etama3, 2, 9, hitbox_size=42, score=10), #Big power 42 ItemType(etama3, 2, 9), #Big power
43 ItemType(etama3, 3, 10, hitbox_size=42), #Bomb 43 ItemType(etama3, 3, 10), #Bomb
44 ItemType(etama3, 4, 11, hitbox_size=42, score=1000), #Full power 44 ItemType(etama3, 4, 11), #Full power
45 ItemType(etama3, 5, 12, hitbox_size=42), #1up 45 ItemType(etama3, 5, 12), #1up
46 ItemType(etama3, 6, 13, hitbox_size=42, score=500)] #Star 46 ItemType(etama3, 6, 13)] #Star
47 47
48 eosd_characters = [ReimuA, ReimuB, MarisaA, MarisaB] 48 eosd_characters = [ReimuA, ReimuB, MarisaA, MarisaB]
49 players = [] 49 players = []
50 for player in player_states: 50 for player in player_states:
51 players.append(eosd_characters[player.character](player, self, resource_loader)) 51 players.append(eosd_characters[player.character](player, self, resource_loader))