Monday, April 4, 2016

Creating Local Networked and Internetworked Games with Unity

Here is a link to the Unity Documentation for their tutorial on how to make a basic local networked game: http://docs.unity3d.com/Manual/UNetSetup.html. The tutorial is pretty straightforward and easy to follow.

Here is a link to the Unity Documentation that discusses how to integrate Unity's Internet Services (Matchmaking) into your game: http://docs.unity3d.com/Manual/UNetInternetServicesOverview.html. After you setup the Multiplayer service in your Unity account, all you have to do is apply the Matchmaking script they provide to your NetworkManager object. It also talks about using a Relay server but we never looked into what this does.

My group and I completed the tutorial I mentioned above and integrated the Matchmaking service in order to make the game playable over the internet. Here is Drive link to a folder that has a Windows build, a Mac build, and all of the source files: https://drive.google.com/folderview?id=0B0fww2eOQcDTMmljZEVxRWN0THM&usp=sharing. (If you can't get the Mac build to run, right click the package and select Show Package Contents. In the Contents folder, check for the info.plist file. If it's called info.plist.xml then you need to rename it to info.plist in order to make the app run.)

-Reposted from Piazza

No comments:

Post a Comment