Shooting cactus in the desert? Now that’s fun.

 

This game was the result of a final project in one of my many game development classes. In this game, you control a turret that can rotate via the A and D keys. Pressing space bar will shoot out a rocket, and upon contact with a cactus, will explode, destroy the cactus and provide the player with a point. Cactus enemies are randomly spawned in one of four locations that then run towards the tank. If they make contact with the tank, they explode and the player takes damage. When the players damage reaches three, the game is over. The entire of this game was programmed in a little under 10 hours of work.

playinggif.gif

Killing cacti.

Here you can see the turret rotating to incoming cacti that want to hurt you! Bottom left is the ammo, where once it reaches 0, you’ll need to press R to reload. While you are reloading, you are unable to shoot more rockets. As stated earlier, the cactus enemies will spawn in one of four random spots every three seconds.

damagegif.gif

Taking damage.

Here you can see how the tank/player takes damage. Damage starts at 1, and upon contact with the tank, the cactus explodes and damage is increased by 1.

gameovergif.gif

Game over!

Lastly, this is the game over screen when the final cactus damages our tank enough to trigger the threshold. Upon hitting this segment, cactus enemies will no long spawn, score cannot be earned and you cannot shoot/reload.

 

Previous
Previous

Forest Soul