Category: Javascript
-
Pure TypeScript class to handle Drag and Match games in just a few lines – part 1: dragging items. HTML5 example powered by Phaser.
First version of a pure TypeScript class with no dependencies to manage a HTML5 Drag and Match game in just a few lines. You'll just have to pass input coordinates and the class will return item movements. Full example powered by Phaser.
-
Build a highly customizable mobile friendly HTML5 level selection screen controllable by tap and swipe written in TypeScript and powered by Phaser
Add to your HTML5 games a fully customizable level selection screen, mobile friendly, which you can control by tapping or swiping. Written in TypeScript and powered by Phaser. Full source code available.
-
TypeScript class with no dependencies to handle Sokoban games in less than 10 lines of code. HTML5 example powered by Phaser
A completely commented, standalone TypeScript class with no dependencies is what you need if you want to build your Sokoban game in about 10 lines like I did. HTML5 example powered by Phaser
-
HTML5 prototype of “Serious Scramblers” powered by Phaser and written in TypeScript built with no physics engines: only Swept AABB collision detection
Build your HTML5 physics game with no physics engine thanks to Swept AABB method. Look how I built "Serious Scramblers" prototype powered by Phaser and written in TypeScript. Full commented source code available.
-
Understanding physics continuous collision detection using swept AABB method and Minkowski sum – Part 2: both bodies are moving
Now you can handle perfect collision between two fast moving bodies in your HTML5 games thanks to Swept AABB method, with a full example powered by Phaser and written in TypeScript. Full commented source code available.
-
Understanding physics continuous collision detection using swept AABB method and Minkowski sum
Now you can manage continuous collision detection in your HTML5 games thanks to swept AABB method and Minkowski sum. Full commented source code powered by Phaser and written in TypeScript available
-
Back to the basics: why do we absolutely NEED a web server to develop HTML5 games? Aren’t they just JavaScript?
Sometimes is good to start from the bare bones of HTML5 game development. Today I am answering a beginner question: why do we need a web server just to write some JavaScript?
-
Control your cross platform HTML5 game with keyboard, mouse or touch input with an all-in-one TypeScript code, powered by Phaser
One script to rule them all: control your HTML5 cross platform game allowing keyboard, mouse or multitouch input in this example powered by Phaser and written in TypeScript. Full commented source code available.
-
“Serious Scramblers” HTML5 prototype built with Phaser and TypeScript – Adding a new enemy type: the Rotating Saw
Now "Serious Scramblers" HTML5 prototype features a new enemy: a deadly rotating saw! Full commented source code available, powered by Phaser and Arcade physics, written in TypeScript.
-
“Serious Scramblers” HTML5 prototype built with Phaser and TypeScript – Adding sprites and animations
Pixel art sprites and animations, have been added to my "Serious Scramblers" HTML5 prototype powered by Phaser and Arcade Physics and written in TypeScript. Full line by line commented source code available.
-
“Serious Scramblers” HTML5 prototype built with Phaser and TypeScript – Adding patrolling enemies
Add enemies capable of patrolling any platform in your HTML5 "Serious Scramblers" prototype, powered by Phaser and Arcade physics. 10 TypeScript files commented line by line available for free download.
-
Working with Phaser, TypeScript and webpack – step 3: TypeScript
3rd and last step of the tutorial series about game development with Phaser, TypeScript and webpack. Boring and scary theory explained in the easy way, with a real world example.