{"author_link":"\/users\/lavwa","author_name":"lavwa","author_uid":"lavwa","comments":[],"epoch":1493682520,"event":"LD38","format":"md","ldjam_node_id":29659,"likes":4,"metadata":{"p_key":"92421","p_author":"lavwa","p_authorkey":"1003980","p_urlkey":"305339","p_title":"A small world \u00e0 la No Man's Sky : Under the hood!","p_cat":"LDJam ","p_event":"LD38","p_time":"1493682520","p_likes":"4","p_comments":"0","p_status":"WAYBACK","us_key":"1003980","us_name":"lavwa","us_username":"lavwa","event_start":"1492732800","event_key":"69","event_name":"LD 38"},"node":{"_collation":{"body_sanitizer":"TextUtils::SanitizeHTML via existing importer","event":"LD38","removed_author":false},"_superparent":9405,"_trust":3,"author":3980,"body":"Some people are asking if \/ what is procedurally generated : Mostly everything ;)\n\n\n![pr00.png](\/\/\/raw\/c8f\/z\/3748.png)\n\n\nThe 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, \u2026) \n\nJust to give an idea of some of the attributes of a planet : \n```\nnew PlanetObject(planetName, pos2d, pos3d,width, height,mass,\n\nplanetTypeEnum,auraTransparency,planetColor,spriteIndex,timeRT,\n\nmineralA,mineralB,oddsPlanetObject, playerStartingPosition,\n\nplayerShipStartingPosition,gravityFPS,sunSize);\n```\n\nThen I use the 2d features of a planet to generate the 3d world\n\n\n![pr1.png](\/\/\/raw\/c8f\/z\/374b.png)\n\nPlay it and vote right here :\n\nhttps:\/\/ldjam.com\/events\/ludum-dare\/38\/a-small-world-in-a-big-universe\n\n","comments":0,"created":"2017-05-01T23:29:27Z","files":[],"files-timestamp":0,"id":29659,"love":4,"love-timestamp":"2017-05-02T01:17:02Z","meta":[],"modified":"2017-05-02T01:17:02Z","name":"A small world \u00e0 la No Man's Sky : Under the hood!","node-timestamp":"2017-05-01T23:50:16Z","parent":16610,"parents":[1,5,9,9405,16610],"path":"\/events\/ludum-dare\/38\/a-small-world-in-a-big-universe\/a-small-world-a-la-no-mans-sky-under-the-hood","published":"2017-05-01T23:48:40Z","scope":"public","slug":"a-small-world-a-la-no-mans-sky-under-the-hood","subsubtype":"","subtype":"","type":"post","version":75651},"node_metadata":{"n_key":"29659","n_urlkey":"305339","n_parent":"16610","n_path":"\/events\/ludum-dare\/38\/a-small-world-in-a-big-universe\/a-small-world-a-la-no-mans-sky-under-the-hood","n_slug":"a-small-world-a-la-no-mans-sky-u","n_type":"post","n_subtype":"","n_subsubtype":"","n_author":"3980","n_created":"1493681367","n_modified":"1493687822","n_version":"75651","n_status":"WAYBACK"},"source_url":"https:\/\/ldjam.com\/events\/ludum-dare\/38\/a-small-world-in-a-big-universe\/a-small-world-a-la-no-mans-sky-under-the-hood","text":"Some people are asking if \/ what is procedurally generated : Mostly everything ;)\n\n\n![pr00.png](\/\/\/raw\/c8f\/z\/3748.png)\n\n\nThe 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, \u2026) \n\nJust to give an idea of some of the attributes of a planet : \n```\nnew PlanetObject(planetName, pos2d, pos3d,width, height,mass,\n\nplanetTypeEnum,auraTransparency,planetColor,spriteIndex,timeRT,\n\nmineralA,mineralB,oddsPlanetObject, playerStartingPosition,\n\nplayerShipStartingPosition,gravityFPS,sunSize);\n```\n\nThen I use the 2d features of a planet to generate the 3d world\n\n\n![pr1.png](\/\/\/raw\/c8f\/z\/374b.png)\n\nPlay it and vote right here :\n\nhttps:\/\/ldjam.com\/events\/ludum-dare\/38\/a-small-world-in-a-big-universe\n\n","title":"A small world \u00e0 la No Man's Sky : Under the hood!","wayback_source":[]}