Simple 2D RPG made in C++ and SFML
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Riyyi 2ee81d12ab Update title and git urls 3 年前
data Move data to project root 3 年前
deps Add SFML, rapidjson as git submodule 3 年前
src Change walking input to WASD 3 年前
.gitattributes 💥🐫 Added .gitattributes 9 年前
.gitignore Update .gitignore 3 年前
.gitmodules Add SFML, rapidjson as git submodule 3 年前
CMakeLists.txt Remove comments from cmake build file 3 年前
README.org Update title and git urls 3 年前

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