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
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
So i'm creating an interactive shadow. Currently its a slightly oblong sprite with an off-center origin that rotates itself towards the closest light source. My question is how I could get it to rotate to the correct medium point/middle point if two lights are close and would make equal pulls on the shadow sprites angle. so I dont have odd outcomes as such
I would suggest the line of sight behavior for when you have multiple picked lights, and anglediff(angle1,angle2) of those two angles.
Develop games in your browser. Powerful, performant & highly capable.
Heres another method that averages the xys of picked objects.
https://www.dropbox.com/s/frr1bta9z8u23 ... .capx?dl=0
It's not great for choosing between larger angles.
Maybe get R0J0hound for averaging poly's of angles.