Random City Generation Beginnings

Hello everyone!

It’s been awhile since I posted something here (although my unseen presence hasn’t wavered). Today I bring to you the start of a Map Generation tool I’m making for a game. Basically it uses hex tiles to create a map with TONS of roads (as you’ll soon find out). Currently it’s baked at max roads so it’s WAY too congested, but I’ll fix that soon.

The idea is simply to bring random city generation to a game. Hopefully I can do that and add it to some small demo game.

Anyways, here’s the link - Web Player

P.S. - Randomness basically defines how crazy the roads are (curvy if you will).

Maybe can get some ideas from here,

Polygonal Map Generation

Epic… Will it create a full city, or just a layout?

For the past weeks, I’ve been working on something very similar for a game idea.

I found these paper / article very interesting

http://ccl.northwestern.edu/papers/ProceduralCityMod.pdf

http://www.vision.ee.ethz.ch/~pmueller/wiki/CityEngine/PaperCities

@mgear: Actually, I’ve read that article quite often. Not sure if you’ve explored that guy’s website but it’s brilliant. Amit is clearly the man.

@lordaddament: In all honesty, I doubt it will ever reach completion, but the goal is simple: Generate a land mass that consists of a city large enough for the user to experience a “levels” worth of gameplay in. So yes, simply put it will generate an entire “city”. (Although that city will probably be significantly smaller than a city in GTA for example).

@mgrenier: Looks pretty awesome. My implementation is tile-based and I’m not quite striving for a sense of realism as it’ll have more of arcade-like intentions. But really, that looks great! I think I might give it a custom editor interface as well (although I dislike GUIs :frowning: lol). And I’d like to follow your progress if you have a thread going.

I’ll add a new player sometime soon as I have some place-holder buildings as well as “districts” now. Essentially I wanted the player to feel like the world wasn’t to repetitive so I’m trying to break into “districts” or “areas”. (Suburbs/Housing, Commercial, and Construction with possibly more along the way)

I do share some of my finding progress on twitter, I’ll try to post back in this thread.

I’m also looking for a tiled city, I’m definetly not trying to go in the direction of CityEngine 2010…