Jump to content

Help make a laser beam


Recommended Posts

You say "when I move line have been broken" which I'm guessing refers to the way the beam fragments look when you move up and down on the screen?

Sounds like you just need a single sprite with the lazer beam drawn in it.  If you want it to 'grow' then you could mess with the width (or scale.x), or use masking.

Another alternative is to keep a link between each beam fragment and the ship which fired them, and on every update set the beam y value to match the ship's y value.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...