comparison pytouhou/game/games.py @ 176:80a4c7ed43b3

Add grazing check.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 22 Oct 2011 06:21:38 -0700
parents 37df8c618c2e
children 008f90ebfdc0
comparison
equal deleted inserted replaced
175:5dc243bcf312 176:80a4c7ed43b3
40 ItemType(etama3, 5, 12, hitbox_size=42), #1up 40 ItemType(etama3, 5, 12, hitbox_size=42), #1up
41 ItemType(etama3, 6, 13, hitbox_size=42, score=500)] #Star 41 ItemType(etama3, 6, 13, hitbox_size=42, score=500)] #Star
42 42
43 player00 = resource_loader.get_anm_wrapper(('player00.anm',)) 43 player00 = resource_loader.get_anm_wrapper(('player00.anm',))
44 player01 = resource_loader.get_anm_wrapper(('player01.anm',)) 44 player01 = resource_loader.get_anm_wrapper(('player01.anm',))
45 characters = [Character(player00, 4., 2., 2.5), 45 characters = [Character(player00, 4., 2., 2.5, 42.),
46 Character(player00, 4., 2., 2.5), 46 Character(player00, 4., 2., 2.5, 42.),
47 Character(player01, 5., 2.5, 2.5), 47 Character(player01, 5., 2.5, 2.5, 42.),
48 Character(player01, 5., 2.5, 2.5)] 48 Character(player01, 5., 2.5, 2.5, 42.)]
49 49
50 Game.__init__(self, resource_loader, players, stage, rank, difficulty, 50 Game.__init__(self, resource_loader, players, stage, rank, difficulty,
51 bullet_types, item_types, characters, nb_bullets_max=640) 51 bullet_types, item_types, characters, nb_bullets_max=640)
52 52