🎮 2D RPG PvE game made in C SFML.
Defnight is a simple single-player mob arena game, with a pixel art style. Your objective is to survive for as long as you can. Before the start of the game, you can choose a map, character, and difficulty (more characters coming in the future). The game is split into waves of monsters, with different types of monsters and difficulties. Every 10th wave is a boss fight. When you reach a new level, you can choose which attribute to level up. At levels 5 and 10, you can upgrade to a new class with abilities. Gold you've collected can be spent in the shop or upgrading abilities.
- C 20
- CMake
- SFML
- Crypto
To play Defnight you can:
- Download and play it here 👉 ITCH.IO
- Build it yourself (all libs are included in this repo, make sure you have CMake and C 20 compiler):
cmake -S . -B build
cmake --build build --config Release -j
- Movement - WSAD
- Attack - LMB
- Ability - RMB
- Sprint - LShift
- Return - Esc
- Shop - Q
- Ability Upgrade - E
Game features several sounds and dynamic music during gameplay.
With collecting XP during gameplay, you can gain new ranks to showcase your skills. Ranks page can be visited in left corner of main menu.
Your history of waves and monsters killed is collected and stored in encrypted .dat
file.
In settings you can change window properties, fps limit, audio volume and language (English/Polish).
Defnight is licensed under the GPL License. See LICENSE for more information.