As the title suggests, this is a laser weapon script that shoots a laser beam. The beam stops when it hits solid objects. Written in AS2 to be used in Flash shooter games.
If you’re having trouble understanding how this script works, please review previously posted examples that were incorporated in to this script: Shooting Laser Weapon & Apply Filters Dynamically.
Update:
ActionScript 3 version of this script is available here:
http://www.freeactionscript.com/2011/07/laser-weapon-with-wall-collision-detection/

8 Comments »