How do I "Test connection Online or Offline"

Get help using Construct 2

Post » Thu Apr 02, 2015 10:22 pm

Hello friends
How I can know if my game is internet connection to upload the data into the TOP 10?

Try the BROWSER item.
"On went online " - Text, Set text to "ONLINE"
"On Went offline" - Text, Set text to "OFFLINE"
And then export it to Android and compile with XDK but got no results.
Also try close the application by pressing the buttons on the phone but got no results.

Image

As I make it work?
B
40
S
9
G
2
Posts: 111
Reputation: 3,648

Post » Fri Apr 03, 2015 1:04 am

Try using the browser object's "Is online" condition instead -- "On went online/offline" are triggers that won't run unless the state of the connection changes.
Moderator
B
106
S
41
G
20
Posts: 1,584
Reputation: 18,917

Post » Fri Apr 03, 2015 1:20 am

linkman2004 wrote:Try using the browser object's "Is online" condition instead -- "On went online/offline" are triggers that won't run unless the state of the connection changes.

I'll try that, even to disconnect the network, continues to set as " ONLINE" .

:(
B
40
S
9
G
2
Posts: 111
Reputation: 3,648


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests