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
Hello, I wish that when an object collided for 5 seconds, it would be destroyed.
Thank you.
Develop games in your browser. Powerful, performant & highly capable.
Create one variable, example variable counter
Event 1: Object on collisions with X -> every 1 second add to counter 1
Event 2: Counter => 5 then destroy object and set counter to 0
Note: Also you can use instance variable for the object.