Request for feedback on new offline support (r235+)

Discussion and feedback on Construct 2

Post » Tue Oct 18, 2016 1:30 pm

About a month ago in r235 we implemented a whole new mechanism for offline support using Service Worker. This currently only affects Chrome and Firefox, but it's a pretty big change to a major feature. We're due a stable release soon and although my own tests with it worked, I've not really heard any feedback about this since.

I assume no news is good news (nobody's noticed it's broken so far), but it would be useful to get some positive feedback too. So has anyone tried running their game offline with r235 and did it work OK? If this is important to you and you haven't tested it yet, I'd appreciate if you could try re-exporting with the latest beta and check offline support still works the way you want it too.

Thanks!
Scirra Founder
B
398
S
236
G
88
Posts: 24,428
Reputation: 194,625

Post » Tue Oct 18, 2016 4:13 pm

Hi!
I've downloaded the beta and it works flawlessly on the latest chrome browser!

Even tough I probably won't use this feature in the near future (As I export only with NW.js and Cordova) I think this will be huge to someone who does export to the web!

P.S. Thanks for making CC and C2! I think they are the best 2d game engines!
ImageImageImageImage
B
30
S
9
G
7
Posts: 246
Reputation: 5,604

Post » Tue Oct 18, 2016 7:32 pm

I just tested it in the latest Opera (exported with r237), opened my game, killed the wifi, refreshed a few times and it works like a charm.
B
135
S
33
G
17
Posts: 1,557
Reputation: 20,717

Post » Wed Oct 19, 2016 3:12 am

I was wondering about this. The 'is downloading update' and ‘on update ready' conditions were useful, why don't they work for the new method? I don't want the user to have to open the browser console to find out that information.
Moderator
B
95
S
34
G
33
Posts: 3,006
Reputation: 27,874

Post » Wed Oct 19, 2016 4:54 am

No negative feedback
B
99
S
35
G
29
Posts: 3,139
Reputation: 28,421

Post » Wed Oct 19, 2016 9:39 am

@Arima - I want to bring them back in future, but the way service workers are architected makes it tricky. It could also be tricky to make it work identically to how it used to, so I might add new conditions instead.
Scirra Founder
B
398
S
236
G
88
Posts: 24,428
Reputation: 194,625

Post » Thu Oct 20, 2016 7:38 pm

I ran my game in R236, Approx dl 143, mem use 147.7mb, events 883, in Chrome, with windows 10. It ran without any crashes, even though it (understandably) lagged compared to nw.js

Hardware Specs: i3-4330, 8GB DDR3, R9 280X, 1080p panel at 60hz.
B
17
S
2
Posts: 37
Reputation: 906

Post » Thu Oct 27, 2016 11:58 am

@Ashley Everything works perfectly, but there is one question. Now when downloading a new version on the server, the user sees all as before. :( It helps clearing the cache and data of the page.
B
3
Posts: 1
Reputation: 178

Post » Fri Oct 28, 2016 11:19 am

@criterian21 - I'm not sure what you mean is different? Previously it would also show the old version, and you'd need to reload again to get the new version. Also due to a quirk of Chrome you may have to actually close and reopen the entire browser window.
Scirra Founder
B
398
S
236
G
88
Posts: 24,428
Reputation: 194,625

Post » Sun Oct 30, 2016 8:48 pm

Hmm, if AppCache is still present in Construct, side by side with Service Worker, up to r239 anyway, why removing the "Is downloading update" and "On update ready" conditions?

Is there a way to know when the update is ready, so the player doesn't keep playing the old version, unaware there's a new one?
B
11
S
3
G
3
Posts: 206
Reputation: 2,379

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 15 guests