I've made a little clicker-game with construct 3.
When exporting, I choose the following:
Kongregate -> deduplicate / recompress images, minify script.
Everything works fine but everytime I publish a new version of the game, some of the images are completly wrong... I need to reload twice with "F5", then everything works fine again.
What I mean with the images shown wrong: For example there is a list of 10 avatars (avatar1, avatar2 ...). After update, there is the image of avatar5 instead of avatar1 and so on... All 10 avatars using the same sprite (avatar1 = frame1, avatar2 = frame2 ...)
Btw: what exactly is the difference between exporting for kongregate or html5 web? I guess it's the same?
Hopefully anyone can help me out with this annoying bug...
Develop games in your browser. Powerful, performant & highly capable.
Its been a Kongregate issue since forever, as I recall.
Try the following:
Thank your for the links!
I also found this link now (because of your link):
But there I have one question:
It says that I get offline.js and sw.js
I can find the sw.js but only an offline.json or in /scripts/offlineClient.js
offline.js = offline.json?
To not allow offline playing I can delete the sw.js + offline.js (or offline.json?)
Should this also fix the problem with the updates?
I'm not familiar with the specifics. Also note that those were for C2, I don't know if there were changes since then for C3