14 July 2020 by Mysticetii
Emoji Crush Insight
Emoji Crush is a fast-paced spot and match game. A random emoji is chosen to be spotted and you need to find that emoji from the grid and squash it by a tap. Try to spot and squash as fast as possible because there is limited to finish the whole set of levels in an arena. An arena is where you get to play with various grid layouts. There are three arena’s each with different levels of difficulty. You can be the judge of which arena you find it difficult to complete and share with your friends. Download for free
First few hurdles
The first version of the code was very rigid and everything was hardcoded and the same functionalities were repeated many times. Over time maintaining and adding new features were getting so difficult that performance and user experience was taking a hit. So after one year of release, I started to modularise the functionalities into functions and it took a few weeks to create core functions that could be maintained very easily. This method of coding is not new and DRY (Don’t Repeat Yourself ) principle in software development is well known. My first target was to move as fast as possible so that I could learn a lot and make mistakes. Rewriting the codebase also taught me a lot of things in terms of maintaining compatibility with previous versions of the game. The only thing that I can’t slack on around was with the user experience.
Image optimizations! They are necessary but without care can bloat your apps or websites. In Emoji Crush there are over 300 images with various dimensions, luckily sprite sheet editors were available and saved quite a lot of time for managing them. Finding the optimum dimensions was another trial and error game. What I learned is that first finding the right image dimensions that work for the application and then compressing to 8-bit indexed color space saves quite a lot of space. I found TinyPNG very easy to use with great results. All the images on this website are optimized by TinyPNG.
Iterating multiple times. Once you spend hours coding and debugging a feature it breaks my heart if that feature is axed later on. Even with no-compromise with user experience attitude, it took a while for me to work out that muscle. There were multiple times when I felt giving up the whole project when a feature becomes irrelevant after it took a lot of time to ideate, code, and test it. Being an indie developer critiquing my own work just becomes another hat that I need to wear to continue that developing drive.
After multiple rewrites and building the gameplay as I kept developing it over the 4 development period, I feel that the game is complete. This game taught me a lot about programming while helping me pass some time when I get some time. Now the game is in long term support mode, where I will squash bugs if found and work to keep up to date with various API (Application Programming Interface) usages.
As I mentioned above the game is available for free to play and you can visit its’ dedicated page to know more about it and where to download from.