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
96
S
25
G
20
Posts: 3,053
Reputation: 22,640

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
359
S
214
G
72
Posts: 22,949
Reputation: 178,574

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
96
S
25
G
20
Posts: 3,053
Reputation: 22,640

Post » Thu Sep 06, 2012 1:13 am

Bump
B
96
S
25
G
20
Posts: 3,053
Reputation: 22,640

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
359
S
214
G
72
Posts: 22,949
Reputation: 178,574

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
96
S
25
G
20
Posts: 3,053
Reputation: 22,640

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
359
S
214
G
72
Posts: 22,949
Reputation: 178,574

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
96
S
25
G
20
Posts: 3,053
Reputation: 22,640


Return to How do I....?

Who is online

Users browsing this forum: luckyrawatlucky, mindragon73 and 24 guests