This application generates a random medieval city layout of a requested size. The generation method is rather arbitrary, the goal is to produce a nice looking map, not an accurate model of a city. Maybe in the future I'll use its code as a basis for some game or maybe not.

Click one of the buttons to create a new city map of a desired size. Hover the mouse pointer over a building to see the type of the ward it belongs to. Press and hold SPACE to see all ward labels. Other keyboard shortcuts:

ENTERCreate a new city of the same size group
CCastle on/off
PPlaza on/off
TTemple on/off
WCity walls on/off
SShanty towns on/off
RRiver on/off
OCoast on/off

The first version of this generator was created for the monthly challenge #17 of the proceduralgeneration subreddit. This generator is also available at where you can copy and share permalinks to specific maps, in other respects there are no differences.

Toy Town is a 3d-visualizer for this generator. One day it may become a separate native application or a part of the generator, or both.

You can use maps created by the generator as you like: copy, modify, include in your commercial rpg adventures etc. Attribution is appreciated, but not required. 

Made with Haxe + OpenFL, the source code is available here.

Published May 18, 2017
StatusIn development
TagsCity Builder, Fantasy, Medieval, Procedural Generation
Average sessionA few seconds
InputsMouse, Smartphone
AccessibilityColor-blind friendly

Development log

View all posts