Join the DZone community and get the full member experience.Join For Free
On the web, there are many various step-by-step tutorials aimed at helping you with your first online game. Decide which game you want to develop and proceed to the next step — choosing a library and engine. We have listed the best of them below.
This framework is great for beginners because it handles most of the game automation processes. Thus, you do not need to write long code for each element of your game. Physics of objects can also be achieved using special external libraries. Ultimately, your game produces a very professional feel thanks to the objects' realistic movements and behavior.
In fact, using Phaser and ready-made code from GitHub, you will roll out your first game after a couple of hours of work.
Oh yes, this is one of the best frameworks for creating 3D browser games. It allows you to render objects of varying complexity, and you do not even need to write a lot of code. Creating a 3D object using a regular WebGL would take a lot of time and code. BabylonJS handles all the complexity on its own, so minimum efforts are required from you.
A few more features of BabylonJS are hardware scaling, a system of particles, smoothing, automatic scene optimization, and the ability to use 9 types of cameras with custom materials and shaders. Sounds good, doesn't it?
This is a lightweight open-source framework that has a number of special features. First of all, this is a "plugin-free" tool for creating games on the "wrote once, launched anywhere" principle. The framework does not have such a large community as the two previous ones, but the developers who prefer Melon are its real fans.
Let's list a few features of the framework:
- lightweight 2D engine;
- a simple HTML5 library;
- compatibility with all popular browsers: Chrome, Mozilla, Opera, Safari, Internet Explorer;
- compatibility with mobile devices;
- lightweight physics with low requirements for your computer's CPU;
- built-in support for CocoonJS and Ejecta;
- and so on.
In short, MelonJS is an ideal choice if your task is to create a simple lightweight 2D browser game with a minimal computational load.
Oh, this platformer will wrack your brain and freak you out. We have warned you! A beautiful and simple 2D-game with cool physics that pays respects to the Super Mario era. Play with headphones since fun music makes up 30% of the atmosphere.
That’s a great game for training abstract thinking. A virus has infected your system and you must move the nodes to save yourself from the total infection. Try it, but you need to read the rules first.
Oh, this is a full-scale space RPG that runs instantly and works in your browser. Explore space, enter into alliances or destroy your enemies.
This game is a platformer where you need to move the cube through the map in an attempt to achieve the goal. The levels are full of small puzzles, switches, movable boxes, and so on. What may seem simple to you in the first round, will cause problems in the 6th. Oh yes, you only have 1,024 moves to complete the game!
All these games are a great opportunity to spend free time without buying, downloading, and installing anything. By the way, each of the above games is under 13kb of code. How do you like that? And there are lots of such games.
Opinions expressed by DZone contributors are their own.