Open in app

Sign In

Write

Sign In

Matthew Bartosh
Matthew Bartosh

13 Followers

Home

About

Jul 11

Camera Shake

Today my objective is to create additional feedback to the player when they’re hit by adding a camera shake. Relatively easy process here, create a camera shake script for the main camera. …

Unity

2 min read

Camera Shake
Camera Shake
Unity

2 min read


Oct 11, 2022

Thruster fuel UI

Today my goal is to set up a UI for my thrust and a limited fuel that recharges. I need to set up UI images on the canvas, one for the empty bar, and another for full bar. The empty bar is just a blank image colored.

Unity

2 min read

Thruster fuel UI
Thruster fuel UI
Unity

2 min read


Sep 28, 2022

New Ammo Pickup — Homing Missiles

My goal today is to create another pickup for a special kind of ammo, specifically a homing missile. I’ll start by making the missile object, and to represent it, I’ve downloaded a new animated sprite. …

Unity

3 min read

New Ammo Pickup — Homing Missiles
New Ammo Pickup — Homing Missiles
Unity

3 min read


Sep 26, 2022

Common Collectables

Today my objective is to create what I’m calling “Common Collectables”, health and ammo that will be handled separately from my ‘powerups’, but I’m going to make health rarer than ammo. I’m setting up the variables in the SpawnManager.cs first, then adding StartCoroutine(HealthAndAmmoRoutine()); to my StartSpawning method.

Unity

2 min read

Common Collectables
Common Collectables
Unity

2 min read


Sep 13, 2022

Ammo Count

Today my objective is to set an ammo count and display it. I’ll set up a _currentAmmo int and _outOfAmmo audioclip in my Player to start with. Then I’ll update the FireLaser() method to subtract one from the current ammo if TripleShot isn’t active, since I want to give the…

Unity

2 min read

Ammo Count
Ammo Count
Unity

2 min read


Aug 31, 2022

Shield Strength

Today my goal is to give Shields 3 hits, and add a UI element to track its health. First I’m going to create three parent objects, each with the correct number of shield sprites in them, position them over my Player lives, then toggle their active state to false.

Unity

2 min read

Shield Strength
Shield Strength
Unity

2 min read


Aug 22, 2022

The Escape Button is a Feature

Simple objective today, just adding the ability for Escape to exit my game. It’s not something that’s default, it has to be coded in yourself! Easily done though, just going to my GameManager.cs and adding another if-then statement for Escape and setting it to Application.Quit(); when pressed. That’s all! It won’t work in the Editor though, you have to Build to test it out.

Unity

1 min read

The Escape Button is a Feature
The Escape Button is a Feature
Unity

1 min read


Aug 19, 2022

Building and testing my Unity game

My goal is to build my Unity game as a standalone product. Luckily, Unity makes this incredibly easy! Just by going to build settings in the file menu, you have plenty of options to choose from. Even more if you downloaded support for them. For now though, I just want…

Unity

2 min read

Building and testing my Unity game
Building and testing my Unity game
Unity

2 min read


Aug 16, 2022

Finishing up sound design in my game

Today my goal is to set up explosion sounds for the asteroid and enemies, as well as powerup pickup sounds. Just like with the Player, we’re going to want to make sure an Audio Source component is installed on the enemy, For this one though, we’ll want to ensure Play…

Unity

3 min read

Finishing up sound design in my game
Finishing up sound design in my game
Unity

3 min read


Aug 13, 2022

Making my game more immersive with sound

Today my goal is to add sound to my game! I’m going to start with background music. The first step is to add an Audio Manager object, beneath it I’ll place another empty GameObject named Background. On this Object I’ll stick an Audio Source component which will allow me to…

Unity

2 min read

Making my game more immersive with sound
Making my game more immersive with sound
Unity

2 min read

Matthew Bartosh

Matthew Bartosh

13 Followers

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams