So I've finally decided to get back to blogging!
A lot has happened since my last blog and we decided to not go with SmartFoxServer
for our game. Instead, we've switched to Photon (cross-platform) for our multiplayer
abilities of the game.
On top of that, we've used Facebook SDK for Unity to add Facebook Login capabilities
and Parse (which is a big tool that handles all your server-side functionality
Now I know, that is a lot, so for now, I'll only talk about Photon and multiplayer
role of it in Unity and give some code chunks.
Photon is great in my opinion because unlike SmartFoxServer, it doesn't ask you to
server side code for you to do some player matching or joining rooms type of logic.
It's all handled for you by API calls which triggers the needed server side
functionality for games.
For example some Photon QuickMatch class would look like this:
PhotonNetwork is the class provided by the libraries and as you can see.
separate level in our code base which is the Game level rather than the Menus.
So as you can see, using just client-side code a QuickMatch can be started between 2
players. The random player
server side is automatically handled on the Photon server... which is awesome and
out of the box.
I hope this code was useful and you can always contact me for minor help if you would
like on the subject.
Watch for new blogs coming talking more about Unity development, Parse API and
possibly Facebook SDK for