Line of sight its cumbersome

0 favourites
  • 4 posts
From the Asset Store
solution for games like "fruit ninja" and drawing applications
  • So, i have a question about LOS behaviour, i dont understand how the cone of view works, does the angle goes from the instance angle and then goes up?? this is an image in case you dont understand what i mean

    dropbox.com/s/nj981x8q53kbjky/LOS%201.png

    or the angle its just the amount of opening that the cone of view will have?? like this...

    dropbox.com/s/1ka09vlak49zcs8/LOS%202.png

    one more thing about, i think that LOS should have a way of telling the amount of the angle, like the cone of spread in the particle behaviour...in that one its very easy to see the cone becuase it drawns the cone in 2 red lines, i must say i like the fact that its has obstacle mechanic, thats awesome, it has a lot of potencial...

    thanks for your repplies and in case you know how to make it less cumbersome tell me please :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Another issue with LOS is that it seems to only check for line of site to the object's origin. Is this the case or have I just done some silly stuff? It would be great if it could check for LOS with any part of the object. Otherwise you are still probably better off eventing it.

  • Both your images are private, nobody else can view them.

    If you look at the LOS example that ships with C2 you can see how the cone works. There are lots of objects and only those within a certain angle of the direction the player is facing in get lit up.

  • Both your images are private, nobody else can view them.

    If you look at the LOS example that ships with C2 you can see how the cone works. There are lots of objects and only those within a certain angle of the direction the player is facing in get lit up.

    thanks, sorry for the images, i have fixed them hopefully. <img src="smileys/smiley9.gif" border="0" align="middle" />

    another thing ashley, how is the wiiU exporter with nintendoframework is going?? :) my boyfriend is a big fan of nintendo and he would love to make a game for wiiU, thanks!!! :)

    Tobye

    really?? only the origin?? i does not work using the hitbox?? <img src="smileys/smiley3.gif" border="0" align="middle" />

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