Mazur’s first games rapidly became a hit and started to appear on many reviewer’s top lists, and the results of his experiments came faster than he imagined: in 2013, he was able to quit his formal job in a big company to become a full indie developer and founded Enclave Games, a studio that develops quality HTML5 games on demand.
The contest happens every year and in 2015 it had a record-breaking of 160 projects submitted. By 2017, more than 120 competitor’s files are expected.
Now, despite web technologies made a huge progress and the idea of creating fun, interactive games that work on any device seems more and more enticing, Mazur reminds that developers have a big challenge on their hands: make better-refined games to stand out in the games industry.
Jscrambler: How did you become an HTML5 game developer?
My first experiments were simple. I created a Snake clone using DOM manipulations with jQuery, and it worked. Making games back then was hard, but not impossible, only a few people tried it at that time. My games became quite popular and ended up in many "top X best HTML5 games" - because the X was actually the number of all the games one could find back then.
Andrzej Mazur: A few years ago there was plenty of technical problems - sound, performance, working offline, monetization methods, etc. However, now the browsers are fast enough and the major Web APIs implemented to a point where we can confirm the tech stack is ready. That means you don't have to worry about the API itself - it should work out of the box without any errors so you can focus your time and energy on the actual game development.
Yet, as a consequence, it became very easy to build a simple casual HTML5 game. So the competition now is higher and the market is becoming saturated. Hence, your game has to be better, prettier, faster and more polished than your competition to stand out. It is harder to get noticed just by a few games in the portfolio, so you have to add something extra.
Jscrambler: What are some of the advantages and limitations of using this language to create games?
Andrzej Mazur: The strengths and weaknesses of HTML5 games are the same as the web platform itself. On one hand, it might be easier to have your source code stolen than from a native build. This can be avoided by applying a set of powerful obfuscation techniques, anti-debugging or certain locks to the code. You can also face some performance issues compared to the native runtime or have limited access to the hardware. But on the other hand, web games are cross-platform, multi system, and truly multiplatform - you can build once and launch them on basically anything with a browser, even if it is a fridge.
Andrzej Mazur: It still makes more sense to focus on casual, 2D gaming when you want to target older smartphones, but it's entirely up to you. Full-blown 3D games are also an option if you have a good team, enough time and resources. If you try to keep a high frame rate and optimize the performance when needed to have a good experience, then you should be fine.
Andrzej Mazur: For me, the best one is definitely Phaser. It is very popular among other developers I know also. I think it’s the most popular 2D framework for casual games, especially if you want to target mobile, which is a must. Phaser itself is an engine, so you can use its functions and methods and code your way to the final game. If you don't feel like a coder, though, you can test more designer-friendly tools like Construct or Game Maker. I know a few people who haven’t even needed to know programming to make a game with those tools.
There's also some heavyweight tools for native-like experiences such as Unity or Unreal, which can export to the web. But the powerful toolsets usually come with a bloated output, so it's a trade-off you have to consider. Plus, it is more about learning the tools rather than the language.
Andrzej Mazur: Make more games! Practice building a game, you get better at it with every single one you finish. There isn't a better way to learn something than by doing it. You can also read or watch tutorials, attend workshops, participate in competitions, chat with the community to exchange ideas and experiences... There are many ways to find the knowledge on the Web and outside of it, but it all boils down to practice.
Andrzej Mazur: Yes, there's an active community at the HTML5 Game Devs forums - it's the best place if you want to meet and talk with the developers, showcase your work, ask questions and get solid answers.
If you don't have the time to be up-to-date with every topic, you can subscribe to the Gamedev.js Weekly newsletter and receive the most interesting news, tools and resources from the past week to your inbox every Friday.
Jscrambler: Besides js13kGames, what other competitions should game developers keep an eye on?
Andrzej Mazur: I can recommend trying to participate in a local edition of the Global Game Jam happening at the beginning of the year, or one of the few Ludum Dare competitions. Both are online events but happen to gather developers locally to build games together.
This game has a huge potential, and I hope they achieve commercial success. We are still waiting for that one game hit that will burst through to the mainstream, just like Flappy Bird did, and we'll be able to proudly say: “It was made with web technologies, and you can play it on any device you have!”
And this can happen now more than ever. The quality is improving every year, and the advantages of the web itself will make HTML5 games more interesting than native. After all, you don't have to install anything, you can just hit the play button almost instantly right in your browser.
Then you should definitely participate on js13kGames and challenge yourself! You can check out more information about the js13kGames contest and the delivery dates on their official website. You can also check out (and play) some of the HTML5 games Andrzej Mazur developed with his team on Enclave Games’ website.
Have these insights helped you? Then don’t forget to spread them among your friends by using the buttons below.