Pizza Legends (Classic)
We build a top down, turn based RPG using only HTML, CSS, and vanilla JavaScript. The game is about ambitious pizza chefs.
Watch on YouTube📣 📣 📣Coming Soon: a huge new course called JavaScript Game Development.
Join the waitlist here120+ step-by-step coding video tutorials
Finally finish your gamedev projects
Ship your game for the world to play
JavaScript
TypeScript
HTML Canvas
React
Godot 4.x
Game Design
In this series, we'll build a lightweight top-down game engine using only JavaScript and HTML Canvas. We'll use the systems to create common RPG features. You can build on top of this to make the game your own.
Premium
To start the project, we'll set up the project repository, create a canvas tag, and draw initial environment artwork to the screen.
Premium
Our game will require some semi-complicated drawing functions, so let's create a dedicated Sprite class to help manage the nuances of each drawing.
Premium
State and drawing updates will need to happen at a consistent rate. Let's set up a fixed step Game Loop to control the activity of each frame.
Premium
Now with a loop in place, we can wire up the keyboard to control the Hero and walk him around the map.
Premium
Some top-down games lock characters and objects to grid cells. Let's add that constraint to this project.
Premium
Our grid is working great, but the Hero can barge through trees, water, and walls. Let's designate those grid cells to be solid.
In this series, we're going to build a GBC style Zelda-like multiplayer game. We'll cover Zelda-ish character animations, movement, attacks, and enemies. We'll then create peer-to-peer connections with other players to bring the game online.
Premium
We'll quickly set up the repository, implement basic character movement and collisions.
Premium
Let's bring the characters to life by giving them animated sprite appearances.
Premium
Let's set up an easing camera system to follow our characters around the map.
Premium
Let's implement a Sword melee attack with animations and collisions.
Premium
Similar to the Sword, we'll add an Arrow projectile as a second attack.
Premium
Since this is multiplayer, identity is a big deal! Let's wire up multiple skins that can be used by characters.
In this series, we build an action-puzzle game with React. It's grid-based, action packed, and all about bread! We'll include many puzzle game features and the ability to edit levels in real time.
Premium
To kick off the project, we'll create a new blank React app and include Prettier for automatic code formatting.
Premium
Next JS is another great starter kit for this project. In this video, we'll create a fresh instance of a Next JS app for building the game.
Premium
We're going to be rendering a lot of graphics to the screen, so let's create a reusable component to handle the job.
Premium
Pixel art is small by nature, but we can upscale the graphics to make the most of our device screen real-estate.
Premium
Now that we have a <Sprite /> component, we can render anything from our spritesheet to the game screen. We'll create a nice system for doing so.
Premium
We can create a dynamic grid of wall and floor tiles that pull from our spritesheet. We'll be able to configure each level with a custom size.
Let's use Godot 4 to create a top down Overworld setting. We'll put characters in a city that can interact with each other and enter buildings.
Premium
We'll create a new project in Godot and tweak the settings for our specific needs.
Premium
Let's set up the Main scene that our whole game will operate within. This is our foundation for everything else.
Premium
Let's add People game objects to the scene and be able to configure them in a variety of ways.
Premium
Now that we have People, we can designate a Hero that is controlled by the player.
Premium
We'll implement a camera system that follows the Hero as he walks around the maps.
Premium
Now that moving is working, let's make the game feel more polished by adding walking character animations.
We build a top down, turn based RPG using only HTML, CSS, and vanilla JavaScript. The game is about ambitious pizza chefs.
Watch on YouTubeA series of casual video-essays about lessons I've learned in building and releasing games.
Watch on YouTube