How do I find the "Is downloading update" condition?

Get help using Construct 2

Post » Fri Dec 16, 2016 11:41 am

Hi!

I can't find either the "Is downloading update" or the "On update ready" condition on the browser object. Are still these conditions avalaible in Construct, 239 version? If they are, please, could you tell me how to find them?

I want to use them to be able to notify about the update when the users load the game website and add a button to refresh the page so they get the new version... Is there any other "smart" way to do it?

Thanks!
B
3
Posts: 3
Reputation: 181

Post » Fri Dec 16, 2016 12:22 pm

Maybe need some tweaks but that's the idea.
Image
Image
B
108
S
24
G
18
Posts: 1,376
Reputation: 22,830

Post » Fri Dec 16, 2016 12:33 pm

Thanks a lot!

The problem is I can't find those conditions. These are the only ones I get?

Image

TELLES0808 wrote:Maybe need some tweaks but that's the idea.
Image
B
3
Posts: 3
Reputation: 181

Post » Fri Dec 16, 2016 12:34 pm

From the r235 Changelog:
Browser plugin: deprecated 'Is downloading update' and 'On update ready' conditions

Because the new system works differently to the old one, we've deprecated the Browser plugin's 'Is downloading update" and "On update ready" conditions. These only work with AppCache.


If you really need those conditions, go ahead and download r240 beta, it contains new conditions similar to AppCache:
Triggers for offline events:

  • On offline ready: this is triggered on the first run when offline caching has finished, and the game can now work offline. (Previously there was no equivalent, this is new.)
  • On update found: triggered when an update starts downloading in the background. (Note this is a trigger which fires once, as opposed to the old "Is downloading update" condition.)
  • On update ready: triggered when an update has finished downloading in the background. Closing and reopening the browser tab will start using the update.
"We can't solve problems by using the same kind of thinking we used when we created them."
- Albert Einstein
B
27
S
11
G
8
Posts: 528
Reputation: 7,091


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests