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 have a question.
I would like to create a condition and like this:
When an object collides and remains for 3 seconds, the object is destroyed.
I do not know how to proceed with the condition, how can I do this?
Thank you very much.
Remains where for 3 seconds, overlapping the object?
Hi, plinkie.
What I'm trying to do is this:
Exit some floating blocks, when the character stays in that block for 3 seconds, I want this block to be destroyed and then the character will fall.
Develop games in your browser. Powerful, performant & highly capable.
Add an instance variable 't' to your "main" object, the one you check for collision and will destroy.
Condition: Main is overlapping other object
Action: add dt to t
sub-event
Condition : Main.t is greater or equal to 3
Action: destroy Main
Thank you very much, Kyatric.
Perfect!!!
Add an instance variable 't' to your "main" object, kodi the one you check for collision and will destroy. Condition: Main is overlapping other object Action: add dt to t sub-event Condition : Main.t is greater or equal to 3 Action: destroy Main
Add an instance variable 't' to your "main" object, kodi the one you check for collision and will destroy.
Thank you for sharing article and information. this is very helpful for beginner.