Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LegionOf2D

C++20 2D isometric Roman city builder + tactical battles (Milestone 1 foundation).

Build

cmake -S . -B build
cmake --build build

If SDL2 or SDL2_image are not found, install them via your OS package manager (e.g. libsdl2-dev and libsdl2-image-dev on Ubuntu).

ImGui is pulled via FetchContent. Disable with:

cmake -S . -B build -DLEGION_ENABLE_IMGUI=OFF

Run

./build/legion

Controls

  • Left click: place selected building
  • R: toggle remove mode, left click to remove
  • Tab / 1-3: cycle/select building types
  • Right mouse drag: pan camera
  • Mouse wheel: zoom

Data

  • data/TileDef.json
  • data/BuildingDef.json

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages