Giter Site home page Giter Site logo

sebe324 / retro-game Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 3.0 37.06 MB

a 2d game made in SFML and c++

License: MIT License

C++ 94.47% C 1.25% CMake 4.28%
2d cpp fantasy game-dev sfml sfml-game procedular-generation contributions-welcome good-first-issue

retro-game's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.