2D RPG PvE game made in C++ and SFML
Single-player PvE/mob arena RPG game. Your objective is to survive for as long as you can. Before the start of the game, you can choose a map, hero and difficulty (more heroes 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 your current hero, gaining new abilities. Gold you've collected can be spent in the shop, hero screen or upgrading abilities.
The game features various sounds and music during gameplay. By collecting XP during gameplay, you can gain new ranks to showcase your skills. The ranks page can be visited in the left corner of the main menu. Your statistics from games are collected and stored in an encrypted .dat file and presented on the Statistics page. In settings, you can change window properties, fps limit, audio volume and language (English/Polish).
The keybinds include:
- Return - Esc
- Movement - WSAD
- Sprint - LShift
- Attack - Hold Left Mouse Button
- Ability - Hold Right Mouse Button
- Shop - E
- Hero - R
- Ability Upgrade - F
![]() |
![]() |
|---|---|
![]() |
![]() |
![]() |
![]() |
You can download compiled game straight from ITCH.IO (compiled for win-x64 and Arch Linux).
To build it make sure you have C++20 compiler and CMake (version 3.28+):
cmake -S . -B buildcmake --build build --config Release -j- SFML - Graphics Library
- Tiny AES in C - Used in loading and encrypting player stats
Defnight is licensed under the GPL License. See LICENSE for more information.






