Force reload/refresh

Discussion and feedback on Construct 2

Post » Wed Oct 24, 2012 10:07 am

Is there a way to get the game to reload or refresh the offline cache when the online version is newer or updated?

Im having a very hard time deleting my internet cache everytime I wan't to reload the game in a newer version. All savegames and highscore gets deleted this way too. There must be a better way...

B
7
S
3
Posts: 109
Reputation: 1,645

Post » Wed Oct 24, 2012 3:02 pm

I got it now - it's just takes a while with a 50 MB project on a slow server.

The browser plugin needs a force update option...lokesen2012-10-24 15:05:57
B
7
S
3
Posts: 109
Reputation: 1,645

Post » Wed Oct 24, 2012 4:31 pm

You can detect 'Is updating' and 'On update ready' with the browser object. If an update is ready, you can also use the Browser object to refresh the page, which will "install" (use) the update. In Chrome you can also watch the browser console for status messages about the app cache.Ashley2012-10-24 16:31:29
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Wed Oct 24, 2012 4:48 pm

Thanks Ashley, very helpful information.
B
7
S
3
Posts: 109
Reputation: 1,645


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests