Category: Javascript
-
Build a HTML5 game like “Watermelon Game” using Phaser and Box2D powered by Planck.js – step 1: the basic game mechanics
First step in the creation of a HTML5 game like "Watermelon Game" using Phaser and Box2D physics powered by Planck.js. Let's see how to merge two balls into a bigger one. Full TypeScript source code available to download.
-
Playing with official Phaser Parcel template, using it to build a Perfect Square! prototype
Here is the official Phaser Parcel template used to build one of my latest HTML5 game prototypes, Perfect Square! Look how I turned a template into a complete HTML5 game. Source code available to download.
-
Using TypeScript to build HTML5 games with Phaser, webpack and Visual Studio Code
Moving from JavaScript to TypeScript to build HTML5 games has never been so much easy with this complete tutorial covering Node.js, npm, npx, Visual Studio Code and Phaser.
-
Publishing HTML5 games with Phaser, webpack and Visual Studio Code
Create distributable versions of your HTML5 games powered by Phaser using Visual Studio Code and webpack.
-
Developing HTML5 games with Phaser, webpack and Visual Studio Code
Learn to configure Visual Studio Code and webpack to work with Phaser and optimize your HTML5 game development with this detailed step by step tutorial featuring source code examples and more than 20 images.
-
Your first web server using Node.js, and why you should definitively use a web server
If you are into HTML5 game development, sooner or later you will have to start a web server. This basic guide explains you how to create a simple web server with Node.js, and why you definitively should use a web server.
-
Play “Space to Jump”, my HTML5 take on Flash iconic game “Space is Key”
Play "Space to Jump", my HTML5 take on the Flash iconic game "Space is Key", powered by Phaser and written in TypeScript with no physics engine, just using geometry and trigonometry.
-
Your first HTML5 project using Phaser Editor 2D, Webpack and TypeScript
New to Phaser Editor 2D? Here is a detailed guide with 28 pictures explaining how to build a HTML5 project using Phaser Editor 2D, TypeScript and Webpack
-
Node.js and NPM: don’t be afraid of them!
Node.js and NPM may scare many developers struggling with javascript, but they shouldn't. Here is a very quick guide to installing Node and NPM, let's start from the bare bones and see how to install them.
-
Build a HTML5 game like Space is Key using Phaser, tweens and Arcade physics – using Tiled to draw levels, even with rotated obstacles
The HTML5 prototype of "Space is Key" powered by Phaser now features Tiled designed levels. Draw your levels in a matter of minutes and import them in the game. Full TypeScript source code available to download for free.
-
Build a HTML5 game like Space is Key using Phaser, tweens and Arcade physics – removing Arcade physics
"Space is Key" HTML5 prototype powered by Phaser now does not rely anymore on Arcade physics, and has its own simple physics and collision detection routines. Full TypeScript source code available.
-
Build a HTML5 game like Space is Key using Phaser, tweens and Arcade physics – pixel perfect collisions and text messages
In this step of "Space is Key" HTML5 prototype I added pixel perfect collision and the capability of adding texts as players progress through the level. Powered by Phaser and arcade physics, written in TypeScript. Source code available for free.