In this tutorial series I show you how to create a 3D video game with the Unity game Engine. The video tutorial contains 14 parts in which I create a simple game like the old POW game:
Part 1 : Unity Introduction
This part is about getting you started with Unity, game objects and Physics. I create a simple project and explain the basics:
Part 2: The game idea
In this part I explain the basic idea for the video game, I painted the level and describe the objects and interactions we will need:
Part 3: Graphics & Level Design
Now it’s time to create the terrain with standard assets and setup the scene with lighting and textures:
Part 4: Crosshair & C# Scripting
Here Is add a simple crosshair for shooting that I painted with Potoshop. I add it as sprite and use a C# script to control the crosshair with the mouse.
Part 5: Enemies & Animation
In this tutorial I go ahead and import enemies (toon soldiers) to the project from a free asset from the Unity assetstore. I also demonstrate how to animate the models.
Part 6: C# programming
Now we go ahead and improve the C# scripts with more advanced programming techniques to let the enemies appear randomly.
Part 7: Shooting animation
In this part I add the shooting animation for the enemies by using Unity mecanim and C# scripting.
Part 8: Hit enemies
Our player will have the ability to shoot as well and here I show how to hit the enemies.
Part 9: Die Animation enemies
When the enemies are hit a Die animation has to be played. For this animation isn’t included in the free toon soldier asset I had to create it with Blender and import it to the Unity project afterwards:
Part 10: Player damage
When the layer is hit by the enemies he is taking damage. In this part I create the C# logic for this and add a simple Unity UI to display the player’s health.
Part 11: Animation events
I use animation events for the shoot event of the enemies so that I can call the set damage function of the player at the correct time.
Part 12: Time Unity countdown
In order to win the layer has to survive a certain amount of time. This is has to be counted down which is done with a C# timer logic in this part.
Part 13: Game over screen
When the game is over – which means the layer has won or lost the game – a game over screen has to be shown dynamically. Here I show how this can be done with a UI Panel and C# programming:
Part 14: Audio for shooting
In the last part I add audio clips from a free asset from the Unity assetstore to the project that I play in a C# script when the player or the enemies shoot.
I really hope you like the tutorial series and you find it useful, please let me know if you have any questions.