{"id":1730,"date":"2023-03-27T02:28:52","date_gmt":"2023-03-27T02:28:52","guid":{"rendered":"https:\/\/writingagame.com\/?p=1730"},"modified":"2026-03-23T21:10:38","modified_gmt":"2026-03-23T21:10:38","slug":"chapter-1-preparing-workplace","status":"publish","type":"post","link":"https:\/\/writingagame.com\/index.php\/2023\/03\/27\/chapter-1-preparing-workplace\/","title":{"rendered":"Chapter 1. Setting up the workspace"},"content":{"rendered":"\n<p><strong>Visual Studio, Android Studio, project basic structure<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>First step is to prepare a <strong>placeholder for our project<\/strong>.<\/p>\n\n\n\n<p>*<strong>VERY IMPORTANT<\/strong>&nbsp;part missing from most guides is how to organize your folders.<\/p>\n\n\n\n<p>So, first &#8211; root folder, where we\u2019ll keep all our projects plus all reusable stuff, such as graphics engine, etc. I\u2019ll call it \u201cCPP\u201d (for C++). Open&nbsp;<strong>Windows File Explorer<\/strong>&nbsp;and create &#8220;CPP&#8221; folder on your&nbsp;<strong>local hard drive<\/strong>&nbsp;(usually C:).<\/p>\n\n\n\n<p>Inside of \u201c\/CPP\u201d let\u2019s create a folder for our first project. Instead of obvious \u201cProject1\u201d I\u2019ll better call it \u201ca999hello\u201d. Why \u201ca\u201d, why \u201c999\u201d? Well\u2026 In my case next project will be \u201ca998\u201d and so on, so the latest one will be always on top of the list. Inside of&nbsp;<em>a999hello&nbsp;<\/em>we&#8217;ll later add root folders for Android, PC (and later maybe for other platforms) versions of a999 project. Plus this folder will contain project code reusable in all platforms. So, initial structure is simple:&nbsp;<strong>C:\/CPP\/a999hello\/<\/strong>.<\/p>\n\n\n\n<p>Done? Congratulations! Don\u2019t underestimate an importance of this little step. Mark today\u2019s date, maybe it\u2019s a START of Your New Big Project!<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">2. Install Visual Studio<\/h2>\n\n\n\n<p>Google \u201cVisual Studio download\u201d. Proceed to&nbsp;<a href=\"https:\/\/visualstudio.microsoft.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/visualstudio.microsoft.com<\/a><\/p>\n\n\n\n<p>Continue to&nbsp;<em>Download Visual Studio -&gt; Community 2026<\/em>&nbsp;(or whatever is current). Download and start installer.<\/p>\n\n\n\n<p>On <em>workloads <\/em>page checkmark <strong>Desktop development with C++<\/strong>. This is the only component we&#8217;ll need, so &#8211; <strong>Install<\/strong>.<\/p>\n\n\n\n<p>Then &#8211; <strong>Launch<\/strong>.<\/p>\n\n\n\n<p>As for color theme, I picked &#8220;Light&#8221;.<\/p>\n\n\n\n<p>Then &#8211; <strong>Start Visual Studio<\/strong>.<\/p>\n\n\n\n<p>Since we&#8217;ll need it quite often, a good idea to pin the icon to a taskbar.<\/p>\n\n\n\n<p>That&#8217;s it for now. Just close it so far, we will return to it later.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">3. Install Android Studio<\/h2>\n\n\n\n<p>Google \u201cAndroid Studio download\u201d. Proceed to&nbsp;<a href=\"https:\/\/developer.android.com\/studio\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developer.android.com\/studio<\/a><\/p>\n\n\n\n<p>Download the latest one (when I wrote this, the current one was &#8220;Electric Eel&#8221;).<\/p>\n\n\n\n<p>Start installer-&gt; Next-&gt; Next-&gt; Next -&gt; Install -&gt; Next -&gt; Finish.<\/p>\n\n\n\n<p>After start, if Defender blocks an access &#8211; allow access.<\/p>\n\n\n\n<p>Again, a good idea to pin the icon (the round white one) to a taskbar.<\/p>\n\n\n\n<p>We will return to it in the next chapter, but for now we can close it and take a break.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Before we continue, a few words about our next steps: <strong>The plan<\/strong> is to create 2 simple C++ projects first (one for PC, and one for Android). After that we\u2019ll see which parts of code are platform-specific and what can be shared between platforms, which will give us an opportunity to build a&nbsp;<strong>cross-platform<\/strong>&nbsp;solution. Then &#8211; everything else: graphics, 3D, interactivity, and so on.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Now, the hood is open and the tools are laid out. Let&#8217;s dive in!<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"mb-2\">Visual Studio, Android Studio, project basic structure First step is to prepare a placeholder for our project. *VERY IMPORTANT&nbsp;part missing from most guides is how to organize your folders. So, first &#8211; root folder, where we\u2019ll keep all our projects plus all reusable stuff, such as graphics engine, etc. I\u2019ll call it \u201cCPP\u201d (for C++). [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1730","post","type-post","status-publish","format-standard","hentry","category-cross-platform-3d"],"_links":{"self":[{"href":"https:\/\/writingagame.com\/index.php\/wp-json\/wp\/v2\/posts\/1730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/writingagame.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/writingagame.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/writingagame.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/writingagame.com\/index.php\/wp-json\/wp\/v2\/comments?post=1730"}],"version-history":[{"count":15,"href":"https:\/\/writingagame.com\/index.php\/wp-json\/wp\/v2\/posts\/1730\/revisions"}],"predecessor-version":[{"id":3607,"href":"https:\/\/writingagame.com\/index.php\/wp-json\/wp\/v2\/posts\/1730\/revisions\/3607"}],"wp:attachment":[{"href":"https:\/\/writingagame.com\/index.php\/wp-json\/wp\/v2\/media?parent=1730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/writingagame.com\/index.php\/wp-json\/wp\/v2\/categories?post=1730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/writingagame.com\/index.php\/wp-json\/wp\/v2\/tags?post=1730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}