Skip to content

F-Dudley's C++ Programming Source Code

Notifications You must be signed in to change notification settings

Birmingham-City-Uni/CMP5327-Milestones-Finn-Dudley

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

CMP5327 F-Dudley

This was a Project Repository for CMP5327 at Birmingham City University, where we were tasked to create a 2D Game in C++ using the SDL Library, and its extensions (SDL_image and SDL_ttf). My created game was a Zombie Survival Horde Game, where the player can run around the environment and shoot multiple different weapons.

How to Run the Program:

Once Running the Games Windows Executable, the game will launch to a Main Menu Screen, where you as the player can decide what map to play. To select what Map out of the shown selection, you use the number keys that correspond to what is shown on the screen, for example pressing 1 would start the first map, known as "Surrounded".

Once the enviroment has been created you can use either WASD or Arrow Keys to move the character and aim the Character with the Mouse, by moving the in-game crosshair. The Player can Shoot with Mouse Click or Spacebar, and can swap between weapons by using the number keys, them being a pistol [1], rifle [2], shotgun [3]. The Aim is to Survive as long as possible agains the constantly spawning zombies.

References:

Lazyfoo.net. 2021. Lazy Foo' Productions - Beginning Game Programming V2.0. Available at: https://lazyfoo.net/tutorials/SDL/index.php [Accessed 7 January 2021].


n.d. Crosshair Pack. Available at: https://www.kenney.nl/assets/crosshair-pack [Accessed 7 January 2021].


  1. Animated Top Down Survivour Player. Available at: https://opengameart.org/content/animated-top-down-survivor-player [Accessed 8 January 2021].

  1. Animated Top Down Zombie. Available at: https://opengameart.org/content/animated-top-down-zombie [Accessed 7 January 2021].

  1. 32X32 Tilemap Grass Snow Water. Available at: https://opengameart.org/content/32x32-tilemap-grass-dungeon-floors-snow-water [Accessed 7 January 2021].

  1. Weapon Icons. Available at: https://opengameart.org/content/weapon-icons-1 [Accessed 6 January 2021].

About

F-Dudley's C++ Programming Source Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages