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. Right-click to add a landmark.

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

StatusIn development
Made withHaxe, OpenFL
TagsCity Builder, Fantasy, Medieval, Procedural Generation
Average sessionA few seconds
InputsMouse, Smartphone
AccessibilityColor-blind friendly

Development log

View all posts