Line of sight its cumbersome

Discussion and feedback on Construct 2

Post » Sat Oct 19, 2013 12:47 pm

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

https://www.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...

https://www.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 :)Lunatrap2013-10-20 00:24:56
B
23
S
6
G
3
Posts: 316
Reputation: 3,461

Post » Sat Oct 19, 2013 1:21 pm

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.
B
28
S
8
G
5
Posts: 429
Reputation: 7,007

Post » Sat Oct 19, 2013 2:12 pm

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.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,361

Post » Sun Oct 20, 2013 12:27 am

[QUOTE=Ashley] 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.[/QUOTE]

thanks, sorry for the images, i have fixed them hopefully.

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?? Lunatrap2013-10-20 00:29:28
B
23
S
6
G
3
Posts: 316
Reputation: 3,461


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests