Skip to content

liraymond04/olc-rts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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