Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Background operation and Sleep / Wait in Game Loop

Author
Message
Oddible
9
Years of Service
User Offline
Joined: 2nd Jan 2015
Location:
Posted: 2nd Jan 2015 23:13
I haven't seen any examples that show sleep/wait in game loops. Is this possible in Tier 1? Is it possible to do something like a background operation with AppGameKit? So the user starts a multiplayer game, creates a network game, then puts the phone in their pocket and it notifies them when someone joins. Or later, the game is running but doesn't require any user interaction until someone else does something, then it alerts them that they need to do something. Ideally not consuming insane amount of battery while it is running or running in the background.
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 3rd Jan 2015 09:42 Edited at: 3rd Jan 2015 09:43
not possible in tier1 but the web server can send a notify to your handy i believe.

http://www.appgamekit.com/documentation/guides/push_notifications_android.htm

http://www.appgamekit.com/documentation/guides/push_notifications_ios.htm

AGK 108 (B)19 + AppGameKit V2 Alpha .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)

Login to post a reply

Server time is: 2024-05-19 14:54:27
Your offset time is: 2024-05-19 14:54:27