Category: TypeScript
-
Build a game like C64 classic Trailblazer in Three.js using TypeScript, with a lot of room for customization
First step in the creation of a HTML5 Trailblazer game using Three.js and TypeScript. Track movement, fake shadow and controls. Commented source code available.
-
Simulate a keyboard input delay with Phaser (why on earth? You’ll see)
I found a way to add an input delay to Phaser input. Why would I want to do this? I'll talk about this later, in the meantime I'll show you how to do it. Powered by Phaser 4, written in TypeScript, packed with Vite. Commented source code available.
-
Create a HTML5 game like “Golf Dash” with Phaser and a TypeScript class with no dependencies – Compatible with Phaser 4 beta
Golf Dash is a fun Commodore 64 game which is the port of a HTML5 game. Now I am re-porting it to HTML5 with Phaser 4, TypeScript and Vite. First playable levels and source code available.
-
Develop, build and distribute your HTML5 Phaser games with Vite
Take you Phaser HTML5 game development to next level thanks to Vite, with this detailed step by step tutorial full of images and source code snippets.
-
HTML5 tile based platformer handling slopes powered by Phaser using no physics engines (and working with Phaser 4)
I built a HTML5 platformer featuring slopes in a few lines of code with no physics engines. Powered by Phaser and written in TypeScript. Full commented source code ready to be downloaded.
-
HTML5 “Vampire Survivors” prototype built with Phaser – Step 2: adding and collecting coins
"Vampire Survivors" HTML5 prototype built with Phaser gets an update: now you can collect coins dropped by killed monsters with the classic magnet effect. Full commented TypeScript source code available for free.
-
Quick HTML5 prototype of “Vampire Survivors” built with Phaser (like the original game)
Do you know you can build a working HTML5 prototype of "Vampire Survivors" in a couple of lines thanks to Phaser? Have a look at the TypeScript source code, commented and ready to be downloaded.
-
First Phaser 4 test, everything worked fine
I have beautiful, beautiful news for you! I installed Phaser 4 on a game developed with Phaser 3, and it works perfectly. I even added a blur effect, and everything ran smoothly. Full source code available.
-
HTML5 “Ballz” engine powered by Phaser and TypeScript – a better way to show ball trajectory
"Ballz" HTML5 prototype built with Phaser now will look better thanks to an improved trajectory system, using tweens rather than tilesprites. Full commented TypeScript project available to download.
-
HTML5 “Ballz” engine rewritten to feature double and quadruple blocks, powered by Phaser and written in TypeScript
Do you want to feature different block sizes in a HTML5 "Ballz" game? Look how I built the game engine using Phaser and Arcade Physics, written in TypeScrypt. Full source code available.
-
HTML5 prototype of a circular endless runner built with Phaser – final version in TypeScript with more optimization
The HTML5 circular endless runner game engine has been updated to latest Phaser version, rewritten in TypeScript and optimized. No physics engine, just trigonometry and geometry. Full commented source code available.
-
Build a HTML5 game like “Zuma” with Phaser and TypeScript – step 2: firing a gem and adding it to the chain
In this second step of HTML5 Zuma game creation using Phaser and TypeScript, I am going to show you how to fire gems and add them to the chain. Completely explained theory and commented source code for you to download.