Hunter Hamsterâs HTML5 game Snail Bob gets around 1 million game plays a month. But, Andrey Kovalishin, a co-founder of Hunter Hamster doesnât have time, staff or much interest to spend time thinking about that. Heâs already hard at work on his new project: Snail Bob 2 for all mobile platforms, PC and Mac.
âAs an indie developer my heart, passion and time goes into designing games. Handling the marketing and analyzing every single piece of player data isnât my thing. Usually I donât even have the time for it. I rely on partners for that. Once the game launches Iâm already back in my home studio thinking up the sequel or a different game concept.â
The other week Google unveiled a new version of Chrome (version 36). Chrome is used by 750 million people and is a popular browser for HTML5 games. Among the updates in Chrome version 36 was a change to its Web Audio API. Unfortunately, the names of audio methods in the Web Audio API within v36 were not made backwards compatibility from v35. As a result, the audio wouldnât play in HTML5 games like Snail Bob. This broke the games, causing them to issue a Fatal Error message and stop loading. It was impossible for players to play these games and developers like Andrey stood to lose millions of game plays.
Google Chrome Update:
Andreyâs HTML5 games are published by Spil Games. Right after the new version of Chrome came out the company started seeing issues with the HTML5 games it publishes.
âOur Q/A guy was the first to spot an issue when HTML5 games he had just approved for publishing started to crash,â said Ivo Teel responsible for the Gaming Platforms at Spil Games. âMeanwhile the comments sections of Snail Bob and other HTML5 games in multiple languages started to highlight that the games werenât loading.â
The issue wasnât totally clear, but with close to 100 games likely to be affected the company knew it needed to move quickly.
They started searching forums where their suspicions about the issue being related to the audio API were confirmed. Google issued this list highlighting the changes in the audio API. And, luckily a fix quickly appeared from Chris Wilson.
âTo save us and the developers time and money we implemented the overall fix within our API which instantly fixed the issue for all affected games,â said Teel. âThis scalable approach worked out perfectly and the games were loading fine again minutes after we updated our API. All of this happened within a few hours from when we discovered the change to the Web Audio API in Chrome. Because we were able to act quickly we didnât even need to involve the game developers.â
âI actually didnât even know about the issue until Spil Games zapped me on email to let me know they had solved it!â laughs Andrey. âI wish all my problems could be solved this wayâ!
Teel concludes, âThis issue wasnât a complete surprise because the audio API we were using was pre-fixed and thus in BETA. Using pre-fixed APIs can be a great way for developers to benefit from the latest advancements in HTML5. But, they need to implement it with care knowing that âas was the case with the Web Audio APIâthe standards can change with time which can lead to unexpected issues. Thatâs why we like to build these right into our API so we can get fixes out that save the developer the time and money of making the change themselves.â