top of page

gALAXY SHOOTER

Galaxy Shooter is a gamedevhq course project that i completed individually that is available on itch. (Link below)

 

On this project I followed a course outline and created all aspects of the game other than the art assets and game design.

I created this project to test my skills in programming after taking some time off to pursue other life goals.

 

badge_bw.png

Weighted powerup and enemy spawn system!

 

The problem: I wanted a spawn system that would produce powerups and enemies at a percentage rate.

 

My solution: I created integer array tables for both the powerups and enemies. This allowed me to create 'percentages' that the item/enemy would spawn at. I then ran a for loop that compared a random number generated to that array and if the number was less than or equal to the first integer on the table then that would spawn. If it wasn't then it would subtract the two values and check if the new number was less than the next number in the table, then that would spawn.

boss battle!

 

The problem: I needed a boss to spawn every 5 waves, but one that was just hard enough to face while the other enemies in the wave were still spawning.

 

My solution: This was mostly a design preference. I chose to have an enemy spawn in at a random area along the top x-Axis and move to a stationary point in the middle of the screen. The enemy would have multiple projectiles to shoot, all in the same direction. I wanted that threat in the middle of the player's screen to hinder player movement away from the other enemies spawning.

 This project was great as a refresher in programming in C#. I learned a few new techniques and how to optimize some of my code along the way. I utilized online documents for assistance when I was encountering a problem.

bottom of page