Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

46bit/tilewater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tilewater

A miniature city simulator.

Welcome to Tilewater preview image

Get started

Tilewater is built upon Rust and Piston. To play it you'll need to install Rust and the SDL2 libraries.

  1. Install Rust stable by following the instructions at rustup.
  2. Once you have Rust installed, download the code and build it:
    git clone https://github.com/46bit/tilewater.git
    cargo run --release
    If you get an error mentioning SDL2, you need to install some libraries. You can find cross-platform instructions here.

The --release flag is necessary for smooth animation, as Tilewater is not heavily optimised and thus performance-hungry.

Controls

You interact with the world using a cursor. At present this starts in the top-left. Use your arrow keys to move the cursor about (at present, this may only function on macOS).

  • Newly-built roads must neighbour an existing road. Build one under the cursor using your space key.
  • Buildings are built with a 1-square gap between them and a road. This gap becomes an entranceway. They cannot be placed next to another road or building, but can be built diagonally.
    • Typing h will build a House (green). A cim (a simulated person) will be spawned and move to live in it.
    • Typing g will build a General Store (purple). These are visited regularly by cims, as if to purchase groceries.
    • Typing s will build a Saloon (blue). These are visited regularly by cims, as if to socialise.
    • Typing f will built a Factory (red). In time these will employ workers.

If you get stuck, the preview video shows examples of using all these commands.

A pretty little example

I rather like this street layout.

About

Miniature city simulator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages