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
In the screenshot below the txtColor text object gets overwritten by the Fruit events sitting underneath.
Shouldn't they be independent? Unless I'm misunderstanding how "Wait for previous actions to complete" works?
You should use tag to separate them:
Sure there's a workaround but then you lose the benefits of the "Wait for previous action".
On larger projects its a bit convoluted that way.
Develop games in your browser. Powerful, performant & highly capable.
You can request one file, wait for previous action to finish, set text, request the next file, wait, set text.
AJAX only has one value for LastData. So I think the problem is if both requests finish exactly simultaneously (and it will complete immediately when loading a local file in preview mode), then there is only one value for LastData it can provide.