Shadowcaster collisions?

For questions about using Classic.

Post » Tue Oct 12, 2010 3:15 pm

Is there a way? Overlapping with light doesn't include shadows.
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Tue Oct 12, 2010 3:40 pm

You can use line of sight for this.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Tue Oct 12, 2010 3:44 pm

Can't get line of sight to be not too heavy on resources of pc
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Tue Oct 12, 2010 3:45 pm

Hmm. You could try shooting a bullet with instant hit instead.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Tue Oct 12, 2010 8:52 pm

I had a little play, you sparked an idea. Unfortunately the lights collisions are boundary box or something. But perhaps you could use this, and then line of sight to only the objects within the lights range? That might be less intensive than line of sight to everything.



http://dl.dropbox.com/u/1487524/Scirra/LightTest.cap
B
9
S
2
G
4
Posts: 346
Reputation: 2,726

Post » Tue Oct 12, 2010 10:45 pm

B
51
S
10
G
7
Posts: 184
Reputation: 6,825

Post » Wed Oct 13, 2010 12:07 pm

Thank you guys for attention)
Steven i was using this model at the very first time.
Yarfapet i am already using such model right now.
But this is all about LOS using, i'm looking for solution without it atm.

[quote="Steven":3t2t7ilv]I had a little play, you sparked an idea[/quote:3t2t7ilv]
Well Steven, here's another idea, which gpu consumption goes in geometrical progression (that's why i've dropped it), but in some cases may come handy. Great for precise calculating of visible-invisible area. Here's a cap [url:3t2t7ilv]http://www.box.net/shared/bkjyg0894s[/url:3t2t7ilv]
also you need this effect to work (it flips aplha pixels with opaque ones)
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Wed Oct 13, 2010 9:24 pm

One Non-LOS example coming right up.

http://dl.dropbox.com/u/10316081/light2.cap
B
51
S
10
G
7
Posts: 184
Reputation: 6,825


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests