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
I am making a mini game where my character runs through a city and i want the character to trigger birds to fly in distress. However, I don't know how to make that happen because everytime i think i scripted it right, the animation is playing before the character gets there. Please help?!
You can create an invisible box and use it as a trigger where you want the animation to happen and script it like "on collision with player > play animation".
But there are many ways to do it so that was just an example
I tried that and it still wouldn't work aha
Do you have collisions enabled and have you checked the collision polygon on the sprites?
And is the animation correct?
Hard to say what the problem is without the capx
Develop games in your browser. Powerful, performant & highly capable.
oh, i figured out what was the issue. I basically did System>OnStartOfLayout/Bird>StopAnimation and with what you said, it finally plays when the character crosses aha
Ok, glad you found the problem. Good luck with your project!