PGD Home

P0-A6: Part 681: City Generator

by on Jan.19, 2020, under Astral Realms, P-0, P0_A6, Software and Games, Spiritus Astrum

I have basically completed my concept work with the new city generator.

I can generate very large cities, with hundreds of buildings, with very little, if any, stuttering.

I am using simple instantiate to create the buildings, and even without a coroutine, the code runs quickly. I have added a coroutine for optimisation, however.

I am also loading all of the different building prefabs from a separate scene, this will cut down on the memory requirements by only loading the buildings when they are needed.

The next step is to integrate this system into my main project, replacing the existing system, and then test it.

Facebooktwitterredditpinterestlinkedinmail

Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!