Skip to content

alxshine/cppp-metroidvania

Repository files navigation

cppp-metroidvania

Building and Running

We use CMake, and included an empty build directory for convenience. In whatever build directory you use, there should be an executable called game, which starts the game.

CMake copies our assets and declarative configuration to the build directory, so either the project root, or the build folder are valid working directories for the game.

Playing the Game

Basic Controls

Use A and D for moving left and right. You can jump using Space and slide using L. You can drop from platforms with S, and hold it to fall at terminal velocity without acceleration delay. Sliding makes you invulnerable (we didn't have a rolling animation). By pressing K you can start attacking. After an attack has ended, you have 50ms to start a combo attack with increased damage (you can also just hold the key).

Transformation potions

The 3 first bosses drop transformation potions, which allow you to use one of their attacks. To use them, press U, I, and O, respectively. On picking up one of the potions, a prompt tells you which button to press.

Combat

There is a brief invulnerability period while a hurt animation plays. Enemies have a poise rating: Dealing damage above that will interrupt them. Attacks only deal damage on specific animation frames, so slow attacks can be dodged intuitively.

Damage scales as a function of the level, and basic attacks can be improved by getting the sword. Saving the game and leveling up are the only ways to heal.

About

A short 2D Metroidvania built for the Advanced C++ (C+++) course of UIBK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors