Minimal City : This is a procedural game completely generated by using Geo Spatial data, L Systems and Rules based modelling. The final product is a game playable on Mac or Windows, made using Unity.
This is a detailed description of what went into my final project for the class. Here are some links to all the good stuff.
Link to download game for Windows http://tinyurl.com/p8rw92v
http://tinyurl.com/lmd44br
Breakdown video Coming Soon
Screen Grabs Coming Soon
There were mainly 4 types of models that I generated for the game
This is a detailed description of what went into my final project for the class. Here are some links to all the good stuff.
Link to download game for Windows http://tinyurl.com/p8rw92v
http://tinyurl.com/lmd44br
Breakdown video Coming Soon
Screen Grabs Coming Soon
There were mainly 4 types of models that I generated for the game
- Buildings
I relied on Map data from Openstreetmaps.org to get the shapes of buildings. I extruded the building shapes to random heights. (This was not ideal, but there is absolutely no information about the height of the buildings in Openstreetmaps data.) After this I poke holes in the building based on how many windows are specified. Having a lot of Windows caused many Z fighting issues in the building corners and also increased the poly count. So I kept the number of windows to minimum.
- Roads
There is no information about the width of the road in the data. So I had to guess the width of the road by the type of road. (Highway, walkway etc) The hardest challenge when dealing with roads was the intersections. I even wrote an email to openstreetmaps asking them how to interpret lane information in their data. Some roads have multiple lines for lanes, some roads have them all merged into one line.This becomes an issue since I am doing 3D and have plans to extrude roads as well. I couldn't resolve this issue, So I decided to lay all the roads as a Flat plane. This leaves me only Z fighting between primitives to deal with. To prevent Z fight between different roads, I used a for loop to loop through all the patches of roads and translate them in Y axis. It took me 4 weeks to figure this out!
Here's an example of pretty data and Ugly data from maps. How would I go about converting those choppy lines into one continuous line? :O
- Car
I didn't plan to model everything procedurally until I figured Cars could be modeled using rules based systems. This tool takes a parameterized cube as input and reduces the number of polygons and creates wheels for the car. Here's a test render of the Car that I ended up using.
- Trees, Lamppost, Cloud etc. I have talked about L System rules for the Trees in my previous post. Here's a Gif showing different Trees that I had generated. This is only 1/3 of what's in the game.

- I didn't have the idea of creating everything in City procedurally. So I ended up with 4 different tools that generates Geometry. Ideally, I should have one tool that does all this.
- Never figured out how to best use Location data, even though I had it!

- This was way too much work for 2 weeks. But it was time well spent.
- These are the games that are ruling the App store and making some noise.
https://everyplay.com/videos/11914792
https://everyplay.com/crossy-road/home
It means that this art style definitely has some opportunities in Mobile/Tablet market . - Overlay Openstreet map in the mini map?
- Unless you are into Racing games, this game doesn't particularly offer anything unique to hook the players! I need to talk to people and figure out the best Gameplay to best use location based maps. This either needs Multiplayer or something else.
- Have a library of assets that replace generic buildings with something more specific. For example , I could search for "McDonald's" and generate a suitable building that looks like McDonalds, instead of just Boxes.











