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

Compatibility:

For me it works in Chrome, Opera and Safari on Mac and in Chrome and Edge on Windows. It works on Android and iPad, but not on iPhone (although it may be an itch.io glitch).

Press Enter to build a new city.

Camera keys:

  • 1 - Street level perspective view
  • 2 - Default perspective view
  • 3 - 45° orthogonal view (RTS view)
  • 4 - Top-down orthogonal view (map view)
  • ` - Toggle auto-rotation

First person keys:

  • W, A, S, D - Walking
  • +/- Moving up/down
  • Click and drag mouse to turn the camera. Unfortunately "mouse lock" is not implemented in OpenFL for HTML, so it's not as comfortable as it should be.

"Environmental" keys:

  • 5 - Frost
  • 6 - Desert
  • 7 - Winter fog
  • 8 - Europe
  • 9 - Night
  • 0 - Random

Other settings:

  • H - Turn on/off shadows. Shadows double the number of polygons in the scene.
  • T - Turn on/off textures (windows)
  • F - Turn on/off trees. Trees greatly reduce FPS.

Made with Haxe + OpenFL + Away3D

More information

Published 7 days ago
StatusPrototype
CategoryTool
PlatformsHTML5
Rating
(12)
Authorwatabou
TagsCity Builder, mfcg, Procedural Generation, PROCJAM

Comments

Log in with your itch.io account to leave a comment.

Looks neat!

Cities are very similar though..

I think there are 2 main reasons for that: lack of terrain elevation and simplistic buildings. I'm not planning to address the latter right now, but the former will be the main focus of the further development.

I remember this was one of my first thoughts upon seeing your generator; it would be so cool to generate 3D procedural medieval towns and then use it for roguelike gameplay or something. Love it!

Yeah, now I'm thinking about making a city-based rpg or something :)

This is super cool and as you said when working on the other generator 3d looks good!, Next thing to takle however is potensial elevation changes?

Exactly!

(+1)

This is amazing!

Put this and MFCG together, add some save function, the ability to draw rivers and walls...

...then shut up and take my money!

You could make the windows glow when selecting the night environmental opt

That would look nice, but with my current tools it's not trivial to implement. One more reason to think about switching to Unity3D

(+1)

Super nice.

Would you be able to share the source code for this? Would love to leverage it but need to be able to configure how some of the random variables are structured (ie mapping of structures)

The source code of the generator itself is here.

(+1)

Awesome.

Admin(+1)

This is cool, nice use of the city generator.

Hi! 


A suggestion: please generate an obj file of the city..

I would also love to have some sort of 3d file for importing into Blender or whatever. Maybe some industry standard like DWG? I would also be willing to contribute on development efforts. Let me know if this is something you want to pursue.

DWG sounds good too!