10 cool HTML5 games and how to create your own Thanks to Apple dropping support for Flash on iOS, HTML5 has gained a lot of traction and is getting very popular. For games, HTML5 (understand canvas and a lot of javascript) is slowly replacing Flash on online gaming websites and mobile games. I have done in this post a selection of cool and popular HTML5 games, maybe it will give you some motivation to create your own. 10 cool HTML games A list of pretty cool games, make sure to check out the source to understand how they work. 1. Control two characters at the same time and try to let them meet. 2. Defend your planet against incoming meteorites. 3. Addicting simple game where you race with a stick figure in levels designed by other users. 4. Your hero has fallen into a sinkhole and has a broken arm. 5. Not exactly a game, but a game emulator that gives you access to old games that you’ve probably missed. 6. A shoot-em-up with cool isometric 3D graphics. 7. A game created by Kevin Roast. 8. 9. A pretty entertaining tower defence game.
No Tears Guide to HTML5 Games Introduction So you want to make a game using Canvas and HTML5? Follow along with this tutorial and you'll be on your way in no time. The tutorial assumes at least an intermediate level of knowledge of JavaScript. You can first play the game or jump directly to the article and view the source code for the game. Creating the canvas In order to draw things, we'll need to create a canvas. var CANVAS_WIDTH = 480;var CANVAS_HEIGHT = 320; var canvasElement = $("<canvas width='" + CANVAS_WIDTH + "' height='" + CANVAS_HEIGHT + "'></canvas>");var canvas = canvasElement.get(0).getContext("2d"); canvasElement.appendTo('body'); Game loop In order to simulate the appearance of smooth and continuous gameplay, we want to update the game and redraw the screen just faster than the human mind and eye can perceive. var FPS = 30; setInterval(function() { update(); draw();}, 1000/FPS); For now we can leave the update and draw methods blank. function update() { ... }function draw() { ... } Hello world Player movement
Tutorial: Simple game with HTML5 Canvas - part 1 Check other language versions: [RUSSIAN] Tutorial: Simple game with HTML5 Canvas Part 1 - Introduction & Background Part 2 - Character & Animation Part 3 - Physics & Controls Part 4 - Platforms & Collisions Part 5 - Scrolling & Game States If you are interested in news and updates of that tutorial just follow me on twitter: [MichalBe's Twitter] Because 10KApart is closed now, and we are all waiting for the results, it is good time to remind my very simple "Stairs to heaven" game and explain in details how it was made. StH is very simple clone of Doodle Jump, but to be honest I was inspired by Icy Tower and discover DJ after I submit StH to the competition. Part 1. That's all in HTML we will need during this tutorial. First of all its important to understand one thing about canvas - it is not possible to move objects in the canvas surface. var clear = function(){ ctx.fillStyle = '#d0e7f9'; //set active color to #d0e... Nice, but boring less only a little. Part 1.
Create a Mobile Educational Game with HTML5 Kids nowadays get bored at school. A teacher talking to dozens of kids and expecting them to transform those low pitched sound vibrations into interesting concepts in their heads, can you imagine? And learning math in particular is hard for many, including some of my cousins and sons and daughters of people I work with. So how can we make this process a bit less painful, while at the same time getting our hands into a cool HTML5 game framework? HTML5 Mobile Game Development by Example – Educational GameHTML5 Mobile Game Development by Example – Veggies vs Zombies In this tutorial, we’ll be creating a simple mobile game to learn multiplication tables (or develop other math skills) in the form of a racing game. We’ll be using the Quintus game development framework on this tutorial. The requirements for this tutorial are the following: Familiarity with HTML, CSS, JavaScript and basic object oriented concepts.Clone or download Quintus from it’s Github page.Setup a local webserver. 1. 2. 1.
The Reality of HTML5 Game Development and making money from it The Reality of HTML5 Game Development and making money from it Note: This was written near the end of January 2012 and as such reflects the state of the technology and markets at the time. Everything is moving so fast a lot of the information below is subject to change, so bear that in mind. HTML5 game development and indeed the abilities of web browsers are in state of rapid evolution right now. HTML5 is just a mark-up standard! Relax When I talk about “HTML5″ I’m doing so from the popular media use of the word, rather than the technical one. What is an HTML5 game? This seemingly innocuous question actually has a myriad of answers, and can get complex pretty fast. Most developers know CSS as the stuff that styles web sites. DOM (Document Object Model) The DOM is familiar territory for web developers but much less so for everyone else. Canvas Canvas is probably the most well known approach to creating HTML5 games. WebGL (Web Graphics Library) SVG (Scalable Vector Graphics) Native Client (NaCl)
Web Accessibility Initiative (WAI) - home page Current Work (updated monthly) See What We're Working On – Accessibility Activities and Publications DPUB-ARIA and DPUB-AAM are now Web Standards (W3C Recommendations) (2025-Jun-12) Digital Publishing WAI-ARIA Module 1.1 (DPUB-ARIA) and Digital Publishing Accessibility API Mappings 1.1 (DPUB-AAM) are now web standards (W3C Recommendations). For Review: Guidance on Applying WCAG 2.2 to Mobile Applications (WCAG2Mobile) — First Draft Note (2025-May-06) Guidance on Applying WCAG 2.2 to Mobile Applications is available as a first Draft Note. WCAG 2.1 published with minor technical fixes W3C published an update that addresses minor technical issues in the December 2024 publication of WCAG 2.1. The changes are listed in the Change Log section of WCAG 2.1. WCAG 2.2 in Brazilian Portuguese – Authorized Translation Published (2025-Mar-27) Other translations of WAI resources are listed in All WAI Translations. WCAG 2.2 in French – Authorized Translation Published (2025-Mar-17) (2025-Mar-06) (2025-Jan-21)
HTML Color Chart by VisiBone HTML color codes HTML color codes are hexadecimal triplets representing the colors red, green, and blue (#RRGGBB). For example, in the color red, the color code is #FF0000, which is '255' red, '0' green, and '0' blue. These color codes can be used to change the color of the background, text, and tables on a web page. Major hexadecimal color codes Below are some of the common color names and codes. Color code chart Tip: Use our HTML color picker if you need to choose from an almost infinite variety of colors. Blacks - Grays - Blues - Greens - Yellows - Browns - Orange - Reds - Pinks - Purples