Ian Hughes's profile

Iron Dominance - CSC 103 Final Project, Ian Hughes, '23

Iron Dominance
Iron Dominance is a top-down tank shooter game inspired by classic titles like Atari Combat, Battle city, and more modern games like Wii Tanks and Awesome Tanks from the website Cool Math Games. I chose this style of game because I really enjoy this kind of gameplay and level clearing, and during covid I spent a lot of time playing browser based games that used a similar idea. I also wanted to develop skills in creating many different classes for players, barriers, enemies, and bullets, and practicing controlling their interactions.
One of the main parts of the game that took the longest to solve was how to link the player's movement with its direction of fire. The original idea was to only have the player fire in the cardinal directions and each diagonal, but it proved difficult to store the last direction of movement in order to be able to fire in any direction while stationary. The solution to this was to create a smoothly rotating player that fired only in the "forward" direction but could pivot to any angle. The code used for this function was not something covered in the coursework, so Chris Whitmire provided me with a small bit of starter code that I built upon and integrated into the game. 
The game has several states: an opening title screen, three levels with different layouts and numbers of enemies, and a win and a lose screen.
Title Screen
Level 1
Level 2
Level 3
Win screen (with highest possible score)
Lose Screen (with lowest possible score)
Here is a recording of gameplay ending in a win screen
Here is a recording that ends in a loss
Iron Dominance - CSC 103 Final Project, Ian Hughes, '23
Published:

Iron Dominance - CSC 103 Final Project, Ian Hughes, '23

Published: