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
see Image: mrwonka.com/wp-content/uploads/2018/08/Untitled.png
When you press on screen it spawns a coin every time, however it is not counting down correctly. instead it only counts every other coin. this is consistent, and does not have anything to do with how fast/slow I click.
The game distinguishes between tap and double-tap. So if you touch too fast, it always counts as double-tap and the condition is not fulfilled. Instead, take something like 'is touching object' and 'on touch start / end'.
No that didn't solve the issue.
What have you changed and what happens now?
I've tried using on touch object and on touch end. Neither of which change what happens. Here's an image of the SaveData page too, if that will help
Develop games in your browser. Powerful, performant & highly capable.
I am not that familiar with LocalStorage but is it necessary to check if a Key exist after you set that Key? Try it without 'Key exist' and put your actions under a 'LocalStorage on set' event. That worked, at least in my experimental setup:
No that wouldn't solve it, as it breaks the loop, and prevents the system from updating the value of tokens. Thanks for trying though.