I’m looking for some ideas for the best ways to make lasers. Use the particle effect? Draw some laser effects? It would be nice if when the Player stands in the beam in the second before he dies the beam is blocked by his body behind him, if you know what I mean.
For a laser, I would say just draw a line, which is most easily done with Vectrosity.
Or you can just take a cube, and scale it down in X and Y while you stretch it way out in Z, and use that to draw your line (with an unlit shader). A bit of a hack, but it’ll work.
To make the body block it, you need to use a raycast to figure out where the laser hits something. Then position your line (or cube hack) accordingly.
Oh wait, but this is the 2D forum… in that case, you can just use a little square sprite, and stretch it out in one direction (probably X). Same as the cube trick, but it works even better in 2D. And Vectrosity would probably be overkill in this case.