sebe324 / retro-game

a 2d game made in SFML and c++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

retro-game

This is a 2d game made in C++ and SFML with a kind of retro aesthetic.

Version alpha 0.3.0 short preview

preview.1.mp4

Description

The player controls a hero, that fights monsters in a procedurally generated world.

Enemies can spawn in different biomes.

All enemies have their own properties. Some will attack on sight, others will run away or be neutral. There are also different monster types with their own properties.

A few monsters will fight until their last hp point, while some others are going to escape if low on hp.

There are numerous classes to choose from and each has unique abilities.

Project Status

W.I.P

Building from source

Using command line

  1. Install SFML from their original website: https://www.sfml-dev.org/download.php
  2. In CMakeLists.txt set the SFML_LOCATION to your sfml download location
  3. Use the following commands in the command line: cmake . cmake --build .
  4. Move SFML dynamic link libraries from the SFML_LOCATION/bin to the folder with the executable in the project directory.
  5. Just click the app icon. It should work now.

Using an IDE

  1. Install SFML from their original website: https://www.sfml-dev.org/download.php
  2. Configure it with your IDE. Here are some tutorials: https://www.sfml-dev.org/tutorials/2.5/
  3. Create a new project and add the source files into the project.
  4. Copy the sfml dlls (window, graphics and system) where the executable is located.
  5. Run the game.

Installation

  1. Install the release from the "releases" tab.
  2. Unzip the package
  3. Run the executable

Contributing

If anyone wants to help feel free to fork, add some things and contribute.

You can also start an issue and leave feedback.

There is a lot of things to do:

  • Making the code more readable
  • Documentation
  • GUI changes
  • More gameplay mechanics (abilities, special effects, obstacles, etc)
  • Sound
  • A duel gamemode
  • Ranged attacks
  • Player Inventory
  • Language
  • And much more

License

MIT

About

a 2d game made in SFML and c++

License:MIT License


Languages

Language:C++ 94.5%Language:CMake 4.3%Language:C 1.3%