All Projects → kantoniak → konstruisto

kantoniak / konstruisto

Licence: GPL-3.0 license
OpenGL-backed city builder game for Windows and Linux.

Programming Languages

C++
36643 projects - #6 most used programming language
powershell
5483 projects
GLSL
2045 projects
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to konstruisto

GabTag
A gtk linux application to handle audio tags 🎵
Stars: ✭ 34 (+21.43%)
Mutual labels:  linux-app
kForth-64
64-bit Forth System for x86_64-GNU/Linux
Stars: ✭ 15 (-46.43%)
Mutual labels:  linux-app
linux-gui-legacy
(Discontinued in favor of official client) GTK3 GUI client with systray, for ProtonVPN. Works on top of linux-cli.
Stars: ✭ 181 (+546.43%)
Mutual labels:  linux-app
IntroToComputerGraphics-CityGenerator
A Procedural City Generator built in Three.js
Stars: ✭ 34 (+21.43%)
Mutual labels:  city-builder
MaCoPiX
Mascot Constructive Pilot for X
Stars: ✭ 57 (+103.57%)
Mutual labels:  linux-app
supermemo-wine
Project to make SuperMemo for Windows editions runnable with Wine
Stars: ✭ 56 (+100%)
Mutual labels:  linux-app
Jumpfm
A file manager that lets you jump.
Stars: ✭ 252 (+800%)
Mutual labels:  linux-app
Perspec
Scriptable desktop app to correct the perspective of images
Stars: ✭ 523 (+1767.86%)
Mutual labels:  linux-app
KDynamic
An Alternative to MacOS Mojave Dynamic Theme and Wallpaper Changer
Stars: ✭ 48 (+71.43%)
Mutual labels:  linux-app
todoist-linux
Todoist for Linux
Stars: ✭ 32 (+14.29%)
Mutual labels:  linux-app
vnstat-client
GUI Client for vnStat Network Monitor for Linux or GNU/Linux
Stars: ✭ 122 (+335.71%)
Mutual labels:  linux-app
ets2-job-logger
ETS2 Job Logger
Stars: ✭ 15 (-46.43%)
Mutual labels:  linux-app
PrimeXT
Modern SDK for Xash3D FWGS engine, uses PhysX for physics, has advanced OpenGL renderer with a lot of features. Crossplatform, supported Windows/Linux. Based on XashXT and Spirit Of Half-Life.
Stars: ✭ 65 (+132.14%)
Mutual labels:  linux-app
OLD-vital-development
No description or website provided.
Stars: ✭ 18 (-35.71%)
Mutual labels:  linux-app
Norka
Continuous text editor for Linux
Stars: ✭ 70 (+150%)
Mutual labels:  linux-app
Awesome Linux Software
A list of awesome applications, software, tools and other materials for Linux distros.
Stars: ✭ 16,943 (+60410.71%)
Mutual labels:  linux-app
SC2k-docs
Documentation related to the implementation of Maxis' game, SimCity 2000.
Stars: ✭ 239 (+753.57%)
Mutual labels:  city-builder
pw3270
3270 Emulator for gtk
Stars: ✭ 38 (+35.71%)
Mutual labels:  linux-app
notion-linux-wrapper
Notion.so desktop application for Linux
Stars: ✭ 37 (+32.14%)
Mutual labels:  linux-app
meow-sql
MeowSQL is an attempt to port HeidiSQL to C++/Qt (Linux/Windows)
Stars: ✭ 304 (+985.71%)
Mutual labels:  linux-app

Project preview

Simple city-builder using OpenGL. For Windows and Linux. See http://konstruisto.com/ for more.

Building

There are two building toolchains:

  1. Linux/Windows GNU headers using Makefile and Clang
  2. Windows MSVC build using Visual Studio and Clang

Only x64 builds are supported. MSVC is preferred for Windows. Windows GNU version is no longer maintained and will be removed.

Building on Linux

  1. Set up dependencies running 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 -
    
  2. Run make build run

To build release configuration use make rebuild run CONFIG=RELEASE. Command make help shows all possible options.

Building on Windows

You will need to set up cmake in PATH if it's not already there.

  1. Set up dependencies running 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
    
  2. Build NanoVG release libraries:
    1. Open solution vendor\nanovg\build-msvc\nanovg.sln
    2. Build project nanovg for Release/x64.
  3. Build Assimp release libraries:
    1. Open solution vendor\assimp-5.0.0\build-msvc\Assimp.sln
    2. Build project ALL_BUILD for MinSizeRel/x64.
  4. Open Visual Studio solution and build project Konstruisto.

Please note that only x64 builds are supported.

(Deprecated) Windows build with MinGW headers

You can use scripts/setup-deps.ps1 to set up the dependencies.

  1. You will need make, clang, clang++, clang-format in PATH.
  2. You will need windres in PATH from mingw-w64
  3. Install GLFW in vendor/glew-3.3
  4. Extract glm library to vendor/glm-0.9.9.6
  5. Extract cereal library to vendor/cereal-1.3.0
  6. Put stb_image.h to vendor/stb/stb/stb_image.h
  7. Build and install nanovg (see below)

Building nanovg

You will need premake5 (download).

  1. Extract repo into vendor/nanovg.

  2. 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
    

License

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.

Used libraries

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].