Page 1 of 1
Tutorials?
Posted: 09 Dec 2010, 23:13
by Georgie
Are there any tutorials around on Unity and the new SmartFox?
Posted: 10 Dec 2010, 08:16
by ThomasLund
Hey
Definitely! The first 3 original tutorials are shipped with the server download (connection, basic lobby, tic-tac-toe). Additionally there is a sticky on this forum with a full FPS example that has an almost authoritative server
The FPS demo more or less replaces the old Island demo, which is not ported.
/Thomas
Posted: 10 Dec 2010, 09:15
by Georgie
Are there any actual tutorials tho? and not demos?
I just want information on:
How to Connect
How to send information to the server
How to receive information on the server
and how to send and receive to and from the server itself.
Posted: 10 Dec 2010, 09:57
by ThomasLund
Given that you dont expect a "how to program in Unity" tutorial, then you can learn those kind of things from the official documentation:
http://docs2x.smartfoxserver.com/Develo ... troduction
The APIs are 99% similar across platforms on the client side. So if you read these, then you will learn how to use the system in general. Then take a look at the Unity demos for code that shows how its practically implemented in Unity. You will discover that its very very similar to the point of cut'n'paste with a few language specific changes (capital first letter of method names primarily)
Only UDP initialization is really different
/Thomas
Posted: 14 Dec 2010, 20:54
by dragagon
I'm in the process of typing up a series of tutorials on my blog that cover this. If you want to follow along it is up at
http://mmocraftershaven.blogspot.com.
I started from bare scratch with Unity3d, SmartFoxServer, and I'm walking through setting up the development environment. Tonight I will be trying to type up the material necessary to get a set of message handlers and messages back and forth between the server in an object oriented manor. I already have prototyped it all out so I know it works, it is just time consuming to put it all together in a readable format.
Posted: 15 Dec 2010, 08:45
by Georgie
Sounds fantastic!