{"id":288,"date":"2025-07-01T15:44:21","date_gmt":"2025-07-01T05:44:21","guid":{"rendered":"https:\/\/nonlinearexperience.com\/?p=288"},"modified":"2025-07-07T16:06:52","modified_gmt":"2025-07-07T06:06:52","slug":"the-knowledge-project-structure","status":"publish","type":"post","link":"https:\/\/nonlinearexperience.com\/index.php\/2025\/07\/01\/the-knowledge-project-structure\/","title":{"rendered":"Project Structure"},"content":{"rendered":"<h1 class=\"wp-block-post-title\">Project Structure<\/h1>\n\n\n<p>The logic is: there are two main areas:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>the parts to make the end product<\/li>\n\n\n\n<li>the end product<\/li>\n<\/ul>\n\n\n\n<p>For web projects, this is not always that logical. So, what to do?<\/p>\n\n\n\n<p>The release is the same as the src folder, but has a .git ignore folder for when it&#8217;s built\u2026<\/p>\n\n\n\n<p>Grunt file&nbsp;<br>Ok, so it&#8217;s outdated, but it will do for now&#8230;<\/p>\n\n\n\n<p>Based on the Advanced Game Design book &#8211; BUT, IS THE BEST APPROACH?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>index.html<\/li>\n\n\n\n<li>library<\/li>\n\n\n\n<li>collision.js<\/li>\n\n\n\n<li>display<\/li>\n\n\n\n<li>engine<\/li>\n\n\n\n<li>interactive<\/li>\n\n\n\n<li>sound<\/li>\n\n\n\n<li>tween<\/li>\n\n\n\n<li>utilities<\/li>\n<\/ul>\n\n\n\n<p>Consider how you are setting up your folders (see&nbsp;<\/p>\n\n\n\n<p>Working (src)<\/p>\n\n\n\n<p>Tileset &#8211; tileset graphics in here<\/p>\n\n\n\n<p>Tmx folder &#8211; Tilemap data &#8211; export to production folder<\/p>\n\n\n\n<p>TSX folder &#8211;&nbsp; Tileset data &#8211; export to production folder<\/p>\n\n\n\n<p>Production &#8216;export&#8217; folder (rel)<\/p>\n\n\n\n<p>The image you created &#8211; export .png image<\/p>\n\n\n\n<p>Scripts &gt; set up one to be able to refresh\/relaunch browser<\/p>\n\n\n\n<p>A good place to start is with a template, to save heartache\u2026<\/p>\n\n\n\n<p>Pixel art tileset template<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The logic is: there are two main areas: For web projects, this is not always that logical. So, what to do? The release is the same as the src folder, but has a .git ignore folder for when it&#8217;s built\u2026 Grunt file&nbsp;Ok, so it&#8217;s outdated, but it will do for now&#8230; Based on the Advanced [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"wp-custom-template-nlx-the-knowledge-page","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-288","post","type-post","status-publish","format-standard","hentry","category-the-knowledge"],"_links":{"self":[{"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/posts\/288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/comments?post=288"}],"version-history":[{"count":4,"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/posts\/288\/revisions"}],"predecessor-version":[{"id":371,"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/posts\/288\/revisions\/371"}],"wp:attachment":[{"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/media?parent=288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/categories?post=288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nonlinearexperience.com\/index.php\/wp-json\/wp\/v2\/tags?post=288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}