Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
Riyyi
2ee81d12ab
|
3 anni fa | |
---|---|---|
data | 3 anni fa | |
deps | 3 anni fa | |
src | 3 anni fa | |
.gitattributes | 9 anni fa | |
.gitignore | 3 anni fa | |
.gitmodules | 3 anni fa | |
CMakeLists.txt | 3 anni fa | |
README.org | 3 anni fa |
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:
- MinGW (64-bit) get the version recommended by SFML!
- CMake
Add build tools to system PATH:
- C:mingw64\bin
- C:\cmake\bin
Compile
$ mkdir build
$ cd build
$ cmake -G "MinGW Makefiles" ..
$ mingw32-make.exe
References
Programming
Book
- Michael Dawson - Beginning C++ Through Game Programming, Third Edition - 2010