So I want my laser beam to stop when it hits a solid. I've got what I think is the correct code here, but obviously its not. Any ninja coders out there can fix this mess?
Tell me what to do?
http://dl.dropbox.com/u/14289235/LaserTest.cap
Develop games in your browser. Powerful, performant & highly capable.
There's a good example for an instant-hit laser provided by Ashley himself:
http://www.scirra.com/forum/viewtopic.php?f=16&t=915&start=0
That should help you out.