Mercurial > touhou
comparison pytouhou/game/games.py @ 139:3af65541dfd3
Add EoSD's hitboxes
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Sun, 25 Sep 2011 19:59:41 +0200 |
parents | 429de58498f9 |
children | ea21bb37febe |
comparison
equal
deleted
inserted
replaced
138:429de58498f9 | 139:3af65541dfd3 |
---|---|
18 | 18 |
19 class EoSDGame(Game): | 19 class EoSDGame(Game): |
20 def __init__(self, resource_loader, players, stage, rank, difficulty): | 20 def __init__(self, resource_loader, players, stage, rank, difficulty): |
21 etama3 = resource_loader.get_anm_wrapper(('etama3.anm',)) | 21 etama3 = resource_loader.get_anm_wrapper(('etama3.anm',)) |
22 etama4 = resource_loader.get_anm_wrapper(('etama4.anm',)) | 22 etama4 = resource_loader.get_anm_wrapper(('etama4.anm',)) |
23 bullet_types = [BulletType(etama3, 0, 11, 14, 15, 16), | 23 bullet_types = [BulletType(etama3, 0, 11, 14, 15, 16, hitbox_size=4), |
24 BulletType(etama3, 1, 12, 17, 18, 19), | 24 BulletType(etama3, 1, 12, 17, 18, 19, hitbox_size=6), |
25 BulletType(etama3, 2, 12, 17, 18, 19), | 25 BulletType(etama3, 2, 12, 17, 18, 19, hitbox_size=4), |
26 BulletType(etama3, 3, 12, 17, 18, 19), | 26 BulletType(etama3, 3, 12, 17, 18, 19, hitbox_size=6), |
27 BulletType(etama3, 4, 12, 17, 18, 19), | 27 BulletType(etama3, 4, 12, 17, 18, 19, hitbox_size=5), |
28 BulletType(etama3, 5, 12, 17, 18, 19), | 28 BulletType(etama3, 5, 12, 17, 18, 19, hitbox_size=4), |
29 BulletType(etama3, 6, 13, 20, 20, 20), | 29 BulletType(etama3, 6, 13, 20, 20, 20, hitbox_size=16), |
30 BulletType(etama3, 7, 13, 20, 20, 20), | 30 BulletType(etama3, 7, 13, 20, 20, 20, hitbox_size=11), |
31 BulletType(etama3, 8, 13, 20, 20, 20), | 31 BulletType(etama3, 8, 13, 20, 20, 20, hitbox_size=9), |
32 BulletType(etama4, 0, 1, 2, 2, 2)] | 32 BulletType(etama4, 0, 1, 2, 2, 2, hitbox_size=32)] |
33 | 33 |
34 player00 = resource_loader.get_anm_wrapper(('player00.anm',)) | 34 player00 = resource_loader.get_anm_wrapper(('player00.anm',)) |
35 player01 = resource_loader.get_anm_wrapper(('player01.anm',)) | 35 player01 = resource_loader.get_anm_wrapper(('player01.anm',)) |
36 characters = [Character(player00, 4., 2., 2.5), | 36 characters = [Character(player00, 4., 2., 2.5), |
37 Character(player00, 4., 2., 2.5), | 37 Character(player00, 4., 2., 2.5), |