Simple 2D RPG made in C++ and SFML
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Riyyi 2ee81d12ab Update title and git urls 2 months ago
data Move data to project root 2 months ago
deps Add SFML, rapidjson as git submodule 2 months ago
src Change walking input to WASD 2 months ago
.gitattributes 💥🐫 Added .gitattributes 6 years ago
.gitignore Update .gitignore 2 months ago
.gitmodules Add SFML, rapidjson as git submodule 2 months ago
CMakeLists.txt Remove comments from cmake build file 2 months ago
README.org Update title and git urls 2 months ago

README.org

Simple 2D RPG

Simple 2D RPG made in C++ and SFML.

Download

Clone

  $ git clone https://<git>.com/riyyi/rpg
  $ cd rpg
  $ git submodule init
  $ git submodule update

Or

  $ git clone --recursive https://<git>.com/riyyi/rpg

Update

  $ git pull
  $ git submodule update --recursive

Build instructions

Linux

Prerequisites

Install the dependencies:

Compile

$ mkdir build
$ cd build
$ cmake ..
$ make

Windows

Prerequisites

Download and extract build tools:

Add build tools to system PATH:

  • C:mingw64\bin

  • C:\cmake\bin

Compile

$ mkdir build
$ cd build
$ cmake -G "MinGW Makefiles" ..
$ mingw32-make.exe

Libraries

References

Programming

Book

  • Michael Dawson - Beginning C++ Through Game Programming, Third Edition - 2010

Video

Art