Do you want to code an online game? You're in luck—this is a great time for any online game developer and those aspiring to be online game developers.
The days of Flash are over, and this has paved the way for dozens (maybe hundreds!) of different engines, libraries, and variants of common web languages.
For now, let’s take a look at the top game engines and templates available on CodeCanyon.
Canvas Puzzle was the first HTML5 game on Envato Market. The concept is simple but can easily be built on to create a fully fledged game. Compatible with all modern browsers, this HTML5 game template has an Internet Explorer 9 or less fallback, while also working great on the most current iPads.
Users can use any image—just drag and drop with Firefox and Chrome—and the game generates any number of different pieces.
Canvas Puzzle is lightweight, simple, clean, and ready for you to customize to your liking.
2. 3D Roulette
Like the HTML5 3D BlackJack game template, the 3D Roulette HTML5 casino game has a great 3D hi-res look.
Easily modify 3D Roulette by downloading and editing the Photoshop and Illustrator files. The HTML casino game source coded can also be installed directly into WordPress using CTL Arcade WordPress plugin.
Bubble Shooter reminds me a lot of Snood and other games like it. This simple and addictive game can be installed as is or modified to your liking.
This HTML5 game template comes in 870x1504 resolution, is fully responsive, and can be easily modified using the Photoshop and Illustrator files.
4. The Sorcerer
Enjoy the magic of HTML5 game templates with The Sorcerer. This game build was inspired by Zuma gameplay and includes three different progressive levels.
Become the next fruit ninja with the highly customizable Katana Fruits template.
This HTML5 game template was developed with the following code chops:
You can edit the look and feel with the included Photoshop and Illustrator files and install it directly into WordPress using the CTL Arcade WordPress plugin.
Slot Machine: The Fruits is optimized for both mobile and desktop and includes high-quality images that support up to 1500x640 resolution. It comes with HTML5 casino games source code.
Are you ready to go on an adventure collecting ancient artifacts in caves full of traps?
This fantastic HTML game template includes:
- eight levels
- Construct 2 files
- layered Photoshop and Illustrator files
- and more
Indiara and the Skull Gold is fully touch and mouse supported, includes social media share buttons, and can be visually customized by swapping out the image files or completely modified with Construct 2.
Game FlapCat Steampunk is based on similar blockbuster games with its simple design and playability. Enjoy this touch and mouse compatible game in full 1280x720 resolution.
This cool cat includes infinite levels, Construct 2 files, layered Photoshop and Illustrator files, and more.
Game FlapCat Steampunk has a great art style and is ready to play or customize.
HTML5 3D BlackJack has all the features you'd expect in a realistic blackjack game: split hand, double bet, and insurance.
But the best part is the hi-res 3D graphic style.
10. Ultimate Swish
Want to add some jump shots to your upcoming project? Ultimate Swish gives you the framework to do just that.
Ultimate Swish provides a short, addictive game cycle that could be expanded into its own full game or customized to fit within your current project.
11. Panda Love
Ready, set, run!
This fast-running panda needs to be guided over obstacles to collect prizes and finish each of the over 20 levels.
'Tis the season for some fun! The Game Christmas Furious HTML5 game template brings touch and mouse-supported fun to all platforms.
It includes six levels, Construct 2 files, layered Photoshop and Illustrator files, and more.
Balloons invade the North Pole—can Santa catch all the gifts and avoid the balloons? The Game Christmas Furious HTML5 game template is ready to play or transform into your own creation.
13. Don't Crash
Don't Crash. That's it. It sounds easy, but this mesmerizing HTML5 game template will keep you guessing. Don't Crash includes Construct 2 files. It is fully responsive and has touch support, with 1280 x 720 resolution.
And never forget—Don't Crash!
14. Jumper Frog
PSD and Adobe Illustrator files are also available separately for easier customization.
15. Balloon Fight
Balloon Fight is a charming and addictive retro-style game built with Construct 2.
Pop the balloons of the other cats—and you win!
It comes with all sounds and music, PNG graphic files, and unlimited levels. It also supports AdMob advertising. Balloon Fight is easy to control, but difficult to master.
16. Formula Racing
If you have a need for speed, Formula Racing is what you want. Fully responsive and ready for any screen size, this game has been built with Construct 2.
It includes rival car AI, the ability to easily modify existing tracks or create your own, and PNG and PSD graphic files, and it supports AdMob advertising.
Formula Racing is fully customizable and ready for you to race away with something new.
Make the longest spaghetti ever. Touch for right turn. Release for left turn. Buon appetito.
This mobile HTML 5 game is made with Construct 2. It has touch and mouse control. It is easy to export to Android and iOS. It comes with HTML5 and CAPX files, plus extensive documentation. You can share your high score on Twitter.
American Football Santa's Run is a fun game! All you need to do is avoid the players of the enemy team. Collect stars and get acceleration for ten seconds. During acceleration, you can go through all the players except the one wearing black. Also, do not step on the spikes!
It's very easy to customize and to reskin, and it works on all popular browsers. You can embed it in iFrames and change the size and location of the on-screen buttons. It comes with HTML5 and Construct 2 (.capx) files, images, and sounds.
19. Find the Twins
Find the Twins is a simple game to understand. You need to find two identical pictures and connect them. But remember that you can only bend the line twice!
At your disposal are 30 complete game levels, but only one attempt to pass them all! The higher the level, the more difficult. For example, after level 10, your pictures will begin to shift around.
Find the Twins comes with Construct 2 and HTML5 files, documentation, logo from 16px to 550px, AdSense documentation, and plug-in documentation.
If you're still looking for the perfect HTML5 game engine or template, CodeCanyon has lots more to choose from. You can find another great list of HTML5 game engines and templates here—along with tips on connecting to your audience and making a great game trailer!
The following is a selection of open-source game templates and engines you can use to build games that users can play on their browsers. You can easily download the source code on your computer and modify it according to your requirements. You can then run the games on your browser, and even distribute them.
You can download the source code from GitHub.
MelonJS is a game engine and framework with a very lightweight footprint. You can create games that only need an HTML5 web browser.
Quantum Game has the following components: photon sources to emit photon particles, a rock to act as an obstacle, a mirror that deflects the photon particle, and a photon detector that receives the photon particle.
Your goal is to arrange the mirror in a way that a photon particle emitted from the photon source evades the rocks and reaches the photon detector.
Why Use an HTML5 Game Template?
Building a game is difficult. With several distinct skill sets nestled into a complex package, it can be difficult to start a whole project from scratch.
For those new to game programming, using a game template can help to fill in those gaps in skills, such as user interface or graphic design, giving insight into the workings behind a completed game. This is a great learning experience and helps you get your first couple of projects done without getting too overwhelmed.
Experienced game programmers can find plenty of use from these game templates too. They can help to build the skeleton for a larger game or act as the base for a new project, cutting down on creating repetitive code for each new game you make.
Designing Online Games
So you have an idea for an online game or several. But how do you start building one?
You can build a game from scratch. It requires you to have a knowledge of programming. If you don't know how to code, you can use templates. There are thousands of them.
But either way, you have to have a roadmap. Have a basic and detailed description of:
- What kind of game do you want to create?
- What is your game about?
- In what genre?
- For what platform: is it a mobile game (iOS or Android) or a desktop game (Windows or Mac)?
- How do you want it to look?
- What visual features do you want to include?
In addition, some game design software allows you to build games with drag-and-drop—without even knowing how to code!
Drag-and-drop game making software includes:
These platforms all have free versions that allow you to publish to the web, but you'll need to pay for professional editions that allow you to make mobile games.
Text-Based Game Engines
Create 2D Games Without Coding
Choosing Game Design Software
- Choose software that publishes to HTML5 and is oriented to publishing games in mobile browsers. You don't want to miss out on mobile users.
- If you want to make money as a game designer, think of software that comes with end-user data collection and game monetization choices.
- It should be easy to use and come with extensive documentation and tutorials.
- It should have access to a robust community of users sharing technical knowledge.
- It should also come with a rich library of stock images and stock music.
Publishing and Distributing Your Game
Option 1: Distribute and Host Your Game Independently
To distribute independently, you will need a hosting service with a reliable infrastructure that can handle a lot of traffic and also make your game website available at lightning-fast speeds. Of course, you'll pay a lot in hosting fees. You will also need to build and maintain a vibrant online community in order to be profitable.
Option 2: Outsource Hosting and Distributing to a Gaming Platform
Platforms offer a ready-made audience through their vibrant built-in communities. Keep in mind they do charge submission fees for each game you submit. They also charge a percentage for every sale.
To outsource the hosting and distribution, you can use the following platforms:
- Android: Google Play Store or Amazon Appstore
- iOS: App Store
- Desktop and Mobile apps: Steam, Game House, Gamers Gate, Humble Bundle, Kongregate, Gog, Itch.co
Subscribe below and we’ll send you a weekly email summary of all new Code tutorials. Never miss out on learning about the next big thing.Update me weekly
Envato Tuts+ tutorials are translated into other languages by our community members—you can be involved too!Translate this post