{"id":3661,"date":"2020-02-19T13:22:49","date_gmt":"2020-02-19T13:22:49","guid":{"rendered":"http:\/\/www.huxter.org\/words\/?p=3661"},"modified":"2020-03-06T13:21:34","modified_gmt":"2020-03-06T13:21:34","slug":"its-amazing-what-an-hour-or-two-here-and-there-can-achieve","status":"publish","type":"post","link":"http:\/\/www.huxter.org\/words\/?p=3661","title":{"rendered":"It&#8217;s Amazing What An Hour Or Two Here And There Can Achieve"},"content":{"rendered":"<h1>H\u00fcver<\/h1>\n<p>This is not a comprehensive post. But it&#8217;s about the home hobby\/learning game project I took on last year, and how it&#8217;s progressed, slowly, bit by bit, but surely, and with a lot to show.<\/p>\n<p>I&#8217;m calling it <strong>H\u00fcver<\/strong>. Partly as a take on <strong>Uber<\/strong> and <strong>Lyft<\/strong>. Because it&#8217;s a game about a flying taxi.<\/p>\n<p>Last year I also got the <strong>Commodore 64 Mini<\/strong>, a half-scale C64 emulation machine with joystick controller. I re-discovered a lot of fun C64 games I played long long ago, and some not so long ago, as I still have my Commodore 128 fully functional, just stored in the attic for now.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3670\" src=\"http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/space-taxi-screeny-a.jpg\" alt=\"\" width=\"384\" height=\"271\" \/><\/p>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=cEcxgPvmQqU&amp;t=346s\"><strong>Space Taxi<\/strong><\/a> is a fun game that is beloved by C64 users. And while I was writing a rolly-ball game something akin to Q*Bert, where a rolling ball with sunglasses had to paint the tiles of a floor, while enemies went around undoing that work and causing other mischief, <strong><a href=\"http:\/\/www.huxter.org\/words\/?p=3632\">including attacking<\/a><\/strong>, I tried implementing a Jump command.<\/p>\n<p>In doing so I failed to make a jump, that is a single pulse when you push a button. It was supposed to detect button push on an Update loop, causing a single pulse to push the ball upwards, and <em>just once.<\/em><\/p>\n<p>And since I failed to prevent a repeated button detection on Update, instead, it applied that upward force once a frame until I released the button.<\/p>\n<p>And suddenly my rolly ball was hovering. Still spinning (since I jumped while rolling) the Unity RigidBody kept it spinning, slowing down due to its rotational friction, but hovering nonetheless.<\/p>\n<p>It was then I discovered that I was having more fun flying my rolly ball around in the air than rolling it around on the ground.<\/p>\n<p>And as I had just finished playing a bunch of levels of Space Taxi (known for its realistic flying physics and awesome quirky level design), I immediately dropped my Rolly Ball game and started on a <strong>flying taxi game.<\/strong><\/p>\n<p>The first thing I did was jump into <strong>Unity<\/strong>, start a new scene in the same project (since some of my code was reusable) and build a <strong>Flying Taxi<\/strong> car to fly around with.<\/p>\n<p>Not long before this I had seen a very nice vintage space car toy on eBay. It had a feel about it that I wanted for my game.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-3663\" src=\"http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/space-car-600x408.jpg\" alt=\"\" width=\"600\" height=\"408\" srcset=\"http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/space-car-600x408.jpg 600w, http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/space-car-768x522.jpg 768w, http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/space-car-442x300.jpg 442w, http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/space-car.jpg 960w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>And since I wanted to get started, and not take a lot of time to model a 3D car like this, I went into Unity and began creating capsule primitives.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-3667\" src=\"http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/huver-taxi-primitives-a-600x470.jpg\" alt=\"\" width=\"600\" height=\"470\" srcset=\"http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/huver-taxi-primitives-a-600x470.jpg 600w, http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/huver-taxi-primitives-a-768x602.jpg 768w, http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/huver-taxi-primitives-a-383x300.jpg 383w, http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/huver-taxi-primitives-a.jpg 852w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>And this is how it all came together:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-3665\" src=\"http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/huver-taxi-primitives-b-600x455.jpg\" alt=\"\" width=\"600\" height=\"455\" srcset=\"http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/huver-taxi-primitives-b-600x455.jpg 600w, http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/huver-taxi-primitives-b-395x300.jpg 395w, http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/huver-taxi-primitives-b.jpg 664w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>I later converted it into shapes I could bring into <strong>Maya<\/strong> and set it up to 3D print using my <strong>Anycubic Photon<\/strong> resin printer. These are painted models. I also did one in multiple colors on my <strong>Afinia<\/strong> FDM printers. Cleaner result, but not as high-rez.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-3666\" src=\"http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/huver-3d-prints-a-600x530.jpg\" alt=\"\" width=\"600\" height=\"530\" srcset=\"http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/huver-3d-prints-a-600x530.jpg 600w, http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/huver-3d-prints-a-768x678.jpg 768w, http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/huver-3d-prints-a-340x300.jpg 340w, http:\/\/www.huxter.org\/words\/wp-content\/uploads\/2020\/02\/huver-3d-prints-a.jpg 800w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>So now I had my Space Taxi. Where to go from here?<\/p>\n<p>Buckle up, because I&#8217;m hoping to post a lot of updates having to do with how I did things in the game and why.<\/p>\n<p>Mostly it&#8217;s a story of how not to do things, how to half-ass them, and how to clumsily lurch towards a fun game.<\/p>\n<p>New phrase you may have to learn: <strong>Tech Debt.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>H\u00fcver This is not a comprehensive post. But it&#8217;s about the home hobby\/learning game project I took on last year, and how it&#8217;s progressed, slowly, bit by bit, but surely, and with a lot to show. I&#8217;m calling it H\u00fcver. &hellip; <a href=\"http:\/\/www.huxter.org\/words\/?p=3661\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=\/wp\/v2\/posts\/3661"}],"collection":[{"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3661"}],"version-history":[{"count":6,"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=\/wp\/v2\/posts\/3661\/revisions"}],"predecessor-version":[{"id":3672,"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=\/wp\/v2\/posts\/3661\/revisions\/3672"}],"wp:attachment":[{"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3661"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.huxter.org\/words\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}