Mercurial > touhou
comparison pytouhou/games/pcb.py @ 232:8843e26f80c3
Hopefully implement “accelerating” bullets
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Sat, 31 Dec 2011 02:15:51 +0100 |
parents | 0595315d3880 |
children | e59bd7979ddc |
comparison
equal
deleted
inserted
replaced
231:c417bb6c98bf | 232:8843e26f80c3 |
---|---|
137 y = origin.y + shot.pos[1] | 137 y = origin.y + shot.pos[1] |
138 | 138 |
139 bullets.append(Bullet((x, y), self.bullet_type, 0, | 139 bullets.append(Bullet((x, y), self.bullet_type, 0, |
140 shot.angle, shot.speed, | 140 shot.angle, shot.speed, |
141 (0, 0, 0, 0, 0., 0., 0., 0.), | 141 (0, 0, 0, 0, 0., 0., 0., 0.), |
142 0, self, self._game, player_bullet=True, damage=shot.damage, hitbox=shot.hitbox)) | 142 0, self, self._game, player_bullet=True, |
143 damage=shot.damage, hitbox=shot.hitbox)) |