Can mobile phone create game as server
Crossbones+ - Reputation: 3200
Posted 15 November 2012 - 10:23 AM
I seem to remember doing this when testing an IOS game, but that was many OS updates ago, (before game centre). Perhaps someone else has tried it more recently.
I'm not sure if it's a good idea, except for testing/debugging purposes.
Members - Reputation: 1054
Posted 15 November 2012 - 11:03 AM
Crossbones+ - Reputation: 484
Posted 15 November 2012 - 01:03 PM
If you really want to try and make it work, you might to pretend to be a VOIP or music app. Here's a good place to start your research on that. Otherwise, you could just require your users to leave the app in the foreground at all times.
Moderators - Reputation: 32312
Posted 15 November 2012 - 03:52 PM
That being said, you will still face potential issues with NAT and other connectivity. Mobile providers sometimes don't like you running publicly-visible servers and may block incoming connections across their network.
Check out my book, Game Development with Unity, aimed at beginners who want to build fun games fast.
Also check out my personal website at bryanwagstaff.com, where I occasionally write about assorted stuff.