#8 Make an Air Hockey Game in Unity – LOCAL MULTIPLAYER (Code)

0  comments

In this tutorial, you will learn how to add a local multiplayer to air hockey in Unity. Together with the AI which we programmed earlier, this will provide the players of the game with ultimate freedom – play with friends on one device or play with AI.

Adding a local multiplayer isn’t as simple as just adding another player! It requires a completely new way in which we are handling the input. Let’s do it!

 

This post contains all the code that’s been written in this YouTube video.

PlayerController.cs

 

PlayerMovement.cs

 

About the author 

Matt ReΕ‘etΓ‘r

Matt is an app developer with a knack for teaching others. Working as a Flutter freelancer and most importantly developer educator, he doesn't have a lot of free time πŸ˜… Yet he still manages to squeeze in tough workouts πŸ’ͺ and guitar 🎸

You may also like

Flutter Firebase & DDD Course [5] – Sign-In Form Logic

Dio Connectivity Retry Interceptor – Flutter Tutorial

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>