iPhone communicate with Unity Web app

Is it possible for actions performed inside a Unity iPhone game to affect what’s happening in a Web-based Unity game? How synchronous could it be?

thanks

Kevin

This is very well possible.

The question is what kind of game you have.

If it is more like turnbased or you just want to share accounts and unlockables, then its very easy to do so through a webend (php,asp, onrev, …) to which you communicate through WWW

if you want to do it realtime it won’t be as easy as unity iphone does not have the regular unity networking yet, so you would have the options:

  1. Implement something yourself using System.Net.Sockets (tcp or udp)
  2. Use an alternative networking solution like photon, SmartFoxServer Pro oder neutron that work with both sides.

At this point I’m thinking turn-based, at least to start with.

Even for that I’m going to have to upgrade to iPhone advanced, right?

if you need more then WWW, then yes you basically need iPhone Advanced

Or you need to write all networking in XCode and use a PlayerPrefs ↔ NSUserDefaults communication but thats pretty restricted on how many times you can send around things per XXms as you don’t want the checking happen to often or you lose too much performance