there is a .NET sockets tutorial that can help me to learn from 0 how to do an iPhone multiplayer game ?
I see there is some example project in SmartFox site , but i dont understand how to set the server , were found a server . i install the project but after i dont know what to do .
The SmartFox examples are for usage with the SmartfoxServer
if you want general .NEt sockets, you optimally use Google and search for C# xxx socket with xxx either beeing tcp or udp depending on what you are looking for
There is none as far as I know as unity + networking = unity networking
but there is a sample project I think it was done by zumwalt, just search the board
Also the sockets in unity are just normal .net sockets so you can check out and use any .net socket tutorial, because the code will be the same independent of Unity (actually aside of the classing and explicit function names near independent of any os at all)
also be warned that Wi-Fi isn’t comparable with 3G, keep that in mind when writting the code and doing assumptions
Can you tell me more about what you’ve done and where you found the information? I’m starting the journey into remote player connections. If you have an example of a working tic tac toe game, I’d be interested what, where and how.
My current desire is to get a turn-based two player game up and running where one player needs to send one integer per turn to a master unit, which will process that turn, and send one integer back.
personally, I’d suggest you to check out Project darkstar ( http://projectdarkstar.com/ ) for usage as a game server…
It is a really interesting server development framework, and by using it you could cut out a big part of development, and provide istantly an high quality server…
If you check it out and are interested, you can PM me and i’ll send you (or post here) a basic Project darkstar server implementation with different accounts alredy setted up… and a basic unity project for communication between the two…
P.S: You would have to learn to program in java barebone to use it…
All of this seems like over kill for a turn-based two player game where only two integers per turn need to be passed… but then again… the main issue is the connection and interface, not the complexity of the game data. I still need to hook up two players, and have some sort of lobby either way…
PhilipV: Are you related to Project Darkstar? Or just a user? And you’ve gotten it working with Unity3D and the iPhone?
I did notice the lack of mention of Unity3D being listed:
Project Darkstar has the issue of very few reference cases - its simply still under development. SFS, Photon/Neutron and some of the other backend systems have more real world deployed games and thus the early problems have (mostly) been ironed out long time ago.
With that said, Darkstar has some really nice clustering technology. But overkill in what you need.
If I were you, I would take a look at the SFS lobby tutorial and/or the SFS tic-tac-toe tutorial - and see if its not more or less exactly what you need as a framework to easily and without re-inventing the wheel get up running and move on.
Yep - requires pro for the socket bits. Goes for any kind of backend.
And for SFS you need at least the basic (not lite). But all 3 SFS versions are free up to 20 simultanious connections.
If you are more adventurous, you can hack the API code as it contains a “blue box” fallback if socket communication is not possible - meaning it falls back to http protocol. While this also uses sockets right now, you could port it over to use Unity WWW class.