Hello everyone, in this article I will discuss how to implement a basic camera shaking effect when the play take damage. When I first decided to implement this I though it would be hassle until I realized that all we are really doing here is translating the transform for the…


Hey everyone, this is just going to be a quick article about how to build a game in Unity. Go to File the Build Settings to access the Build Settings Window. Then Make make sure that all necessary scenes are added using the “Add Open Scenes” Button. …


Here I have two different audio files that I implemented into the game. These clips were intended to serve as background music and laser fire audio. The First implemented audio clips was the background wherein I decided to make use of an Audio_Manager gameObject.

The Implementation is relatively simple. After…


Before implementing the following code the game would simply start as soon as the scene was instantiated. Here, I add an asteroid to the game that when destroyed initiates the spawning of enemies. …


Here I will discuss animated visuals in Unity and how to implement them. In this case we will be looking at the Enemy GameObject which will be animated to explode on hit. You can see that I have a folder called “Enemy_Explode_Sequence” where I have all the frames of the…


Here we will discuss some of the basic UI elements I incorporated into the Space Shooter project. This will include a score counter and a game over screen. For the score counter I started by right clicking the hierarchy to create Text UI object inside of UI Canvas Object.


The next feature I created for the game is a powerup feature. Here we will focus on creating our first powerup which is called Triple Shot. This powerup will allow the player to shoot three lasers instead of one. the first step here is to actually create the Triple Shot…


Now that the core game mechanics for the game are complete it is time to progress the game out of the initial prototype stage. Here, we are going to implement some high quality Unity assets in order to make the project look more like an actual game.

I found this…


Hi everyone, here we going to get started with implementing a collision system using mesh colliders and rigid bodies. Before we get started I’ll go ahead and introduce the game objects being used. The large blue cube is the player which shoots green capsules which we call lasers. …


Hi everyone, this article is going to be going over some very basic 2D movement I accomplished in Unity. This article is intended to serve as the framework for a bullet hell type shooter game, so stick around if you want to final results.

To start of I simply set…

Brian Ratnasinghe

Here I am documenting everything I am learning in order to become a successful game developer.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store