{"id":161,"date":"2018-12-16T01:59:13","date_gmt":"2018-12-16T01:59:13","guid":{"rendered":"http:\/\/www.caleb-perkins.com\/?p=161"},"modified":"2019-05-01T20:14:16","modified_gmt":"2019-05-01T20:14:16","slug":"the-card-developer-diary-01","status":"publish","type":"post","link":"https:\/\/serket.dev\/index.php\/2018\/12\/16\/the-card-developer-diary-01\/","title":{"rendered":"The Card:  Developer Diary 01"},"content":{"rendered":"<blockquote><p>Downloading Android Studio in order to set up a proper Android developer environment was a feat and a half.<\/p><\/blockquote>\n<p>As I mentioned in my last blog post, one of my goals for the break is to design, develop, and ship a game.\u00a0 The sooner I can do this the better, because it will help me as I start applying for jobs in the industry.\u00a0 I started making headway towards that last night and today, beginning with a foray into the world of android development.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-materialis-full-hd wp-image-164\" src=\"http:\/\/www.caleb-perkins.com\/wp-content\/uploads\/thecard_0-1842x1080.png\" alt=\"\" width=\"1842\" height=\"1080\" srcset=\"https:\/\/serket.dev\/wp-content\/uploads\/thecard_0.png 1842w, https:\/\/serket.dev\/wp-content\/uploads\/thecard_0-300x176.png 300w, https:\/\/serket.dev\/wp-content\/uploads\/thecard_0-768x450.png 768w, https:\/\/serket.dev\/wp-content\/uploads\/thecard_0-1024x600.png 1024w, https:\/\/serket.dev\/wp-content\/uploads\/thecard_0-1232x722.png 1232w\" sizes=\"auto, (max-width: 1842px) 100vw, 1842px\" \/><\/p>\n<p>What you see above you is a working demonstration of the full powers of my android arsenal.\u00a0 When you push the &#8220;PUSH ME&#8221; button, the status text changes from &#8220;Unmodified&#8221; to &#8220;Modified&#8221; through event calls in a C# script.<\/p>\n<h2>Accomplishments<\/h2>\n<ul>\n<li>Get Android dev environment up and running<\/li>\n<li>Display something on my phone<\/li>\n<li>Use phone input to change something on the screen<\/li>\n<\/ul>\n<h2>Goals<\/h2>\n<ul>\n<li>Focus on the overall game design before proceeding further<\/li>\n<li>Establish a clear minimum viable product<\/li>\n<li>Potentially set up a main menu for transitioning to other scenes \/ game modes<\/li>\n<li>Potentially experiment further with touch input to see how it works beyond UI<\/li>\n<\/ul>\n<hr \/>\n<p>Overall, I&#8217;m very satisfied with the progress so far.\u00a0 Unfortunately, I did run into a few issues.\u00a0 The first issue is that my phone (Oneplus 6) is not the kind that is auto-detected by Unity, so right now I am detected as &#8220;Any Android Device&#8221;.\u00a0 Second, I need to restart Unity each time I start Unity Remote on my phone, but I think this is a common problem.\u00a0 From what I understand, all I need to do is make sure I plug in my phone, start Unity Remote, and <em>then<\/em> start my Unity Session.\u00a0 If I keep everything connected, it should last for the entirety of my dev session.<\/p>\n<p>Lastly, one of the big issues that I will run into in the long term is the wide variety of screen resolutions available for android and mobile development in particular.\u00a0 While I am not trying to make this available to absolutely everyone (at least not yet), I would like to hit a decent-sized audience.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-163\" src=\"http:\/\/www.caleb-perkins.com\/wp-content\/uploads\/ratios.png\" alt=\"\" width=\"1218\" height=\"707\" srcset=\"https:\/\/serket.dev\/wp-content\/uploads\/ratios.png 1218w, https:\/\/serket.dev\/wp-content\/uploads\/ratios-300x174.png 300w, https:\/\/serket.dev\/wp-content\/uploads\/ratios-768x446.png 768w, https:\/\/serket.dev\/wp-content\/uploads\/ratios-1024x594.png 1024w\" sizes=\"auto, (max-width: 1218px) 100vw, 1218px\" \/><\/p>\n<p>(Source:\u00a0 https:\/\/v-play.net\/doc\/vplay-different-screen-sizes\/)<\/p>\n<p>With this in mind, I&#8217;m going to try and develop with decent-sized margins so that I&#8217;ll be able to crop and cut when necessary for various devices.<\/p>\n<p>That&#8217;s all for now!<\/p>\n<p>~Caleb<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Downloading Android Studio in order to set up a proper Android developer environment was a feat and a half. As I mentioned in my last blog post, one of my goals for the break is to design, develop, and ship a game.\u00a0 The sooner I can do this the better, because it will help me [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":162,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[18],"tags":[19,21,20,22],"class_list":["post-161","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","tag-development","tag-mobile","tag-the-card","tag-unity"],"jetpack_featured_media_url":"https:\/\/serket.dev\/wp-content\/uploads\/android_studio.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paXf4J-2B","_links":{"self":[{"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/posts\/161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/comments?post=161"}],"version-history":[{"count":2,"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/posts\/161\/revisions"}],"predecessor-version":[{"id":342,"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/posts\/161\/revisions\/342"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/media\/162"}],"wp:attachment":[{"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/media?parent=161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/categories?post=161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serket.dev\/index.php\/wp-json\/wp\/v2\/tags?post=161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}