WARNING: This was my first game in C++ so the code might be very ugly xD
Battle-SFML is a local (at this time) multi-player 2D turn-based RPG with a minimalist fantasy style in french (at this time).
It is being coded with C++ and SFML Library (official website is: https://www.sfml-dev.org).
SFML provides a simple interface to the various components of your PC, to ease the development of games and multimedia applications. It is composed of five modules: system, window, graphics, audio and network.
If you are building and running Battle-SFML from source, this is the simplest way to get started on all operating systems. Here you build and play Battle-SFML in a local folder instead of installing it to a standard OS folder (e.g. /usr/local or Program Files).
- Clone the Battle-SFML repo into your user directory.
- Install and configure SFML Library (help: https://www.sfml-dev.org/tutorials/2.4/#getting-started).
- Compile and run Battle-SFML.
KEYBOARD UP: Move Unit to the top
KEYBOARD RIGHT: Move Unit to the right
KEYBOARD LEFT: Move Unit to the left
KEYBOARD DOWN: Move Unit to the bottom
RETURN: Start Attack-Mode
MOUSE LEFT CLICK (in Attack-Mode): Attack to the mouse position
ESCAPE (in Attack-Mode): left Attack-Mode
RETURN (in Attack-Mode): left Attack-Mode
BACKSPACE: Skip turn.