comparison pytouhou/games/eosd.py @ 470:98995d8ac744

Reset ANMRunner.sprite_index_offset after the first frame, fixes bullettype 7; also forbid glitch bullet types.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 16 Sep 2013 18:41:51 +0200
parents 5f5955635d2c
children 06f0eeb519bb
comparison
equal deleted inserted replaced
469:58b47e788c59 470:98995d8ac744
44 type_id=5), 44 type_id=5),
45 BulletType(self.etama[0], 6, 13, 20, 20, 20, hitbox_size=8, 45 BulletType(self.etama[0], 6, 13, 20, 20, 20, hitbox_size=8,
46 launch_anim_offsets=(0, 1, 1, 2, 2, 3, 4, 0), 46 launch_anim_offsets=(0, 1, 1, 2, 2, 3, 4, 0),
47 type_id=6), 47 type_id=6),
48 BulletType(self.etama[0], 7, 13, 20, 20, 20, hitbox_size=5.5, 48 BulletType(self.etama[0], 7, 13, 20, 20, 20, hitbox_size=5.5,
49 launch_anim_offsets=(1,)*28, 49 launch_anim_offsets=(1, 1, 1, 1),
50 type_id=7), 50 type_id=7),
51 BulletType(self.etama[0], 8, 13, 20, 20, 20, hitbox_size=4.5, 51 BulletType(self.etama[0], 8, 13, 20, 20, 20, hitbox_size=4.5,
52 launch_anim_offsets=(0, 1, 1, 2, 2, 3, 4, 0), 52 launch_anim_offsets=(0, 1, 1, 2, 2, 3, 4, 0),
53 type_id=8), 53 type_id=8),
54 BulletType(self.etama[1], 0, 1, 2, 2, 2, hitbox_size=16, 54 BulletType(self.etama[1], 0, 1, 2, 2, 2, hitbox_size=16,
55 launch_anim_offsets=(0, 1, 2, 3, 4, 5, 6, 7, 8), 55 launch_anim_offsets=(0, 1, 2, 3),
56 type_id=9)] 56 type_id=9)]
57 57
58 self.laser_types = [LaserType(self.etama[0], 9), 58 self.laser_types = [LaserType(self.etama[0], 9),
59 LaserType(self.etama[0], 10)] 59 LaserType(self.etama[0], 10)]
60 60