Build a Multiplayer Kart Racing Game in Unity 2019 [Video]

More Information
Learn
  • Understand how to add a heads-up display (HUD) containing a rear view camera, mini-map and player leader board
  • Become well-versed with adding artificial intelligence mechanics to create non-player character vehicles
  • Gain insights into calculating race places
About

This course will get you hands-on with putting together your own kart racing game in a systematic way.  It will guide you through constructing a single-player experience with intelligent NPC components from scratch and then adding on networking functionality with a Photon master server to create a multiplayer game.

The course begins with a detailed explanation of Unity's vehicle physics system. You’ll go on to construct a four-wheeler car from scratch using wheel colliders and rigidbodies. You’ll test every setting and check the different functionalities to achieve the right balance of skid, acceleration, braking, and weight. Next, you’ll transfer this system to a top-quality kart model and place it in a racing track environment, adding artificial intelligence mechanics to develop non-player character vehicles that can effectively drive around the track while avoiding or in some cases bumping other players. A dedicated section will help you calculate race places and add a heads-up display (HUD) containing a rear view camera, mini-map and player leader board.  Moving ahead, you'll learn how to implement a camera-following script that you can use to switch between players for differing points of view. Once you’ve completed the single player game, you’ll use the Photon API to set up a master server and then add multiplayer functionality to the game, which will enable you to play with your friends.  Toward the end, you will learn how to create your own server, send remote procedure calls to other players and instantiate networked objects, including AI characters.

By the end of this course, you will have gained the skills you need to confidently create exciting multiplayer kart racing games using Unity.

All the codes and supporting files for this course will be available at- https://github.com/PacktPublishing/Build-A-Multiplayer-Kart-Racing-Game-In-Unity-V.2019

Features
  • Delve into car physics and controllers built from the ground up with Unity's wheel colliders and rigidbodies
  • Explore AI-driven cars with waypoint navigation, smart acceleration and braking, and avoidance behaviors
  • Understand networking with Photon including setting up a master server, remote procedure calls, and networked object instantiation
Course Length 13 hours 43 minutes
ISBN 9781800200647
Date Of Publication 28 Feb 2020

Authors

Penny de Byl

Penny de Byl is a full stack developer of most things computer science and academic with a true passion for teaching.  She has been teaching others about games development, programming, computer graphics, animation, and web design for over 25 years in universities in Australia and Europe at the full professor level. Penny has consulted for Unity Technologies, SAE, the Australian Institute of Entertainment and Wikitude. Her best-selling textbooks including Holistic Game Development with Unity are used in over 100 institutions worldwide.  Penny’s graduates have found work in companies like Apple, Ubisoft, LinkedIn, and Deloitte Digital. Penny de Byl has an honors degree in computer graphics and a Ph.D. in artificial intelligence for game characters.  Over the course of her career she has won numerous awards for teaching excellence at the state, national and international levels including the Australian Learning and Teaching Council's Excellence in Teaching Award and the Unity Mobile Game Curriculum Competition. Her approach to teaching computer science and related fields is project-based giving you hands-on workshops you can immediately get your teeth into.