Skip to content

City-building simulation game built in Processing for the Video Games module at the University of St Andrews.

License

Notifications You must be signed in to change notification settings

Druid-of-Luhn/CityMayor

Repository files navigation

CityMayor

CityMayor is a city-building simulation game built in Processing for the Video Games module at the University of St Andrews.

A screenshot of a large town built in CityMayor.

Aim of the Game

The aim of the game is to build a large and beautiful city, full of people and generating a good income. If the population does not have jobs, shops or entertainment, they will begin to leave. A lack of housing will restrict population growth.

The game is not well balanced, so once income is steady it becomes very difficult to stop it from continuing to grow. As the main point is to enjoy the calm city-building process however, this is not too much of a problem.

Controls

The game is both keyboard- and mouse-driven and the controls are explained in game screen.

Actions

The list of actions available in CityMayor.

  • Done: deselect the currently selected action.
  • Building: place a building, chosen from a dropdown menu.
  • Road: place a road.
  • Forest: plant a forest.
  • Demolish: demolish a road or forest.
  • Show/Hide HUD: show or hide the heads-up-display.
  • Undo: undo previous actions.
  • Redo: redo previously undone actions.
  • Pause: pause the current simulation.
  • Save: save the game to $HOME/Desktop.
  • Load: load a game from $HOME/Desktop.

Placing buildings, roads and forests costs money, as does demolishing them. A cost label appears above the mouse with the amount that it would cost to perform the current action, as well as a preview of the item being placed.

License

Copyright 2017 Billy Brown.

This project (CityMayor) is licensed under the Mozilla Public License version 2.0. See LICENSE file.

About

City-building simulation game built in Processing for the Video Games module at the University of St Andrews.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published