{"author_name":"walsh9","cat":"LD #33","comments":[],"epoch":1440546600,"likes":2,"metadata":{"p_key":"13430","p_author":"walsh9","p_authorkey":"56320","p_urlkey":"48687","p_title":"Dragon Tax Return Simulator 2015 \u2013 Post Mortem","p_cat":"LD #33","p_event":"LD33","p_time":"1440546600","p_likes":"2","p_comments":"0","p_status":"UPD5","us_key":"56320","us_name":"walsh9","us_username":"walsh9","event_start":"1440115200","event_key":"29","event_name":"LD33"},"text":"<p><a href=\"http:\/\/ludumdare.com\/compo\/ludum-dare-33\/?action=preview&amp;uid=56320\">Dragon Tax Return Simulator 2015<\/a> is\u00a0my first Ludum Dare entry. Once the theme was announced I brainstormed a list of about a dozen ideas, and then narrowed them down based on whether they were 1. doable, 2. interesting. Somehow this dragon tax game idea came out on top. While I was originally trying for a compo entry, when I realized I wasn&#8217;t finishing on day 2, I adjusted trajectory toward the jam.<\/p>\n <p><strong>Tools<\/strong><br \/>\n Javascript &#8211; This is a mostly from scratch (libraries used below) HTML5 game. So if it looks bad or doesn&#8217;t work for you then I probably didn&#8217;t test in your browser\/os.<\/p>\n <p>Google Fonts &#8211; A great resource and allowed me to take full advantage of the &#8220;Fonts are allowed.&#8221; exception. I doubt I&#8217;d have even tried this idea if I didn&#8217;t know about Google Fonts.<\/p>\n <p>Handlebars.js &#8211; I&#8217;d never used it before but it was great for making templates for all the various forms that got created.<\/p>\n <p>jQuery &#8211; jQueryUI made it super simple to make all the paper draggable.<\/p>\n <p><strong>The Good<\/strong><br \/>\n I feel like I really got a lot of value out of simple randomization.<\/p>\n <p>The instructions use random values for most of the &#8216;rules&#8217; so you can&#8217;t just learn the tax code.<\/p>\n <p>The random name generator was really fun to make even though all it does is\u00a0stick some random syllables together (about half the time it just picks a &#8216;normal&#8217; firstname from a list). I decided this was not the time to try and figure out markov chains or anything fancy like that. I think this simple randomizer still came out fine.<\/p>\n <p><img class=\"aligncenter size-large wp-image-494844\" src=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2015\/08\/names2-550x83.png\" alt=\"names2\" width=\"550\" height=\"83\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2015\/08\/names2-300x45.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2015\/08\/names2.png 550w\" sizes=\"(max-width: 550px) 100vw, 550px\" \/><\/p>\n <p>I&#8217;m also happy with how well the random note generation worked out with its simple templates.<\/p>\n <p>For example here&#8217;s the farmer complaint template (with the HTML stripped out):<\/p>\n <blockquote><p><code>Hey {{dragonEpithet}}!<\/p>\n <p>{{exasperatedComplaint}}<br \/>\n You burnt up {{value}} gold worth of my crops!<br \/>\n {{farmerAppeal}}<br \/>\n {{peasantNotice}}<br \/>\n {{partingShot}}<\/p>\n <p>{{randomName}}, {{location}}<\/p>\n <p>P.S. {{grovelling}}<\/code><\/p><\/blockquote>\n <p>And the results:<\/p>\n <p><img class=\"aligncenter size-full wp-image-494848\" src=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2015\/08\/complaint.png\" alt=\"farmer complaint note\" width=\"280\" height=\"383\" \/><\/p>\n <p>It was fun to write all the sentences that filled these templates, but I still want to add more since\u00a0the notes can still get repetitive.<\/p>\n <p><strong>The Bad<\/strong><br \/>\n Originally, the &#8216;time limit&#8217; in the game was only going to be 5 minutes. On the second day I actually tried a test run. One thing I noticed was that 5 minutes was <em>nowhere near enough<\/em> time. I used that discovery as an opportunity to cut extra forms, simplify the main form, and increase the time limit to 10 minutes. I probably could have saved myself a lot of time if I&#8217;d tried playing the game earlier.<\/p>\n <p>Also, I probably shouldn&#8217;t have waited until the third day to add all the logic that makes it &#8220;a game&#8221;. I mean stuff like the dialogs, finish state, endgame report, etc. I was kind of pushing my luck as I rushed to get those all in before the deadline.<\/p>\n <p><strong>Ideas That Didn&#8217;t Make It<\/strong><br \/>\n I wanted to add more graphics. Just things like little official seals\/stamps for some of the paperwork. Burnt edges on the papers. A little pixel art dragon claw cursor.<\/p>\n <p>And I wanted some of the complaints from shopkeepers to be on shop letterheads with randomized shop names but I was running out of time and ended up just reusing the design from the peasant notes.<\/p>","time":"August 25th, 2015 6:50 pm","title":"Dragon Tax Return Simulator 2015 \u2013 Post Mortem"}