Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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.
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?
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.
Develop games in your browser. Powerful, performant & highly capable.
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.