PDA

View Full Version : Procedural city



NecroDOME
04-06-2010, 05:04 PM
I'm slowly turning to the dark side. Migrating the engine/game code from Delphi to the .NET C# language. But I still want to share this with the community. For a long long time I'm planning to build a city... from code! So finally I managed to get something working :).

Buildings are created in a 3D program, street network, streets models and sidewalks are created from code.

http://www.necrosoft.nl/wp-content/uploads/2010/05/Buildings1.jpg
http://www.necrosoft.nl/wp-content/uploads/2010/05/Buildings2.jpg
More: http://www.necrosoft.nl/?p=773, http://www.necrosoft.nl/?p=769, http://www.necrosoft.nl/?p=765.

No lights yet. I'm pretty busy at the moment with other (non-computer-related) stuff, but I will definitely finish this project and turn it into some kind of game!


(how do I make images smaller??)

virtual
04-06-2010, 09:38 PM
pretty good stuff , any chance to download the App ?
the mesh generator isn't hard to implement i think , especially the sample shapes
but the hard stuff is the procedural textures .

WILL
05-06-2010, 12:58 PM
Very cool. I had been wondering whatever became of this project of yours. ;) Nice to finally see it hit the light of day here on PGD. You know... you mentioned before a few ideas for this, a racing game, a UFO attacks carnage game, but what about an urban warfare style game? Tanks and infantry fighting amoungst the streets and buildings. You can then have buildings destroyed and bodies pile up in the streets as they attack each other. Then again you can do this with a UFO carnage game too. lol

NecroDOME
05-06-2010, 05:28 PM
I was more thinking about a Carmageddon clone... Or a rally game through a city... HARD LEFT!! sort cut up ahead!!
But a city, urban ware fare could also be an options yes.

btw: Buildings are selected randomly (I only have one at the moment, so thats why it all looks the same). Buildings are extracted from a config file for a building block. building blocks are the inner surfaces between streets (excluding sidewalks).