Hey,
We made such a game for 48 hours game jam: http://www.newgrounds.com/portal/view/642583. One guy on NewGrounds asked me to share my laser implementation and so I did, but I thought that maybe more people will have fun using it <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> I commented it the best I could. Hope that for someone it will be useful <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> Here is the link to .capx: http://samur.pl/C2Examples/lazer.capx
Just one thing! You can use the code as you want. Just don't use graphics in your commercial projects. Thanks!
And if someone will have some suggestions how you could implement it better or something... I'll be glad to learn! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">