Spicy Yoghurt tutorials header
A motion blur
HTML5 game | 17 October 2026

Create a smooth canvas animation

Create a smooth canvas animation with JavaScript. Learn how to clear the canvas, add motion trails and easing, and keep it sharp on every screen. By the end of this tutorial, you can create a basic animation with the use JavaScript.

Draw on a canvas
HTML5 game | 16 October 2026

Draw lines, shapes and text

Draw lines, shapes, curves, paths and text on the HTML5 canvas with JavaScript. Try every example in the live playground and save your drawing as an image. By the end of this tutorial, you can draw your own game graphics and text, with colors, gradients and shadows.

A looping in a roller coaster
HTML5 game | 15 October 2026

Create a proper JavaScript game loop

Build a smooth JavaScript game loop for the canvas with requestAnimationFrame. Learn delta time and a fixed timestep, and measure fps with live demos. By the end of this tutorial, you'll have a complete game loop ready to use in your own game.

Prepare a blank canvas
HTML5 game | 14 October 2026

Set up an HTML5 canvas game

Set up an HTML5 canvas for your game with JavaScript. Learn how to scale the canvas to fit any screen, without blurry graphics. By the end of this tutorial, you'll have a canvas template to start every game with, and your first graphics on the screen.

HTML5 game development tutorials
HTML5 game | 13 October 2026

How to make an HTML5 game

Learn how to make an HTML5 game with JavaScript, step by step and for free. Find out how a browser game works, what you need to get started and when a game engine helps. Then follow the series and build each part of your own game.

Highlighted tutorials

Action and reaction in physics
HTML5 game | 20 March 2021

Collision detection and physics

Perform collision detection and react with physics, using JavaScript. Check for overlap between shapes, apply hitboxes and calculate new velocities. Make it more natural with object mass, gravity and restitution. By the end of this tutorial, you'll have a basic physics simulation running in your game.

A looping in a roller coaster
HTML5 game | 15 October 2026

Create a proper JavaScript game loop

Build a smooth JavaScript game loop for the canvas with requestAnimationFrame. Learn delta time and a fixed timestep, and measure fps with live demos. By the end of this tutorial, you'll have a complete game loop ready to use in your own game.

Tutorial series

How to make an HTML5 game

HTML5 game
Learn how to create your own game in HTML5 and JavaScript. Follow the tutorials and get to know about all the core principles of creating a game.

Development Tools

Animation Tool

Easing functions made easy

Eased motions are a great way to spicy up your animations. Use this tool to visualise easing functions and make your animations come to life.

Folder Compare

Spot the differences between folders

Compare two folders and see right away which files were added, changed or removed. Handy for checking your builds, backups and asset folders.

All tutorials

A motion blur
HTML5 game | 17 October 2026

Create a smooth canvas animation

Create a smooth canvas animation with JavaScript. Learn how to clear the canvas, add motion trails and easing, and keep it sharp on every screen. By the end of this tutorial, you can create a basic animation with the use JavaScript.

Draw on a canvas
HTML5 game | 16 October 2026

Draw lines, shapes and text

Draw lines, shapes, curves, paths and text on the HTML5 canvas with JavaScript. Try every example in the live playground and save your drawing as an image. By the end of this tutorial, you can draw your own game graphics and text, with colors, gradients and shadows.

A looping in a roller coaster
HTML5 game | 15 October 2026

Create a proper JavaScript game loop

Build a smooth JavaScript game loop for the canvas with requestAnimationFrame. Learn delta time and a fixed timestep, and measure fps with live demos. By the end of this tutorial, you'll have a complete game loop ready to use in your own game.

Prepare a blank canvas
HTML5 game | 14 October 2026

Set up an HTML5 canvas game

Set up an HTML5 canvas for your game with JavaScript. Learn how to scale the canvas to fit any screen, without blurry graphics. By the end of this tutorial, you'll have a canvas template to start every game with, and your first graphics on the screen.

HTML5 game development tutorials
HTML5 game | 13 October 2026

How to make an HTML5 game

Learn how to make an HTML5 game with JavaScript, step by step and for free. Find out how a browser game works, what you need to get started and when a game engine helps. Then follow the series and build each part of your own game.

Create Conway's Game of Life on the HTML5 canvas
JavaScript | 25 January 2024

Create Conway's Game of Life in JavaScript

Learn how to create Conway's Game of Life on the HTML5 canvas with JavaScript. Implement the game rules and check which cells will live or die each generation, to create your own simulation of life!

Action and reaction in physics
HTML5 game | 20 March 2021

Collision detection and physics

Perform collision detection and react with physics, using JavaScript. Check for overlap between shapes, apply hitboxes and calculate new velocities. Make it more natural with object mass, gravity and restitution. By the end of this tutorial, you'll have a basic physics simulation running in your game.

Store data
JavaScript | 21 May 2020

Store data with HTML5 local storage

Use the HTML5 local storage to store and read data in the browser. Learn how to store entire objects and how to manipulate data in the storage object. Follow this tutorial to learn all about storing client-side data with JavaScript.

Frame by frame animation
HTML5 game | 5 May 2020

Draw images and sprite animations

Draw your own images on the canvas and learn how to stretch, scale and rotate them. Use clipping on sprites to create sprite animations. By the end of this tutorial you can draw your own images and animations on the canvas and use them in a game.

Random numbers like dices
JavaScript | 17 September 2019

Generate useful random numbers in JavaScript

Learn all about generating random numbers in JavaScript you can actually use. Get numbers between a certain range, generate random integer- and boolean values and learn about the use of seeds.

Vector potion bottles drawn with Inkscape
Inkscape | 24 September 2018

Draw vector potion bottles

Learn how to draw vector potion bottles with this Inkscape vector drawing tutorial. You will make a potion bottle with a cork and special content. On the way, this tutorial will teach you how to use Inkscape as a vector graphics editor.