How to Build and Test your Unity Game

Thomas Mauro
2 min readMay 31, 2022

--

Time to bring this bad boy out of the Unity Engine for testing. Since my last article, I have put different music on the main menu and messed around with some powerup sound effects,post-process volume, laser sprite, sizing, and background. It all seems to work at the foundation level so now let's see if I can bring it out of Unity onto a Web GL where anyone can play it via a simple link.

There are other builds I can show you real quick as well. I will cover three. Right now the game is a simple 2d shooter. You have enemies and powerups that come down real fast. Destroy enemies for a point, collect powerups to get a boost like speed, triple shot, and shield. There can, should, and will be more done with this, but time to release the basic package.

Always have separate folders for Projects and Builds.

PC/Mac/Linux Build

  • File/Build Settings
  • Select PC, Mac & Linux Standalone
  • Set or make sure Targe Platform is set correctly
  • Customize the player settings to what you need
  • Select Build, make sure you are in your builds folder and save
  • The build will compile then you can play your game on your PC
Double click to start playing

WEB GL Build

  • File/Build Setting
  • Switch to WEB GL Platform
  • Player Setting to set how you need
  • Press Build and save to correct Builds Folder
File/Build Setting, Switch to WEB GL Platform
Build/Save

Right now my Web Gl works if you build and run, the standalone works as well no problem. Here is a link to an article that can help with the hosting of the WEB GL.

Play my current build right here:

--

--