{"id":12095,"date":"2011-06-22T06:08:55","date_gmt":"2011-06-22T11:08:55","guid":{"rendered":"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=12095"},"modified":"2011-06-22T06:08:55","modified_gmt":"2011-06-22T11:08:55","slug":"project-frontier-8-faq","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=12095","title":{"rendered":"Project Frontier #8: FAQ"},"content":{"rendered":"<p><table   class=\"\" cellpadding='0' cellspacing='0' border='0' align='center'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/frontier8_1.jpg' class='insetimage'   alt='frontier8_1.jpg' title='frontier8_1.jpg'\/><\/td><\/tr><\/table><\/p>\n<p>Projects slow down over time.  It&#8217;s inevitable. Partly it&#8217;s because the more you add, the more complex the code becomes, and so the harder it is to make headway. Swapping out a part on a lawnmower is easy.  Changing that same part on a fully-loaded 2011 automobile is likely to be an order of magnitude more complex. But mostly it&#8217;s because we tend to go for the low-hanging fruit first and tackle the thorny problems later.<\/p>\n<p>I began writing this series of posts a week into the project, and I&#8217;ve been gradually catching up.  To wit: I&#8217;m adding features more slowly than I&#8217;m writing posts about features. Now that I&#8217;m out of new stuff to show off, these posts are naturally going to become less frequent. <\/p>\n<p>While we&#8217;re waiting for the next breakthrough, I thought I&#8217;d take a minute and answer a few of the questions I keep seeing again and again&#8230;<\/p>\n<p><!--more--><strong>1. So what kind of game ARE you making? What is this? Adventure? Platformer? Dating sim? RTS? FPS? Puzzle game?<\/strong><\/p>\n<p>I&#8217;ve been avoiding this question because I don&#8217;t want to sidetrack this series. If I describe the game in mind, it will only spawn a thousand more questions and objections.  &#8220;But how is THAT supposed to work&#8230;?&#8221;   &#8220;That doesn&#8217;t sound like fun to ME.&#8221; I&#8217;ll have to explain, and clarify, and defend, and I&#8217;ll end up writing a design document in the comments.  We&#8217;re here to talk about procedural content for now. <\/p>\n<p>I&#8217;ve been talking about procedural content for years, and this is my way of putting up or shutting up.  &#8220;Yes, this is possible, games industry, here is my proof-of-concept.&#8221;<\/p>\n<p>The project will probably die before I reach the gameplay stage anyway, so it&#8217;s best to not get too worked up about it. <\/p>\n<p><strong>2. Do you plan to release a build that we can try?<\/strong><\/p>\n<p>Yes.  I&#8217;m not sure when, but I&#8217;m very curious how this technology will work on all those computers out there. Also, I think the project will be easier to understand if you can walk around in the world yourself. More on this later.<\/p>\n<p><strong>3. What are you working on next?<\/strong><\/p>\n<p>My priority list.  (Which is by no means a guarantee that I will work on things in this order.)<\/p>\n<ol>\n<li>Day \/ night cycle. Not just light \/ dark, but sunrise, sunset, changing sky colors and fog effects based on time AND environmental conditions AND climate.\n<\/li>\n<li>Trees. Procedural trees with distinct species. I&#8217;m working on this one now, and it&#8217;s a biggie. Much larger than rivers in terms of complexity and challenge.\n<\/li>\n<li>Avatars.  I want 3d animated figures.\n<p>I&#8217;ll be honest.  This is probably where this project will die.  This is such a bitch of a problem that I can&#8217;t even begin to describe how much I&#8217;m dreading it. In my previous job, the 3D-character animations were handled for me by a third-party engine. (Renderware, the same engine used in Grand Theft Auto III.)    I&#8217;ve tried twice before to make my own animation system, and both times it ended in frustration.  It&#8217;s just a huge thing.  It requires a well-defined art path.  &#8220;Okay, you make the model in Blender and make sure to follow these steps.  Then save it in this format.  Now make the animations and save those in this other format. Maybe run a converter on them.  Then my engine imports them.  Then I&#8217;ll just move the character around using this nested hierarchy of transformation matricies that were probably devised in a foreign coordinate system and saved into a poorly-documented file format.  And then I&#8217;m going to bite down on the barrel of this gun and we&#8217;ll see what happens after that.<\/p>\n<p>Arg.\n<\/li>\n<li>Move to vertex (and MAYBE pixel) shaders.  There are things I&#8217;m going to want to do:  Make the land curve away in the distance to hide terrain popping.  Have trees and flowers gradually fade in.  Replace the two-pass rendering I&#8217;m doing on grass with a single pass.  I need vertex shaders for all of these.  It&#8217;s going to be a big step, and it might mean relinquishing SDL.  That will once again tie me to windows.  It will also turn my tidy 100 lines of SDL code into a sprawling 700 lines of Microsoft-flavored Windows API calls.    It will eat time, bloat my code, take away my portability, and generally annoy the hell out of me. I&#8217;m putting off this step, obviously.\n<\/li>\n<li>Weather. Particle effects.\n<\/li>\n<li>More environments.  Lakes. Swamps. Forests. Sandy deserts. Steppes.\n<\/li>\n<li>Undergrowth.  This might simply be an extension to the existing grass system, or this might be another, more advanced system.\n<\/li>\n<\/ol>\n<p><strong>4. Why does [feature] look so crappy?<\/strong><\/p>\n<p>Obvious answer: Because We&#8217;re still in the most early stages of the project.  This is long, long before even the most hype-obsessed developer would let screenshots into the wild.  <\/p>\n<p>Other answer:  The game doesn&#8217;t have a strong art design other than &#8220;pixelated&#8221;.  So, it&#8217;s easy to look at the game and view it as something that&#8217;s supposed to be somewhat photo-realistic.  Bare terrain doesn&#8217;t have a lot of personality.  This will change as features appear and the style of the world takes shape.  Nobody (sane) looks at Minecraft and talks about the lack of realism. The art style sets the tone, and the eyes accept things as long as they fit.  <\/p>\n<p>Check out <a href=\"http:\/\/www.sea-of-memes.com\/LetsCode23\/LetsCode23.html\">Part 23 of Goodfellow&#8217;s Let&#8217;s Code series<\/a>, he&#8217;s dealing with this same issue right now.  Interestingly enough, he&#8217;s taking the opposite approach.  He&#8217;s using tech to cover his lack of art, and I&#8217;m [planning on] using art to cover my lack of graphical tech.<\/p>\n<p>For reference, I&#8217;m aiming the art style somewhere between World of Warcraft and Minecraft. <\/p>\n<p><strong>5. When will it be done?<\/strong><\/p>\n<p>Don&#8217;t make me slug you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Projects slow down over time. It&#8217;s inevitable. Partly it&#8217;s because the more you add, the more complex the code becomes, and so the harder it is to make headway. Swapping out a part on a lawnmower is easy. Changing that same part on a fully-loaded 2011 automobile is likely to be an order of magnitude [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[],"class_list":["post-12095","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/12095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12095"}],"version-history":[{"count":0,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/12095\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}