#11 Make an Air Hockey Game in Unity – DIFFICULTY SELECTOR (Code)

Playing air hockey is fun – until you loose again and again! Wouldn’t it be nice if we could have easy, medium and hard difficulty so that everyone will have the ability to choose how quick their opponent will be? In this tutorial you will learn how to add a difficulty system into your game … Read more#11 Make an Air Hockey Game in Unity – DIFFICULTY SELECTOR (Code)

#10 Make an Air Hockey Game in Unity – INTERFACES & CLEANUP (Code)

How can we group different classes (scripts) together based on their common functionality? Well, we can utilize interfaces. This will allow us to nicely reset the position of any game object! This post contains all the code that’s been written in this YouTube video. MenuManager.cs

  IResetable.cs

  PuckScript.cs

  AiScript.cs

Read more#10 Make an Air Hockey Game in Unity – INTERFACES & CLEANUP (Code)

#9 Make an Air Hockey Game in Unity – MENU SCENE (Code)

In this tutorial, you will learn how to create a main menu for a Unity game. That menu will be contained in its own scene. Having a menu enables us to select if we want to play multiplayer or with AI. Actually, it enables us to do any kind of pre-gameplay setup. There are a … Read more#9 Make an Air Hockey Game in Unity – MENU SCENE (Code)

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

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 … Read more#8 Make an Air Hockey Game in Unity – LOCAL MULTIPLAYER (Code)

#7 Make an Air Hockey Game in Unity – WIN / LOSE (Code)

In this part of the air hockey tutorial series, we will add a win and loose situation (game over screen) when we hit a certain amount of goals. This means that we will be working a lot with the Unity UI, so stop wasting time and let’s go straight to the video! 😉   This … Read more#7 Make an Air Hockey Game in Unity – WIN / LOSE (Code)

#6 Make an Air Hockey Game in Unity – SOUND & FIXES (Code)

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

  AudioManager.cs

 

#5 Make an Air Hockey Game in Unity – UI & SCORE (Code)

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

  PuckScript.cs

  PlayerMovement.cs

  AiScript.cs

 

#4 Make an Air Hockey Game in Unity – ARTIFICIAL INTELLIGENCE (AI) (Code)

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

  Boundary.cs

 

#3 Make an Air Hockey Game in Unity – RESTRICTING MOVEMENT (Code)

This post contains all the code that’s been written from this YouTube video. PlayGamesScript.cs

 

#1 Make an Air Hockey Game in Unity (Code & Art)

This post contains the code and art from this YouTube video. Download the sprites from this link: AirHockeyArt   PlayerMovement.cs