Mercurial > touhou
comparison pytouhou/games/eosd.py @ 312:8d1768fa4cbb
Fix Remilia's “Red Magic”.
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Wed, 14 Mar 2012 19:05:23 +0100 |
parents | 5492472963b0 |
children | 61adb5453e46 |
comparison
equal
deleted
inserted
replaced
311:550ec10cccbc | 312:8d1768fa4cbb |
---|---|
33 nb_bullets_max=640, width=384, height=448, prng=None): | 33 nb_bullets_max=640, width=384, height=448, prng=None): |
34 | 34 |
35 if not bullet_types: | 35 if not bullet_types: |
36 etama3 = resource_loader.get_anm_wrapper(('etama3.anm',)) | 36 etama3 = resource_loader.get_anm_wrapper(('etama3.anm',)) |
37 etama4 = resource_loader.get_anm_wrapper(('etama4.anm',)) | 37 etama4 = resource_loader.get_anm_wrapper(('etama4.anm',)) |
38 bullet_types = [BulletType(etama3, 0, 11, 14, 15, 16, hitbox_size=4), | 38 bullet_types = [BulletType(etama3, 0, 11, 14, 15, 16, hitbox_size=4, |
39 BulletType(etama3, 1, 12, 17, 18, 19, hitbox_size=6), | 39 type_id=0), |
40 BulletType(etama3, 2, 12, 17, 18, 19, hitbox_size=4), | 40 BulletType(etama3, 1, 12, 17, 18, 19, hitbox_size=6, |
41 BulletType(etama3, 3, 12, 17, 18, 19, hitbox_size=6), | 41 type_id=1), |
42 BulletType(etama3, 4, 12, 17, 18, 19, hitbox_size=5), | 42 BulletType(etama3, 2, 12, 17, 18, 19, hitbox_size=4, |
43 BulletType(etama3, 5, 12, 17, 18, 19, hitbox_size=4), | 43 type_id=2), |
44 BulletType(etama3, 3, 12, 17, 18, 19, hitbox_size=6, | |
45 type_id=3), | |
46 BulletType(etama3, 4, 12, 17, 18, 19, hitbox_size=5, | |
47 type_id=4), | |
48 BulletType(etama3, 5, 12, 17, 18, 19, hitbox_size=4, | |
49 type_id=5), | |
44 BulletType(etama3, 6, 13, 20, 20, 20, hitbox_size=16, | 50 BulletType(etama3, 6, 13, 20, 20, 20, hitbox_size=16, |
45 launch_anim_offsets=(0, 1, 1, 2, 2, 3, 4, 0)), | 51 launch_anim_offsets=(0, 1, 1, 2, 2, 3, 4, 0), |
52 type_id=6), | |
46 BulletType(etama3, 7, 13, 20, 20, 20, hitbox_size=11, | 53 BulletType(etama3, 7, 13, 20, 20, 20, hitbox_size=11, |
47 launch_anim_offsets=(1,)*28), | 54 launch_anim_offsets=(1,)*28, |
55 type_id=7), | |
48 BulletType(etama3, 8, 13, 20, 20, 20, hitbox_size=9, | 56 BulletType(etama3, 8, 13, 20, 20, 20, hitbox_size=9, |
49 launch_anim_offsets=(0, 1, 1, 2, 2, 3, 4, 0)), | 57 launch_anim_offsets=(0, 1, 1, 2, 2, 3, 4, 0), |
58 type_id=8), | |
50 BulletType(etama4, 0, 1, 2, 2, 2, hitbox_size=32, | 59 BulletType(etama4, 0, 1, 2, 2, 2, hitbox_size=32, |
51 launch_anim_offsets=(0, 1, 2, 3, 4, 5, 6, 7, 8))] | 60 launch_anim_offsets=(0, 1, 2, 3, 4, 5, 6, 7, 8), |
61 type_id=9)] | |
52 | 62 |
53 if not laser_types: | 63 if not laser_types: |
54 laser_types = [LaserType(etama3, 9), | 64 laser_types = [LaserType(etama3, 9), |
55 LaserType(etama3, 10)] | 65 LaserType(etama3, 10)] |
56 | 66 |