{"author_name":"Namek","cat":"LD #34","comments":[],"epoch":1450210440,"likes":0,"metadata":{"p_key":"9702","p_author":"Namek","p_authorkey":"62744","p_urlkey":"44924","p_title":"Jay in Love Garden \u2013 Post Mortem","p_cat":"LD #34","p_event":"LD34","p_time":"1450210440","p_likes":"0","p_comments":"0","p_status":"UPD5","us_key":"62744","us_name":"Namek","us_username":"namek","event_start":"1449792000","event_key":"31","event_name":"LD34"},"text":"<p><strong>[ Play My Game on the Website! ]<\/strong><\/p>\n <p>Go play here -&gt; <a href=\"http:\/\/ludumdare.com\/compo\/ludum-dare-34\/?action=preview&amp;uid=62744\" target=\"_blank\">http:\/\/ludumdare.com\/compo\/ludum-dare-34\/?action=preview&amp;uid=62744<\/a><\/p>\n <p><strong>[ Idea ]<\/strong><\/p>\n <p>My first LD entry. So, basically I started with empty head. I disliked the Two Button Controls theme because it&#8217;s too wide about <strong>stories<\/strong> so I put my efforts into the second one &#8211; <strong>Growing<\/strong>. I asked myself for a lots of features but I started with actually no framework\u00a0at all so I ended up with only the core mechanic and &#8220;story&#8221;.<\/p>\n <p><strong>[ Story ]<\/strong><br \/>\n My game is about Jay who just got a new job. His task is to collect fruits &#8211; but those are special fruits! Money grow on trees. Business man allows to take Jay the <strong>extra<\/strong> cash.<\/p>\n <p><img class=\"alignnone\" src=\"http:\/\/namek.github.io\/jay-in-love-garden\/presentation\/ss1.png\" alt=\"\" width=\"450\" height=\"300\" \/><\/p>\n <p><img class=\"alignnone\" src=\"http:\/\/namek.github.io\/jay-in-love-garden\/presentation\/ss2.png\" alt=\"\" width=\"450\" height=\"300\" \/><\/p>\n <p><strong>[ Title ]<\/strong><\/p>\n <p>The little meaning of title reveals in the <strong>New Game +<\/strong>. I planned to do more about it but&#8230; read the rest of post mortem.<\/p>\n <p><strong>[ Mechanics ]<\/strong><\/p>\n <p>I was sure that instruction picture will be not easy to understand but didn&#8217;t put much time into it. <strong>Rules<\/strong> are simple:<\/p>\n <ol>\n <li>you have to stomp (SPACE key) close to tree and you&#8217;l get\u00a0<strong>big <\/strong>green<strong> leafs<\/strong><\/li>\n <li>stomping by\u00a0<strong>small<\/strong> green <strong>leafs<\/strong> makes them yellow<\/li>\n <li>yellow goes fast to <strong>red<\/strong> which is LOST MONEY<\/li>\n <\/ol>\n <p><img src=\"http:\/\/namek.github.io\/jay-in-love-garden\/presentation\/ss3.png\" alt=\"\" width=\"450\" height=\"300\" \/><\/p>\n <p>And: you run out of <strong>time<\/strong> and have to collect enough <del>money<\/del> leafs\u00a0to win the level &#8211; but I suppose this fact is pretty easy to guess.<\/p>\n <p><strong>[ Difficulty\u00a0Balance ]<\/strong><br \/>\n Overall, there are 4 levels. Some say that first level is very hard it actually teaches you what you&#8217;re waiting for in the game mechanics (tip: you&#8217;re waiting for well grown leafs to collect them). What I probably did wrong was to make player go to first level every time he loses. In the other hand, it&#8217;s challenging what was more important to me in the time of making the game.<\/p>\n <p><strong>[ Assets\u00a0]<\/strong><\/p>\n <p>Programmer art done in Paint.NET. Didn&#8217;t have enough power to make any (even\u00a0silly) sounds, had to wake up next day to my job (Europe here).<\/p>\n <p><strong>[ Code]<\/strong><\/p>\n <p>I was coding in Java + libgdx + artemis-odb (Entity Component Systems). I had to code some (really) basic renderer [0], collision detection or camera system so most of components (11 of all 16) [1] were tech stuff rather than game mechanics.\u00a0Took some time to partly make a system for dialogs [2] which actually ended less\u00a0sophisticated than planned but supports multiline text! Few\u00a0hours before deadline I actually tried to put some test build on the LD page and noticed that I could embed my game but it&#8217;s resolution has to be maximum <strong>900&#215;600<\/strong> &#8211; took me another very tiring\u00a0<strong>2\u00a0hours<\/strong> to fix the game so I could have map <strong>scrolling<\/strong> and overall camera system at all.<\/p>\n <p>Last two hours I&#8217;ve spent fighting GWT (to build Java -&gt; JavaScript) and a little of JS + CSS because couldn&#8217;t properly embed the game to LD website. But I managed to hack some browser events and little css for basic gdx html template and it all worked &#8211; you can play on the website with no quirks like a jumping web page on space key.<\/p>\n <p>In the end I was afraid about <strong>rebalancing<\/strong> [5] the game so I made it little <span style=\"text-decoration: underline\">easier <\/span>(!) than it was before.<\/p>\n <p>It all was <strong>simple<\/strong> but <strong>took time anyway<\/strong> so I finished with<strong> less features<\/strong> in the end.<\/p>\n <p><strong>[ New Game + ]<\/strong><\/p>\n <p>That was really one of the latest things I did before final uploading. If you don&#8217;t want spoilers then just play the game. Otherwise you can take a look at dialog [6], &#8220;thanks&#8221; picture [7] and the code for it [8].<\/p>\n <p><strong>[ Code Resources ]<\/strong><\/p>\n <p>[0] <a href=\"https:\/\/github.com\/Namek\/jay-in-love-garden\/blob\/master\/core\/src\/net\/namekdev\/growing_love_garden\/system\/RenderSystem.java\">general renderer + background<\/a>,\u00a0<a href=\"https:\/\/github.com\/Namek\/jay-in-love-garden\/blob\/master\/core\/src\/net\/namekdev\/growing_love_garden\/system\/DepthSystem.java\">general renderer part 2<\/a>\u00a0and <a href=\"https:\/\/github.com\/Namek\/jay-in-love-garden\/blob\/master\/core\/src\/net\/namekdev\/growing_love_garden\/system\/LeafRenderSystem.java\">leaf rendering system<\/a><br \/>\n [1] <a href=\"https:\/\/github.com\/Namek\/jay-in-love-garden\/tree\/master\/core\/src\/net\/namekdev\/growing_love_garden\/component\" target=\"_blank\">components<\/a><br \/>\n [2] <a href=\"https:\/\/github.com\/Namek\/jay-in-love-garden\/blob\/master\/core\/src\/net\/namekdev\/growing_love_garden\/story\/Talks.java\" target=\"_blank\">dialogs<\/a><br \/>\n [3]\u00a0<a href=\"https:\/\/github.com\/Namek\/jay-in-love-garden\/blob\/master\/core\/src\/net\/namekdev\/growing_love_garden\/screen\/TalkScreen.java\" target=\"_blank\">dialog renderer<br \/>\n <\/a>[4] <a href=\"https:\/\/github.com\/Namek\/jay-in-love-garden\/blob\/gh-pages\/index.html\" target=\"_blank\">my setup for embedding libgdx game to LD iframe<\/a><br \/>\n [5]\u00a0<a href=\"https:\/\/github.com\/Namek\/jay-in-love-garden\/blob\/master\/core\/src\/net\/namekdev\/growing_love_garden\/enums\/C.java#L76\" target=\"_blank\">levels balance<br \/>\n [<\/a>6] <a href=\"https:\/\/github.com\/Namek\/jay-in-love-garden\/blob\/master\/core\/src\/net\/namekdev\/growing_love_garden\/story\/Talks.java#L51\" target=\"_blank\">&#8220;congrats&#8221; dialog<\/a><br \/>\n [7] <a href=\"https:\/\/raw.githubusercontent.com\/Namek\/jay-in-love-garden\/master\/core\/assets\/pack.png\" target=\"_blank\">textures<\/a><br \/>\n [8] <a href=\"https:\/\/github.com\/Namek\/jay-in-love-garden\/blob\/master\/core\/src\/net\/namekdev\/growing_love_garden\/screen\/WonGameScreen.java#L67\" target=\"_blank\">code for New Game +<\/a><\/p>","time":"December 15th, 2015 3:14 pm","title":"Jay in Love Garden \u2013 Post Mortem"}