Posted: 20th Dec 2011 18:03
Hi all,

For the app I'm working on, I want to host the game on a Windows or Mac PC, but then allow Android and iOS to connect. Does the multiplayer work cross-platform that way?

Thanks!
Posted: 21st Dec 2011 17:10
If you where hosting on a Windows PC that had it's own IP address exposed to the internet, any AppGameKit app could connect to that IP address as if it was part of your LAN (there would be no difference), so yes you can do as you say. We are adding HTTP commands in build 107 which will allow the exchange of dynamic IP addresses to become much easier allowing even more multiplayer coding freedom, so watch this space!
Posted: 29th Dec 2011 18:21
I need to make sure I understand what is being said:

You can only connect an AppGameKit app to another within the same Internet Connection?
Posted: 29th Dec 2011 20:20
Red Eye you mean LAN?

Hi lee!!!
Posted: 29th Dec 2011 20:35
I mean with both the devices connected to the same network (LAN) /same wifi.
Posted: 29th Dec 2011 21:58
trying to connect an android device to my PC isn't working(over LAN), the AppGameKit player tells me the device needs a unique client name, but how could I fix this issue if a product was distributed? (or how can I fix it at all really )

Edit: I can host on the android device, and connect from my PC, but not vice-versa (the desirable way)
Posted: 29th Dec 2011 22:54
the AppGameKit player tells me the device needs a unique client name, but how could I fix this issue if a product was distributed?


Get the user to enter a name, then check against current names on the network before allowing it (GetNetworkFirstClient, GetNetworkNextClient, getNetworkClientName). Alternatively, generate random client names, and still make the check.
Posted: 30th Dec 2011 18:04
Get the user to enter a name, then check against current names on the network before allowing it (GetNetworkFirstClient, GetNetworkNextClient, getNetworkClientName). Alternatively, generate random client names, and still make the check.

For the time being I've been creating a random name. Though I haven't checked and compared, this error occurs when the first client is connecting(when this client runs android), and works fine PC to PC.