Mercurial > touhou
diff pytouhou/vm/eclrunner.py @ 83:fc0294c745b6
Basic bullet handling! Clean up as soon as possible :p
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Sat, 03 Sep 2011 22:22:58 +0200 |
parents | de48213a02bf |
children | fda176f07d6d |
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py +++ b/pytouhou/vm/eclrunner.py @@ -495,6 +495,38 @@ class ECLRunner(object): flags) + @instruction(74) + def set_bullet_attributes6(self, anim, sprite_idx_offset, bullets_per_shot, + number_of_shots, speed, speed2, launch_angle, + angle, flags): + #TODO + self._enemy.set_bullet_attributes(74, anim, + self._getval(sprite_idx_offset), + self._getval(bullets_per_shot), + self._getval(number_of_shots), + self._getval(speed), + self._getval(speed2), + self._getval(launch_angle), + self._getval(angle), + flags) + + + @instruction(75) + def set_bullet_attributes6(self, anim, sprite_idx_offset, bullets_per_shot, + number_of_shots, speed, speed2, launch_angle, + angle, flags): + #TODO + self._enemy.set_bullet_attributes(75, anim, + self._getval(sprite_idx_offset), + self._getval(bullets_per_shot), + self._getval(number_of_shots), + self._getval(speed), + self._getval(speed2), + self._getval(launch_angle), + self._getval(angle), + flags) + + @instruction(76) def set_bullet_interval(self, value): self._enemy.bullet_launch_interval = value