How to update the game using Browser plugin?

Get help using Construct 2

Post » Wed Sep 05, 2012 2:02 am

I'm curious how to update the game using Browser, there are two events are called "Is Downloading Update" and "On Updated", but i don't see an action "Download Update"
B
105
S
29
G
28
Posts: 3,102
Reputation: 27,380

Post » Wed Sep 05, 2012 12:12 pm

It's described in more detail in the offline games in Construct 2 tutorial. You simply reload the page to "install" the update.
Scirra Founder
B
366
S
217
G
82
Posts: 23,262
Reputation: 183,654

Post » Wed Sep 05, 2012 6:42 pm

I re-uploaded the updated .appcache and game data, then i reloaded the page... nothing happens, so i did it like 8 times.Joannesalfa2012-09-05 18:43:07
B
105
S
29
G
28
Posts: 3,102
Reputation: 27,380

Post » Thu Sep 06, 2012 1:13 am

Bump
B
105
S
29
G
28
Posts: 3,102
Reputation: 27,380

Post » Thu Sep 06, 2012 12:48 pm

You can't reload too quickly or the browser won't have finished downloading the update. Use Chrome and watch the console and it reports its progress. What does the Chrome console say?
Scirra Founder
B
366
S
217
G
82
Posts: 23,262
Reputation: 183,654

Post » Thu Sep 06, 2012 8:39 pm

[QUOTE=Ashley] You can't reload too quickly or the browser won't have finished downloading the update. Use Chrome and watch the console and it reports its progress. What does the Chrome console say?[/QUOTE]

Document was loaded from Application Cache with manifest http://xxxx.com/xxxx/offline.appcache
Application Cache Checking event
Application Cache Error event: Manifest fetch failed (401) http://xxxx.com/xxxx/offline.appcache


Ah, it seems an error
B
105
S
29
G
28
Posts: 3,102
Reputation: 27,380

Post » Thu Sep 06, 2012 9:32 pm

Check your server has the right MIME types set up as described in that tutorial.
Scirra Founder
B
366
S
217
G
82
Posts: 23,262
Reputation: 183,654

Post » Thu Sep 06, 2012 9:55 pm

Rare, it worked now... i didn't fix it, i had no idea how it happen
B
105
S
29
G
28
Posts: 3,102
Reputation: 27,380


Return to How do I....?

Who is online

Users browsing this forum: JMKit and 0 guests