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. Right-click to add a landmark. 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
BBuildings on/off
LLegend on/off

👉For development news and related stuff please check a dedicated reddit community.

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

🏙️ To view a 3D model of a city export it as JSON and import the file into City Viewer.

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. Please consider supporting this project on Patreon☕!

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

Updated 29 days ago
StatusIn development
CategoryTool
PlatformsHTML5
Rating
(1520)
Authorwatabou
Made withHaxe, OpenFL
TagsCity Builder, Fantasy, Medieval, Procedural Generation
Average sessionA few seconds
LanguagesEnglish
InputsMouse, Smartphone
AccessibilityColor-blind friendly

Development log

View all posts