Can a browser notify my game when leaving it?

Get help using Construct 2

Post » Mon Apr 29, 2013 1:11 pm

I need my game to be notified when the user leaves the HTML-page or closes the browser. Then I can use the SaveGame function and the user can finish where he left if he wants to. I found the "on went offline" in the Browser object in C2, but so far thats all? How do I notify my game of browser behaviour?
SigmundO
B
14
S
4
G
3
Posts: 32
Reputation: 2,959

Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, anty21ro, DamonZero, Radulepy, Yahoo [Bot] and 0 guests