Wednesday, September 4, 2013

Networking engine

In order to make Pong 2013 Pro working on network I'm developing the engine for the connection of two different devices.
Beside the fact that networking is always the nightmare of the coders, here the challenge is even higher because the goal is to connect devices of different nature: PC, Android and iOS.
The first way I used was to create an external server (based temporary in our office) where all the devices could connect to as clients.
This option has been, for the moment, put apart because it's much more easier (user-wise) that a device itself can create a temporary server and another one can connect as client. The server device will be also client connect to itself.
Most of the multi-player game I've been testing have some limitation:
a) they don't offer multy-platform networking at all
b) most of them ask the user to type the IP of the friend you're trying to connect to and your IP too.

Way complicated if your are not a geek....

So I'd like to make it as much as I can user-friendly.

The GOAL: the user one decides to be the server, he just type his name and press the button "create server" and all the other potential clients can see his name and IP in the server list. You just touch it and the connection is done. So easy to say...so hard to do....

Updates soon.

No comments:

Post a Comment