How do I make a lightbeam

  • I'm trying to create my first little test game in construct2 and I thought a simple tron game would be a good place to start.

    i've got my objects moving around and I would like to have a light-beam added when my object moves.

    how would one do this in construct2?

    peter

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Depends on what you mean by "light beam" You need to be more specific about what you need.

    My guess is that you want a laser beam from one point to another. I would solve this by creating a sprite only a few pixels high with the origin in the middle of the left side. I would set the position of this sprite to the starting point. I would set the angle of the sprite to the angle between the two points, then, finally, stretch the beam to length by setting the width to the distance between the two points.

    If you have trouble implementing, post screenies or a capx so we can help you figure it out

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)