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
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
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.
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.
Develop games in your browser. Powerful, performant & highly capable.
"On load" is for asynchronous events, when the wait time is unknown.
Load from JSON just requires 1 tick to process, I guess.