Tutorials?
Tutorials?
Are there any tutorials around on Unity and the new SmartFox?
-
ThomasLund
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
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
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
-
ThomasLund
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
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
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
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.
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.