{"author_name":"wccrawford","cat":"LD #31","comments":[],"epoch":1417995240,"likes":1,"metadata":{"p_key":"22960","p_author":"wccrawford","p_authorkey":"11376","p_urlkey":"58342","p_title":"Simple Game","p_cat":"LD #31","p_event":"LD31","p_time":"1417995240","p_likes":"1","p_comments":"0","p_status":"UPD5","us_key":"11376","us_name":"wccrawford","us_username":"wccrawford","event_start":"1417737600","event_key":"26","event_name":"LD31"},"text":"<p>Due to lack of time both lately and for the last year and a half, I chose to make a rather simple game this time and actually get something entered again.<\/p>\n <p>To that extent, I decided to use the quickest tools in my arsenal: \u00a0HTML5. \u00a0I&#8217;d have loved to do something in UE4, but I just haven&#8217;t found the time to make anything with it yet, and I knew I&#8217;d spend more time trying to figure it out than making the game, and that&#8217;s just crazy for LD.<\/p>\n <p>The design of the code for this entry was in my head almost completely before I even started, and it all worked out the way I&#8217;d foreseen, so that went really well.<\/p>\n <p>I decided to obfuscate my javascript to prevent people from figuring out the patterns without any effort. \u00a0They could still look at the source, but that&#8217;s more work, too. \u00a0The problem is that Yui Compressor doesn&#8217;t really obfuscate by design, so some of my stuff didn&#8217;t get changed enough. \u00a0I had to redesign stuff a bit to make it rename my tags. \u00a0Worse, setting up Yui Compressor on Windows via NPM turned out to be a huge hassle. \u00a0Ended up being easier to download it directly, install Java, and override phpStorm&#8217;s default values to make it work. \u00a0Ugh.<\/p>\n <p>phpStorm also got in my way a few other times, though I don&#8217;t remember the details. \u00a0There was some weird bug where the cursor would jump while pasting data, and that was ugly. \u00a0I&#8217;m wishing Atom.io was a little more mature. \u00a0I haven&#8217;t had much chance to look at it, though, so it might be more mature than I realize.<\/p>","time":"December 7th, 2014 6:34 pm","title":"Simple Game"}