Skip to content
Piterson25Public

Latest commit

 

History

294 Commits

Folders and files

Repository files navigation

Defnight

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
screenshot1.png screenshot2.png
screenshot3.png screenshot4.png
screenshot5.png screenshot6.png

Getting Started

You can download compiled game straight from ITCH.IO (compiled for win-x64 and Arch Linux).

Build

To build it make sure you have C++20 compiler and CMake (version 3.28+):

cmake -S . -B build
cmake --build build --config Release -j

Built With

  • SFML - Graphics Library
  • Tiny AES in C - Used in loading and encrypting player stats

License

Defnight is licensed under the GPL License. See LICENSE for more information.

Releases

Used by

Contributors

Languages