Beginner’s Guide: Create a Pong Clone in Unity: Part 10

Polishing it Off We’re now at the end of our fun, enlightening, and probably exhausting journey to recreate Pong. In this final part we will add polish to the game and learn a few more titbits of Unity wisdom before signing off on Pong (or whatever you’ve called your version). Then we’ll build a standalone … Read moreBeginner’s Guide: Create a Pong Clone in Unity: Part 10

Beginner’s Guide: Create a Pong Clone in Unity: Part 9

Wired for Sound In this part of our Pong tutorial series we will finally add sound to our game! We’ll also get a bit more practice with scripting and the Unity UI system. Sound Assets You probably know the drill by now – create a new folder within Assets called ‘Audio’, and drag the sound … Read moreBeginner’s Guide: Create a Pong Clone in Unity: Part 9

Beginner’s Guide: Create a Pong Clone in Unity: Part 8

What’s on the Menu? By the end of Part 7 we had a mostly feature-complete Pong clone. But there’s still work to do, and there are still lots of cool things to learn about using Unity. In this part we’ll dip our toes into Unity graphical user interface (GUI) features to display the score, create a … Read moreBeginner’s Guide: Create a Pong Clone in Unity: Part 8

Beginner’s Guide: Create a Pong Clone in Unity: Part 7

What’s the Score? Our game is missing something vital…a way to know who is the best player…a way for one player to beat the other…a game has to have a winner! In this part we’ll add scoring to our game. Here’s how we’ll do it:  Add goals Add a game manager script to keep track … Read moreBeginner’s Guide: Create a Pong Clone in Unity: Part 7

Beginner’s Guide: Create a Pong Clone in Unity: Part 6

Paddling Towards a Complete Game Now that we have a skeleton of a game it’s time to fill in the feature gaps. In Part 6 we’ll work on the player paddles. We will: Adjust the ball angle according to the direction of the player’s paddle when the ball hits – giving the player a bit … Read moreBeginner’s Guide: Create a Pong Clone in Unity: Part 6

Beginner’s Guide: Create a Pong Clone in Unity: Part 4

Physics and Scripting 101 We’ve now got most of the groundwork out of the way and can start to dabble in physics and scripting, which will quickly start turning this abstract project into a game. I will assume you have some amount of programming knowledge or experience, but if you don’t you can still follow … Read moreBeginner’s Guide: Create a Pong Clone in Unity: Part 4

Beginner’s Guide: Create a Pong Clone in Unity: Part 3

Transforming and More Prefabs So far we’ve focused on using Unity’s interface. In this section we’ll start shaping our project into something resembling an actual game while learning some key game-making skills. Here’s what we’ll do: Investigate some Unity settings Create a wall around our game area Place our player paddles in their starting positions … Read moreBeginner’s Guide: Create a Pong Clone in Unity: Part 3

Beginner’s Guide: Create a Pong Clone in Unity: Part 2

Paddles, Prefabs, and Proper Folder Structure We covered a lot of strange new concepts in Part 1, so in Part 2 we’ll solidify those fundamentals before moving on to other new topics. We’re going to create a couple of new GameObjects for our player paddles, and this time you will use a prefab. We’ll also do … Read moreBeginner’s Guide: Create a Pong Clone in Unity: Part 2

Beginner’s Guide: Create a Pong Clone in Unity: Part 1

Do you want to create a game in Unity, but don’t know where to start? This guide is for you. In simple steps, explaining everything as I go, I’ll show you how to use Unity to build a 2D Pong clone.   Introduction Prerequisites You need a code editor for the scripting. Unity provides one … Read moreBeginner’s Guide: Create a Pong Clone in Unity: Part 1