Unity3D support?
Unity3D support?
I would like to know whether Smartfox server will support the Unity3D engine (http://unity3d.com/) because we are considering licensing it. Thank you.
-
duncanhall
- Posts: 29
- Joined: 04 May 2008, 14:52
- Contact:
I've no idea about future support for Unity, but if there is no native solution then you could still most likely create a Flash proxy client to sit between SmartFox and your Unity application.
I've just finished doing exactly this for a Shockwave application and it works very well. All data from the server is received by the Flash client, which handles rooms/users etc. Once users are in a game room, the Flash client acts like an invisible proxy - it receives JSON strings from shockwave, which are passed to the server and then any broadcasts received are passed back to shockwave as another JSON string.
While this does add another step in transferrring data, the additional overheads are very low. Once Flash receives the JSON string, it does not need to parse it at all, and sends it as raw text to the server via a custom extension. This is then broadcast back out, as is, again as raw text, meaning the whole transaction is very fast.
I've just finished doing exactly this for a Shockwave application and it works very well. All data from the server is received by the Flash client, which handles rooms/users etc. Once users are in a game room, the Flash client acts like an invisible proxy - it receives JSON strings from shockwave, which are passed to the server and then any broadcasts received are passed back to shockwave as another JSON string.
While this does add another step in transferrring data, the additional overheads are very low. Once Flash receives the JSON string, it does not need to parse it at all, and sends it as raw text to the server via a custom extension. This is then broadcast back out, as is, again as raw text, meaning the whole transaction is very fast.