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
Hi,
I've created a small game where I am using a lot of every ticks to update the score and to see the count of objects to end the game. I also have many cases where I want to use "Every tick"
I adding a lot of actions will slow the game ?
Thanks.
Why not do it on on create/destroy and when you score something ? Or if it's a problem, update it using every x seconds (say every 1/10 second ?)
Yeah, I tried to do on destroy..But I am comparing a variable and it is taking some time and is not triggering immediately, in the mean while some more objects are getting destroyed.
Destroy is really a "request to destroy" If you want to have an accurate number of active objects you will have to manage the count yourself.
Answer your own performance questions with measurements
Develop games in your browser. Powerful, performant & highly capable.
Thank you