Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
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?!
Thank You.
Kayleigh.
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
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
Thank You!
Develop games in your browser. Powerful, performant & highly capable.
Ok, glad you found the problem. Good luck with your project!