I really hope somebody can help me with this, it's been driving me crazy and completely preventing me from making any progress on my current project.
Levels in my game have lasers scattered throughout the environment -- if the player gets hit by a laser they take damage, but if a moving platform gets in the laser's path it blocks it so the player can advance. Pretty simple stuff, really. Basically, the lasers should start at my Laser Emitter object, and extend in a straight line until they hit something -- a wall, a moving platform, or the player. (In case it wasn't clear, I'm talking about instant-hit lasers that span the entire distance between where they start and end, not bullet-style "laser blasts".)
I started out using SamCartagenaPR's Laser Gun Effect method (try it here or get the .capx), but it's not quite perfectly suited for my purpose. The good news is that my lasers will never need to rotate or change direction in-game, which should simplify the necessary events.
The bad news is I can't for the life of me figure out how to make it work with multiple lasers firing simultaneously. Worse, even with just one laser going the game's performance takes a significant hit, slowing the framerate by almost half while the laser is on-screen.
I found a forum thread that addresses this exact issue, except it's in regards to Construct Classic. I'm not a talented enough event-programmer to figure out how to apply that info to working in C2.
Like I said, I'm at a point where I can't really continue designing my game until I get this issue figured out. I really appreciate any assistance you all might be able to provide.