Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

November 17 v0.3.1

Bug Fixes are a pain in the butt. 

I had a bug in my game where in a rare circumstance my code would go into an infinite loop and crash the browser. It was happening infrequently so I would refresh the browser and start the game and it would work for another hour or more without problems.  I finally figured out that I had one resource out of the current 124 that was missing one variable that caused this bug. This is a problem when using JavaScript that doesn't have strict typing and functions calls. The result finding the error: 3+ hours the fix 3 characters:  "",

Improving Achievements.

I have been play testing the code for a while now. I always wanted to add multiple workers. Initially I thought i would create infrastructure projects which are essentially very tough resources with multiple requirements that would unlock them. After playing the game for a while I found once I Maxed a resource there was no need to use it and I needed a mechanic to keep the content active.  What I have come up with is tracking the number of achievements in a given session unlocks extra features. 1. Additional Workers after 10, and every 50 achievements. 2. Adding an additional resource after 6 achievements (essentially Silver in 3 resources, or gold in 2). My goal is to make a game last a little longer and to reuse content.