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
Is there any way to determine when a tilemap has finished loading from JSON? As of right now, I have to put a wait in the code to make sure it has finished loading before doing anything with it.
How long does it take? I imagined this should only take one tick, so a simple "wait 0" should do.
Develop games in your browser. Powerful, performant & highly capable.
You are correct, a "wait 0" works perfect. I was just curious as to why there wasn't an onLoaded under JSON event. That would be nice. I really hate using wait.
"On load" is for asynchronous events, when the wait time is unknown.
Load from JSON just requires 1 tick to process, I guess.