Simple Game

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.

To that extent, I decided to use the quickest tools in my arsenal:  HTML5.  I’d have loved to do something in UE4, but I just haven’t found the time to make anything with it yet, and I knew I’d spend more time trying to figure it out than making the game, and that’s just crazy for LD.

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’d foreseen, so that went really well.

I decided to obfuscate my javascript to prevent people from figuring out the patterns without any effort.  They could still look at the source, but that’s more work, too.  The problem is that Yui Compressor doesn’t really obfuscate by design, so some of my stuff didn’t get changed enough.  I had to redesign stuff a bit to make it rename my tags.  Worse, setting up Yui Compressor on Windows via NPM turned out to be a huge hassle.  Ended up being easier to download it directly, install Java, and override phpStorm’s default values to make it work.  Ugh.

phpStorm also got in my way a few other times, though I don’t remember the details.  There was some weird bug where the cursor would jump while pasting data, and that was ugly.  I’m wishing Atom.io was a little more mature.  I haven’t had much chance to look at it, though, so it might be more mature than I realize.