comparison pytouhou/game/games.py @ 153:37df8c618c2e

Add falling items.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 09 Oct 2011 16:54:49 -0700
parents 4f46717390aa
children 80a4c7ed43b3
comparison
equal deleted inserted replaced
152:86807b8a63bd 153:37df8c618c2e
29 BulletType(etama3, 5, 12, 17, 18, 19, hitbox_size=4), 29 BulletType(etama3, 5, 12, 17, 18, 19, hitbox_size=4),
30 BulletType(etama3, 6, 13, 20, 20, 20, hitbox_size=16), 30 BulletType(etama3, 6, 13, 20, 20, 20, hitbox_size=16),
31 BulletType(etama3, 7, 13, 20, 20, 20, hitbox_size=11), 31 BulletType(etama3, 7, 13, 20, 20, 20, hitbox_size=11),
32 BulletType(etama3, 8, 13, 20, 20, 20, hitbox_size=9), 32 BulletType(etama3, 8, 13, 20, 20, 20, hitbox_size=9),
33 BulletType(etama4, 0, 1, 2, 2, 2, hitbox_size=32)] 33 BulletType(etama4, 0, 1, 2, 2, 2, hitbox_size=32)]
34 item_types = [ItemType(etama3, 0, 7, speed=8., hitbox_size=42), #TODO: hitbox 34 #TODO: hitbox
35 ItemType(etama3, 1, 8, speed=8., hitbox_size=42), #TODO: hitbox 35 item_types = [ItemType(etama3, 0, 7, hitbox_size=42, score=10), #Power
36 ItemType(etama3, 2, 9, speed=8., hitbox_size=42), #TODO: hitbox 36 ItemType(etama3, 1, 8, hitbox_size=42, score=100000), #Point, TODO: changes for hard, lunatic and poc
37 ItemType(etama3, 3, 10, speed=8., hitbox_size=42), #TODO: hitbox 37 ItemType(etama3, 2, 9, hitbox_size=42, score=10), #Big power
38 ItemType(etama3, 4, 11, speed=8., hitbox_size=42), #TODO: hitbox 38 ItemType(etama3, 3, 10, hitbox_size=42), #Bomb
39 ItemType(etama3, 5, 12, speed=8., hitbox_size=42), #TODO: hitbox 39 ItemType(etama3, 4, 11, hitbox_size=42, score=1000), #Full power
40 ItemType(etama3, 6, 13, speed=8., hitbox_size=42)] #TODO: hitbox 40 ItemType(etama3, 5, 12, hitbox_size=42), #1up
41 ItemType(etama3, 6, 13, hitbox_size=42, score=500)] #Star
41 42
42 player00 = resource_loader.get_anm_wrapper(('player00.anm',)) 43 player00 = resource_loader.get_anm_wrapper(('player00.anm',))
43 player01 = resource_loader.get_anm_wrapper(('player01.anm',)) 44 player01 = resource_loader.get_anm_wrapper(('player01.anm',))
44 characters = [Character(player00, 4., 2., 2.5), 45 characters = [Character(player00, 4., 2., 2.5),
45 Character(player00, 4., 2., 2.5), 46 Character(player00, 4., 2., 2.5),