Sprite interesecting with the shadow of another sprite

For questions about using Classic.

Post » Thu Jun 04, 2009 2:19 pm

Is there any way of detecting that a sprite is intersecting with the shadow cast by another sprite?
The only way I can think of is to check the colors at future sprite position with some detectors.
Anyone has a better idea? Thanks.
B
1
G
3
Posts: 3
Reputation: 831

Post » Thu Jun 04, 2009 2:36 pm

If you mean shadows cast by the shadow caster behavior, I don't think it's possible to check. What exactly are you trying to achieve?
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Thu Jun 04, 2009 2:44 pm

I remembered an old rapid prototyping challenge for a game revolving around shadows. I would like to have a character that has to move from point A to point B in a level, while staying in the shadows cast by level design blocks and one or more moving lights. He takes damage while out of the shadows.
B
1
G
3
Posts: 3
Reputation: 831

Post » Thu Jun 04, 2009 3:16 pm

Ah right. I'd think you'd be better off making custom shadows/cones of vision here, like a lot of games of this genre do.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests