In this tutorial, we will see the tricks and the code required to achieve a parallax scrolling background effect. The parallax effect is when different layers of backgrounds are moved at different speeds to achieve the effect of motion and depth. By moving the front layer(s) faster than the back the distance/depth effect is achieved. […]
In this tutorial project, we will build a fully working and functional but simple C++ game engine. All that the game engine will do is allow the player to control one object moving left and right on a background, however, once you have completed the project you will be able to use the example game […]
This tutorial game project introduces the concept of a viewport. This is the aspect of our game which handles which part of the game-world is drawn to the screen. First, we need to decide what to draw and then we must convert their “real-world” coordinates to the screen coordinates at which to draw them. If […]
Welcome to the Asteroids arcade game project built in Unity. In this step by step guide, we will make a reasonably authentic clone of the classic arcade game. If you never had the joy of playing Asteroids then why not go and learn a little about it. Asteroids came out in 1979 and what made […]
This is the last Unity project that we need to do before we make a full working game. This quick, fun project will make some noise, introduce another type of collider(Edge Collider), make a basic material and use some point lights. In around 30 minutes we will see spinning, glowing, beeping ball sprites bouncing all over […]
If we are going to make a real game we will need to create a simple HUD to show things like score, highest score and perhaps some other game stats as well. In addition, our game will need a UI, buttons checkboxes etc, for things like starting. pausing and perhaps player inventories. This project will […]
This project will allow us to click on the screen to spawn a new particle. The particles will fall and bounce around, inside the four walls of the scene. The white jagged sprite is our controllable bat that we can use to make the balls bounce around a little more interestingly than they otherwise would. […]
In this project we will begin to see the power of C# classes as reusable templates for objects. We will create a simple character sprite and then learn how to detect mouse-clicks to spawn as many duplicates/clones of the object as we like.
First we need to create a new Unity project. Call it Spawning Objects […]
This is the first real project. We won’t just be exploring c# or playing with Unity concepts, we will make a small part of a game. Let’s learn how to put a spaceship into a 2d world and see how we can move it around the screen.
Fire up Unity and log in to your account. […]