The Deep End: Procedural Content

Posted by omicron1 on Jan. 21, 2008, 6:54 p.m.

So, I can (and have) fit a universe of up to 120 galaxies, each with up to 100,000 stars, each with up to 12 planets, each with up to 12 moons and 10 cities, and each of those objects with a uniquely-generated three-syllable name (3,168,000,000 entities, for those who are counting) into a 30.1kb gmk file. It takes less than a 300th of a second to generate this, or to move from one entity to another. Plus, the data for this universe itself takes up a grand total of…

4 bytes.

That's one integer… and I can generate 4,228,250,625 unique universes using it.

Random facts:

The total size of storing all the names for these objects would be

38.016 gigabytes of storage space.

I also keep track of the color of every star; the distance of each planet from its sun; the type of each planet (rocky, earthlike, gaseous, etc.); the radius of each moon; its distance from its planet; etc.

With the addition of a single integer, I have the time in the galaxy; how civilized every planet in the galaxy is, and how many cities it has (this number grows over time).

I can potentially keep track of trade, governments, ships, lawfulness, pirate bases, natural resources, hazards, etc. - all with the same two integers.

The nearby entities (reachable by travel) for a planet in a galaxy I recently generated are:

Merex Galaxy

Oizuna Galaxy

Talu Galaxy

Rapyum Galaxy

Cluster Isenete

Cluster Gait

Cluster Kinlu

Cluster Geitman

Zuna Star

Geitarrati Star

Periarra Star

Dunekase Star

Planet Aolisman 1

Planet Aolisman 2

Planet Aolisman 3

Planet Aolisman 4

Planet Aolisman 5

If all that doesn't convince you to try procedural content… well… there's no help for you.

Comments

Josea 16 years, 3 months ago

Procedural content is awesome :D

Amarin 16 years, 3 months ago

I want to make some procedural content. =D