A small world à la No Man's Sky : Under the hood!

Some people are asking if / what is procedurally generated : Mostly everything ;)

pr00.png

The 2d planets are procedurally generated, it use about 100+ different planet textures, all monochrome, then use a material to add color. The minerals are also selected randomly and the particles systems are blinking with the corresponding mineral color (iron = red, gold = yellow, …)

Just to give an idea of some of the attributes of a planet : ``` new PlanetObject(planetName, pos2d, pos3d,width, height,mass,

planetTypeEnum,auraTransparency,planetColor,spriteIndex,timeRT,

mineralA,mineralB,oddsPlanetObject, playerStartingPosition,

playerShipStartingPosition,gravityFPS,sunSize); ```

Then I use the 2d features of a planet to generate the 3d world

pr1.png

Play it and vote right here :

https://ldjam.com/events/ludum-dare/38/a-small-world-in-a-big-universe