Join Bruce Van Horn for an in-depth discussion in this video Using the exercise files, part of Unity 5: Network Gaming.
- [Instructor] This course comes with exercise files that you should download and use. We won't be starting a project from scratch because the most common way to develop a network game is first to build a game that is not networked. We'll be starting with a tank game that has some of the basics already built. Using this as a starting point, we'll add network features into the game and turn it from a boring, stand alone game where nothing happens, to a playable and hopefully fun game where you hunt down and kill your friends, virtually of course. Upon unzipping the downloadable files, you'll find them laid out by chapter, which corresponds to the video chapters in this course.
The chapter two folder contains the starting point for the course and I hope you'll open it in Unity 5.5 or later and follow along. If you use a version of Unity other than 5.5, you'll probably be prompted to convert the project and I cannot fully guarantee that everything in the exercise files will work as we have it here. You can get specific versions of Unity from the Unity download archive should you want to use the exact same version we're using here. Switching back to the files, you'll find them broken down by lesson and within each lesson is a begin and done folder.
If you'd like to start in the middle somewhere, let's say you want to start with lesson five, you can open the lesson five folder and load the project from the begin directory to start at the beginning of the lesson. If you're learning to make network games for the first time, I recommend following the course in order. But there's nothing to stop you from jumping around and the exercise files allow for that. Now that you know where everything is, let's get started.
- Reviewing how network gaming works
- Creating a multiplayer game
- Setting up the Network Manager
- Testing the game
- Firing projectiles
- Adding a health indicator
- Fragging the enemy