Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.13 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.13 KB

olc-rts

Simple pixel-style hex based RTS game.

Project using javidx9's olcPixelGameEngine

Untitled

Controls

Button Action
W Move camera up
A Move camera left
S Move camera right
D Move camera down
Z Increase hex tile height
C Decrease hex tile height
Left click Select hex tile
Right click Move player (if selected hex tile has player)

Building

Building is based on Moros1138's pge-template-project CMake files

Arch Linux

Install the required packages with the following command

sudo pacman -Sy base-devel cmake git libpng mesa

Generate project makefiles and build with CMake

# Use the -d flag to build for debugging
./build.sh

Windows

Install a C++ compiler like MinGW

Generate project makefiles and build with CMake

# Use the -d flag to build for debugging
./build.sh