OpenGL-backed city builder game for Windows and Linux.
Simple city-builder using OpenGL. For Windows and Linux. See http://konstruisto.com/ for more.
There are two building toolchains:
Only x64 builds are supported. MSVC is preferred for Windows. Windows GNU version is no longer maintained and will be removed.
scripts/setup-deps.sh
from the main directory:
git clone [email protected]:kantoniak/konstruisto.git konstruisto &&
cd konstruisto &&
chmod +x ./scripts/setup-deps.sh &&
sudo ./scripts/setup-deps.sh &&
cd -
make build run
To build release configuration use make rebuild run CONFIG=RELEASE
. Command make help
shows all possible options.
You will need to set up cmake
in PATH
if it's not already there.
scripts/setup-deps.ps1
in Powershell from the main directory:
git clone [email protected]:kantoniak/konstruisto.git konstruisto
Set-Location konstruisto
.\scripts\setup-deps.ps1
vendor\nanovg\build-msvc\nanovg.sln
nanovg
for Release/x64.vendor\assimp-5.0.0\build-msvc\Assimp.sln
ALL_BUILD
for MinSizeRel/x64.Konstruisto
.Please note that only x64 builds are supported.
You can use scripts/setup-deps.ps1
to set up the dependencies.
make
, clang
, clang++
, clang-format
in PATH
.windres
in PATH
from mingw-w64
vendor/glew-3.3
glm
library to vendor/glm-0.9.9.6
cereal
library to vendor/cereal-1.3.0
stb_image.h
to vendor/stb/stb/stb_image.h
nanovg
(see below)nanovg
You will need premake5
(download).
Extract repo into vendor/nanovg
.
Build x64 release:
cd vendor/nanovg
premake [vs2019|--cc=gcc gmake]
mv build build-[msvc|windows|linux]
cd build-[msvc|windows|linux]
make config=release64 nanovg
Copyright © 2017-2019 Krzysztof Antoniak
Contents of this repository is licensed under GNU General Public License, version 3.0 (GPL-3.0) with additional term according to the section 7(c) of the license: should you make a derivative of this repository, please do not use the name "Konstruisto", Konstruisto logo or use similar naming for your game what could misguide users. See LICENSE.txt for details.