How do I see the line of sight?

0 favourites
  • 4 posts
From the Asset Store
solution for games like "fruit ninja" and drawing applications
  • Probably not a very good question, but I'd like to know if it's possible for the dev to see the line of sight?

    For example, if I set the Line of Sight behavior on an object to a range of 500 and then set the cone to 60 degrees, is there any sort of way I can see a visualization of that in the editor?

    To be clear, I don't want the player to see it, only the dev (me) in the editor; the actual Construct 2 program.

    Thanks in advance!

  • You can add an animation frame to your character for debugging purposes only. Just replace the character sprite on that frame with a circle with width/height of range*2. Similar idea if you want a cone.

  • You can add an animation frame to your character for debugging purposes only. Just replace the character sprite on that frame with a circle with width/height of range*2. Similar idea if you want a cone.

    Is there really no other way to do it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't think three is anything built in. What would be your usage?

    Actually I would probably have a seperate dedicated semi transparent sprite with angle markers I would use as a reference for ranges when doing level design. Just drag it around to wherever i need it and destroy on start of layout.

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