{"id":7305,"date":"2018-09-09T20:09:57","date_gmt":"2018-09-09T19:09:57","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=7305"},"modified":"2018-09-09T20:09:57","modified_gmt":"2018-09-09T19:09:57","slug":"p0-a2-part-437-procedural-structure-generator","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p0-a2-part-437-procedural-structure-generator\/","title":{"rendered":"P0-A2: Part 437: Procedural Structure Generator"},"content":{"rendered":"<p>I am making some progress with the procedural generator.<\/p>\n<p>I can create the core of a space station, with a variable number of nodes, corridors, platforms, etc. I am doing this in 2D only for now.<\/p>\n<p>I now need to create the actual rooms and compartments of the structure, and this will be the difficult part. I will need to place them randomly, without allowing any two compartments to intersect.<\/p>\n<p><figure id=\"attachment_7297\" aria-describedby=\"caption-attachment-7297\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-06_41_09-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-7297\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-06_41_09-PM-300x163.jpg\" alt=\"Unity 09\/09\/2018 , 06:41:09 PM Unity 2018.1.0f2 Personal (64bit) - [PREVIEW PACKAGES IN USE] - P0Main55.unity - P0-A1 - PC, Mac &amp; Linux Standalone* \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-06_41_09-PM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-06_41_09-PM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-06_41_09-PM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-06_41_09-PM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-7297\" class=\"wp-caption-text\">Unity<br \/>09\/09\/2018 , 06:41:09 PM<br \/>Unity 2018.1.0f2 Personal (64bit) &#8211; [PREVIEW PACKAGES IN USE] &#8211; P0Main55.unity &#8211; P0-A1 &#8211; PC, Mac &amp; Linux Standalone*<\/figcaption><\/figure><figure id=\"attachment_7298\" aria-describedby=\"caption-attachment-7298\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-06_33_27-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-7298\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-06_33_27-PM-300x163.jpg\" alt=\"Unity 09\/09\/2018 , 06:33:27 PM Unity 2018.1.0f2 Personal (64bit) - [PREVIEW PACKAGES IN USE] - P0Main55.unity - P0-A1 - PC, Mac &amp; Linux Standalone* \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-06_33_27-PM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-06_33_27-PM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-06_33_27-PM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-06_33_27-PM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-7298\" class=\"wp-caption-text\">Unity<br \/>09\/09\/2018 , 06:33:27 PM<br \/>Unity 2018.1.0f2 Personal (64bit) &#8211; [PREVIEW PACKAGES IN USE] &#8211; P0Main55.unity &#8211; P0-A1 &#8211; PC, Mac &amp; Linux Standalone*<\/figcaption><\/figure><figure id=\"attachment_7300\" aria-describedby=\"caption-attachment-7300\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-07_07_01-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-7300\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-07_07_01-PM-300x163.jpg\" alt=\"Unity 09\/09\/2018 , 07:07:01 PM Unity 2018.1.0f2 Personal (64bit) - [PREVIEW PACKAGES IN USE] - P0Main55.unity - P0-A1 - PC, Mac &amp; Linux Standalone* \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-07_07_01-PM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-07_07_01-PM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-07_07_01-PM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2018\/09\/PhoenixGameDevelopment-09_09_2018-07_07_01-PM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-7300\" class=\"wp-caption-text\">Unity<br \/>09\/09\/2018 , 07:07:01 PM<br \/>Unity 2018.1.0f2 Personal (64bit) &#8211; [PREVIEW PACKAGES IN USE] &#8211; P0Main55.unity &#8211; P0-A1 &#8211; PC, Mac &amp; Linux Standalone*<\/figcaption><\/figure><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am making some progress with the procedural generator. I can create the core of a space station, with a variable number of nodes, corridors, platforms, etc. I am doing this in 2D only for now. I now need to create the actual rooms and compartments of the structure, and this will be the difficult [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,17,10,11],"tags":[],"class_list":["post-7305","post","type-post","status-publish","format-standard","hentry","category-astral-realms","category-p-0","category-software-and-games","category-spiritus-astrum","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/7305"}],"collection":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/comments?post=7305"}],"version-history":[{"count":1,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/7305\/revisions"}],"predecessor-version":[{"id":7307,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/7305\/revisions\/7307"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=7305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=7305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=7305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}