{"id":23,"date":"2024-04-06T16:25:58","date_gmt":"2024-04-06T16:25:58","guid":{"rendered":"https:\/\/rileysmachinations.com\/?page_id=23"},"modified":"2024-04-14T11:42:50","modified_gmt":"2024-04-14T11:42:50","slug":"code-showcase","status":"publish","type":"page","link":"https:\/\/rileysmachinations.com\/index.php\/echoed-aura\/code-showcase\/","title":{"rendered":"Code Showcase"},"content":{"rendered":"\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-2 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h2 class=\"wp-block-heading\">Grid Based Map (ExWhy)<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<p>Unity has an inbuilt grid system, but I found it cumbersome to use, and didn&#8217;t really have many of the functions that I needed. Instead  of working around it, I made my own. <\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<div style=\"justify-content: center;\">\n<iframe loading=\"lazy\" src=\"https:\/\/rileysmachinations.com\/index.php\/exwhy\/\" title=\"W3Schools Free Online Web Tutorials\" width=\"100%\" ,=\"\" height=\"500\"><\/iframe>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator alignwide has-alpha-channel-opacity\" style=\"margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--60)\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Range Finding Code<\/h2>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-3 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<div style=\"justify-content: center;\">\n<iframe loading=\"lazy\" src=\"https:\/\/rileysmachinations.com\/index.php\/RangeFindingCode\/\" title=\"W3Schools Free Online Web Tutorials\" width=\"100%\", height=\"500\"><\/iframe>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<p>Some code that interacts with a grid to get various ranges and path finding, as well as spawning visuals to represent it.<\/p>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" style=\"margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--60)\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">UI Window Controller<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-4 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<p>Being a very &#8220;menuey&#8221; game, a lot of menus and child menus are going to be needed. To manage this hierarchy I made a containers and a controller for some basic functions. <\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<div style=\"justify-content: center;\">\n<iframe loading=\"lazy\" src=\"https:\/\/rileysmachinations.com\/index.php\/uicontroller\/\" title=\"W3Schools Free Online Web Tutorials\" width=\"100%\", height=\"500\"><\/iframe>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Grid Based Map (ExWhy) Unity has an inbuilt grid system, but I found it cumbersome to use, and didn&#8217;t really have many of the functions that I needed. Instead of working around it, I made my own. Range Finding Code Some code that interacts with a grid to get various ranges and path finding, as [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":49,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"codeshowcase","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/rileysmachinations.com\/index.php\/wp-json\/wp\/v2\/pages\/23"}],"collection":[{"href":"https:\/\/rileysmachinations.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rileysmachinations.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rileysmachinations.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/rileysmachinations.com\/index.php\/wp-json\/wp\/v2\/comments?post=23"}],"version-history":[{"count":18,"href":"https:\/\/rileysmachinations.com\/index.php\/wp-json\/wp\/v2\/pages\/23\/revisions"}],"predecessor-version":[{"id":66,"href":"https:\/\/rileysmachinations.com\/index.php\/wp-json\/wp\/v2\/pages\/23\/revisions\/66"}],"up":[{"embeddable":true,"href":"https:\/\/rileysmachinations.com\/index.php\/wp-json\/wp\/v2\/pages\/49"}],"wp:attachment":[{"href":"https:\/\/rileysmachinations.com\/index.php\/wp-json\/wp\/v2\/media?parent=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}