Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Can mobile phone create game as server


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 muratsal   Members   -  Reputation: 141

Like
0Likes
Like

Posted 15 November 2012 - 10:07 AM

Can mobile phone create game as server on LAN and pc can connect ?
my map aplications http://haritaaraci.com

Sponsor:

#2 C0lumbo   Crossbones+   -  Reputation: 2346

Like
0Likes
Like

Posted 15 November 2012 - 10:23 AM

If there's a general purpose socket library available for your mobile phone platform, then probably, yes.

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.

#3 muratsal   Members   -  Reputation: 141

Like
0Likes
Like

Posted 15 November 2012 - 10:26 AM

also can mobile phones connect each other with wireless ?
my map aplications http://haritaaraci.com

#4 MrDaaark   Members   -  Reputation: 3555

Like
0Likes
Like

Posted 15 November 2012 - 10:29 AM

also can mobile phones connect each other with wireless ?

Yes. Many games have co-op play, and you can even run a Minecraft mobile server.

#5 6677   Members   -  Reputation: 1058

Like
0Likes
Like

Posted 15 November 2012 - 11:03 AM

Bluetooth and wifi are both fine for mobiles connecting to each other although are both handset dependent Some mobile phones cannot act as a wifi host for instance so cannot have other devices connecting or may have other similar restrictions. Bluetooth suffers from the same. Many mobile devices can only maintain a single bluetooth pairing or wifi connection at a time which will further limit you. On devices not effected then yes you can host multiplayer but generally a PC has more resources for this task.

#6 sox   Crossbones+   -  Reputation: 484

Like
0Likes
Like

Posted 15 November 2012 - 01:03 PM

It should work fine, until you switch to another app. On iPhone at least, background processes are restricted to preserve battery life and responsiveness.

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.

Good luck!

#7 frob   Moderators   -  Reputation: 22231

Like
0Likes
Like

Posted 15 November 2012 - 03:52 PM

In Android you can keep running network services in the background, assuming you set your app up properly.


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 write about assorted stuff.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS