Skip to content

Videogioco creato insieme a Samuele Meta sfruttando la libreria SFML. Sprite non disponibili.

Notifications You must be signed in to change notification settings

SamueleMeta/videogame-cpp

 
 

Repository files navigation

CPP Videogame

Università degli Studi Firenze

Overview

At game launch, after an introductory splashscreen, you will be able to select one of the proposed characters. Each of them has different abilities and weapons, which affect the fighting style. Next you'll be able to give your character a name and select a buddy: a dog, a chicken or a sheep. These will be NPCs that will help the protagonist during his adventures. Once this setup phase is finished, the real game will start.

select player and name screen

To move the character the classic WASD configuration was chosen, while the directional arrows were assigned the task of casting spells and the space bar the use of the selected weapon. Defeating enemies, they will drop their weapon that will become collectable and usable from that moment on. Other collectable items are coins, obtained by defeating enemies. Once they are collected, they will increase the relative counter. If the character is wounded, his life will decrease depending on the amount of the sustained damage. One way to recover life quickly is to use, if available, the various potions. Finally, as the game progresses, the character will get experience points according to the achievements he has reached.

gameplay

In order to keep the status bar updated, the Observer design patter was used in pull mode. Moreover, to make the enemies' behavior more realistic, they will engage in duels with the protagonist, following him on the map until one of them dies. If the protagonist takes damage, his buddy will come to his rescue.

Please note that, since we used copyrighted sprites to make the game look more appealing, those were not included in the repo.

Team

About

Videogioco creato insieme a Samuele Meta sfruttando la libreria SFML. Sprite non disponibili.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 86.2%
  • Python 9.8%
  • CMake 1.5%
  • M4 0.7%
  • Shell 0.6%
  • C 0.6%
  • Makefile 0.6%