{"id":164,"date":"2022-12-18T03:10:13","date_gmt":"2022-12-18T03:10:13","guid":{"rendered":"https:\/\/trewest.dev\/blog\/?p=164"},"modified":"2023-12-05T09:34:45","modified_gmt":"2023-12-05T09:34:45","slug":"ghost-holic-day-5","status":"publish","type":"post","link":"https:\/\/trewest.dev\/blog\/index.php\/2022\/12\/18\/ghost-holic-day-5\/","title":{"rendered":"Ghost Holic &#8211; Day 5"},"content":{"rendered":"<div class=\"wp-post-series-box series-ghost-holic wp-post-series-box--expandable\">\n\t\t\t<input id=\"collapsible-series-ghost-holic69e8e5ee47011\" class=\"wp-post-series-box__toggle_checkbox\" type=\"checkbox\">\n\t\n\t<label\n\t\tclass=\"wp-post-series-box__label\"\n\t\t\t\t\tfor=\"collapsible-series-ghost-holic69e8e5ee47011\"\n\t\t\ttabindex=\"0\"\n\t\t\t\t>\n\t\t<p class=\"wp-post-series-box__name wp-post-series-name\">\n\t\t\tThis is post 6 of 9 in the series <em>&ldquo;Ghost Holic&rdquo;<\/em>\t\t<\/p>\n\t\t\t<\/label>\n\n\t\t\t<div class=\"wp-post-series-box__posts\">\n\t\t\t<ol>\n\t\t\t\t\t\t\t\t\t<li><a href=\"https:\/\/trewest.dev\/blog\/index.php\/2022\/12\/12\/design-and-planning-ghost-holic\/\">Design and Planning &#8211; Ghost Holic<\/a><\/li>\n\t\t\t\t\t\t\t\t\t<li><a href=\"https:\/\/trewest.dev\/blog\/index.php\/2022\/12\/13\/ghost-holic-day-2-dev-diary\/\">Ghost Holic &#8211; Day 2 Dev Diary<\/a><\/li>\n\t\t\t\t\t\t\t\t\t<li><a href=\"https:\/\/trewest.dev\/blog\/index.php\/2022\/12\/14\/ghost-holic-day-3-dev-diary\/\">Ghost Holic &#8211; Day 3 Dev Diary<\/a><\/li>\n\t\t\t\t\t\t\t\t\t<li><a href=\"https:\/\/trewest.dev\/blog\/index.php\/2022\/12\/15\/conceptualization-houses-furniture-and-decor-in-ghost-holic\/\">Conceptualization: Houses in Ghost Holic<\/a><\/li>\n\t\t\t\t\t\t\t\t\t<li><a href=\"https:\/\/trewest.dev\/blog\/index.php\/2022\/12\/16\/ghost-holic-day-4-dev-diary\/\">Ghost Holic &#8211; Day 4 Dev Diary<\/a><\/li>\n\t\t\t\t\t\t\t\t\t<li><span class=\"wp-post-series-box__current\">Ghost Holic &#8211; Day 5<\/span><\/li>\n\t\t\t\t\t\t\t\t\t<li><a href=\"https:\/\/trewest.dev\/blog\/index.php\/2022\/12\/21\/ghost-holic-a-few-days-later\/\">Ghost Holic &#8211; A few days later.<\/a><\/li>\n\t\t\t\t\t\t\t\t\t<li><a href=\"https:\/\/trewest.dev\/blog\/index.php\/2022\/12\/22\/ghost-holic-building-the-goal-map\/\">Ghost Holic &#8211; Building the Goal Map<\/a><\/li>\n\t\t\t\t\t\t\t\t\t<li><a href=\"https:\/\/trewest.dev\/blog\/index.php\/2023\/01\/15\/project-ghost-holic\/\">Project: Ghost Holic<\/a><\/li>\n\t\t\t\t\t\t\t<\/ol>\n\t\t<\/div>\n\t<\/div>\n\n<p>Today I&#8217;ve expanded on the Procedural systems and added a Wall generator to interpret output of the House Generator and turn the data into a proper room.  <br>I started by making some basic walls, and then a 1&#215;1 room that I&#8217;d try to replicate in code. <br>Then after I was able to replicate the 1&#215;1 I made a 2&#215;2.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"511\" height=\"419\" src=\"https:\/\/trewest.dev\/blog\/wp-content\/uploads\/2022\/12\/image-25.png\" alt=\"\" class=\"wp-image-165\" srcset=\"https:\/\/trewest.dev\/blog\/wp-content\/uploads\/2022\/12\/image-25.png 511w, https:\/\/trewest.dev\/blog\/wp-content\/uploads\/2022\/12\/image-25-300x246.png 300w\" sizes=\"auto, (max-width: 511px) 100vw, 511px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"514\" height=\"501\" src=\"https:\/\/trewest.dev\/blog\/wp-content\/uploads\/2022\/12\/image-26.png\" alt=\"\" class=\"wp-image-166\" srcset=\"https:\/\/trewest.dev\/blog\/wp-content\/uploads\/2022\/12\/image-26.png 514w, https:\/\/trewest.dev\/blog\/wp-content\/uploads\/2022\/12\/image-26-300x292.png 300w\" sizes=\"auto, (max-width: 514px) 100vw, 514px\" \/><\/figure>\n\n\n\n<p>And then I tried to make doors and ran into an issue I had predicted with my system.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"562\" height=\"595\" src=\"https:\/\/trewest.dev\/blog\/wp-content\/uploads\/2022\/12\/image-29.png\" alt=\"\" class=\"wp-image-169\" srcset=\"https:\/\/trewest.dev\/blog\/wp-content\/uploads\/2022\/12\/image-29.png 562w, https:\/\/trewest.dev\/blog\/wp-content\/uploads\/2022\/12\/image-29-283x300.png 283w\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" \/><\/figure>\n\n\n\n<p>The doors push outwards instead of inwards.  They have to or else they wont blend in with the other walls. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"366\" height=\"560\" src=\"https:\/\/trewest.dev\/blog\/wp-content\/uploads\/2022\/12\/image-27.png\" alt=\"\" class=\"wp-image-167\" srcset=\"https:\/\/trewest.dev\/blog\/wp-content\/uploads\/2022\/12\/image-27.png 366w, https:\/\/trewest.dev\/blog\/wp-content\/uploads\/2022\/12\/image-27-196x300.png 196w\" sizes=\"auto, (max-width: 366px) 100vw, 366px\" \/><\/figure>\n\n\n\n<p>This here was my goal, and I was able to achieve it by adding a slight offset in the opposite direction of where the wall <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"385\" height=\"474\" src=\"https:\/\/trewest.dev\/blog\/wp-content\/uploads\/2022\/12\/image-28.png\" alt=\"\" class=\"wp-image-168\" srcset=\"https:\/\/trewest.dev\/blog\/wp-content\/uploads\/2022\/12\/image-28.png 385w, https:\/\/trewest.dev\/blog\/wp-content\/uploads\/2022\/12\/image-28-244x300.png 244w\" sizes=\"auto, (max-width: 385px) 100vw, 385px\" \/><\/figure>\n\n\n\n<p>And now I can generate some neat doorways like this!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is post 6 of 9 in the series &ldquo;Ghost Holic&rdquo; Design and Planning &#8211; Ghost Holic Ghost Holic &#8211; Day 2 Dev Diary Ghost Holic &#8211; Day 3 Dev &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43,4,5,24,8,52],"tags":[],"post_series":[69],"class_list":["post-164","post","type-post","status-publish","format-standard","hentry","category-c","category-coding","category-gamedev","category-ghost-holic","category-project","category-videogame","post_series-ghost-holic"],"_links":{"self":[{"href":"https:\/\/trewest.dev\/blog\/index.php\/wp-json\/wp\/v2\/posts\/164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trewest.dev\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trewest.dev\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trewest.dev\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/trewest.dev\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=164"}],"version-history":[{"count":1,"href":"https:\/\/trewest.dev\/blog\/index.php\/wp-json\/wp\/v2\/posts\/164\/revisions"}],"predecessor-version":[{"id":170,"href":"https:\/\/trewest.dev\/blog\/index.php\/wp-json\/wp\/v2\/posts\/164\/revisions\/170"}],"wp:attachment":[{"href":"https:\/\/trewest.dev\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trewest.dev\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trewest.dev\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=164"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/trewest.dev\/blog\/index.php\/wp-json\/wp\/v2\/post_series?post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}