• The courses above are up to 95% off - by clicking on ad above.

Game development tutorials & projects

  • Unity-2d-deafult-gravity

Adding a controllable player object in Unity 2d

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 […]

  • Unity-and-c-sharp-part-2

Unity & C# part 2

In this project we will play around with everything we learnt in the methods and loops C# tutorials. In addition we will explore some more Unity and general game coding concepts including the game loop. […]

  • Unity 5, 2d interface

Unity & C# part 1

In this project we will use Unity to practice some C# skills. We won’t be making anything that resembles a game but everything we do will be preparing for a few projects time when we […]

  • unity-5-personal-edition-sign-in-screen

Setting up Unity 5

This getting started project tutorial with with Unity 5 is so simple I contemplated not having it at all. It seemed appropriate, however, because the C# tutorials as well as the Unity projects which follow this […]

  • C# beginner coding tutorials

C# game coding level 1

This set of C# coding tutorials is for you if you are completely new to programming or the C# language. You will learn all you need to know to code C# games as quickly as […]

  • C# beginner coding tutorials

Game variables in C#

When we code a game in C#, whether with Unity or any other tool, we need to ‘know’ what the situation in the game is. As an example, things like how many lives the player […]

  • C# beginner coding tutorials

Making use of variables in C#

Having just learnt what C# game variables are and that they store values that represent the data in our games, it is probably obvious that these values held by our variables will need to be changed as […]

  • C# beginner coding tutorials

Conditions and decisions

Condition checking in games is all about making decisions. How do we “know” if the player has completed the level or crashed a ship? How do we detect if the ball has reached the edge […]

  • C# beginner coding tutorials

Loops in C#

Loops are how we repeat the same part of the code more than once. This can simply mean doing the same thing until the code being looped over prompts the loop to end or it […]

  • C# beginner coding tutorials

Structuring C# games with methods

C# Methods allow us to organize and our code into named, logical, sections. As our C#/Unity game projects become more and more advanced with exciting features and deep systems, methods will be one of the […]

  • C# beginner coding tutorials

Object oriented programming with C#

Object Oriented Programming, or OOP for short, is the way almost all programming is done, in almost all languages. It hasn’t been this way forever and there are some exceptions but if you want to […]

  • c-sharp-beginner-tutorials-works-with-unity-thumbnail

Handling data with C# arrays

All these objects, variables and types are useful but what happens when we have hundreds or thousands of them? How can we possibly keep track? C# arrays are the solution and in this 5-minute tutorial, […]

  • Asteroids irregular polygon collision detection

Collision detection: Irregular polygons (Asteroids) using the crossing number algorithm

Testing for collision with an irregular polygon is the exact same problem as if you were doing collision detection for an Asteroids game clone. If you don’t know what Asteroids is you can learn about […]

  • Nearest neighbour collision detection

Collision detection: Neighbour checking

This method allows us to only check objects that are in the approximate same area as each other. It can be achieved by checking which neighbourhood of our game a given two objects are in, […]

  • Radius overlap collision detection

Collision detection: Radius overlap method

This method is also checking to see if two shapes intersect with each other, but as the title suggests, it does so using circles. There are advantages and disadvantages compared to other methods.

The radius overlap […]

  • Rectangle intersection collision detection

Collision detection: Rectangle intersect method

Rectangle intersection detection collision detection is really straightforward. We draw an imaginary rectangle; we can call it a hitbox or bounding rectangle, around the objects we want to test for collision. Then, test to see […]

Load More Posts