Upload
lindsay-elliott
View
213
Download
0
Embed Size (px)
Citation preview
Multiplayer game in Unityusing the unityPark suite
A gift from NoOpArmyfor GGJ2013
www.nooparmy.com
UnityPark suite
• a great multiplayer engine for unity• MMO• Realtime multiplayer games• Turn based multiplayer games• Unity based servers• Persistence and load balancing• Lobby, voice and custom serialization• Most state of the art MMO middleware features
Components
• uLink• uGameDB & Riak• uLobby• uZone• uCollab• uPikko• uVoice• And of course you (and i)
Architecture
• Unity code for client and server logic• Riak as DB backend• uLobby for login and server listing and …• uZone to create game servers• Clients>Lobby>GameServers>DB• uPikko on top of game servers
Game server logic and communication
• Using normal unity code• RPCs• State sync• Object hand overs• Physics, collision detection Path finding and AI,
even animation, All unity capabilities on the server
How to code
• Connect client and server• Send RPCs• Use custom serialization• Use uGameDB for simple saving of complex
data• Use uLobby to simply add login and listing
Utility Scripts
• Smooth character• Smooth rigidbody• Chat• Connection• Login GUI• Server Listing• shooting• Samples
Publishing
• Use joyent• Riak servers are ready• WindowsUbuntu servers for games• Install X to run unity servers• Run unity servers in -batchmode
Questions and support
• If you have any questions• Require consulting or support• Or want to download our scripts and codes
[email protected] www.nooparmy.com