Building for the web

Another platform that Unity can build for is WebGL. Building for WebGL is pretty much the same as building for PC, Mac, and Linux. To get started, just click on File and then select build settings…

After clicking on Build settings… You should get the build settings window.


Building for PC, Mac, and Linux.

Lets talk about how to build a finished game. You have a finished game and now you want to build it so that you can sell it on a chosen game platform. This is very easy in Unity also.

Basically, just choose File from the Unity menu and then select Build Settings… From there just choose PC, Mac, or Linux standalone and click on Build. You will then be asked where to save your build. Create a folder to hold the build of your game and click to select the folder. You game will now build. You will get an open folder where the game built. You can click on the executable and this will run your game. You now have a running and published game.


Adding video game sounds

Lets add some sound to our games. Like everything else, creating sounds in Unity is not all that hard. The basic setup to get sound working in Unity is to make Unity aware of the AudioSource clip you want to play by making a variable in…


‘Immersion Starts with Sound- Background Music’

Now the basic game is pretty much done. It looks really nice and plays pretty nice but something is missing. Some of us, like me, may have been making up the sounds in our heads this whole time but I think the game would…


Unity has a way to make games visually more interesting. There are a whole lot of visual effects that can be used to make a game go from dull to spectacular.

To access these effects, you have to get to Unity’s post processing package. This one of many Unity packages…


Damage VFX using Animated Sprites in Unity

In this article, I will discuss creating damage in 2D sprite based games. In Unity, its easy to create effects. In my case, all I needed to do was; drag in a frame from my damage animation, copy and paste the entire animation…


Creating Enemy Explosions

Today I will explain how to create an explosion when an enemy is hit.

The first thing that needs to happen is to create an explosion animation. I used a database to get my animation to play for the enemy vessel exploding. Next, open the enemy prefab…


Loading scenes

One of the basic concepts of modern games is loading scenes. In this article, a main menu will be created that takes the player into the game scene where the game is played, when the player clicks on the start button.

The first thing to do is create…


Creating a retro game-over behavior

Today, I will describe adding a flashing “retro” Game-Over text to the screen as soon as the player looses all of their lives. Because there is already a UI_Manager script in my game and this script is already attached to the Canvas, its not really all that hard to add…


Displaying lives

One thing my current game is missing now that most games used to have is a lives counter. This can be fixed easily with Unity using Unity’s built-in UI image game object. …

Brian Perry

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