TypeScript
Articles about "TypeScript"
Create a State Machine for Character Logic in Typescript
Complex character logic can get out of hand quickly without a system to manage it. We'll want to add melee attacks, ranged attacks, double …
Firebase Leaderboard with Rex Plugins in Phaser 3
Are you looking to add more replayability to your game? Leaderboards are a long-standing feature of single-player games that give players a …
How to Make a Particle Trail Effect in Phaser 3
Does your game feel too static or not reactive enough? Do coins just disappear when the player collects them? A greater feeling of …
DOM Element Button in Phaser 3 with JSX and TypeScript
There is a vast ecosystem of beautifully styled and feature-packed CSS frameworks can be leveraged for UI in a Phaser game. In this article, …
Container Button in Phaser 3 with RxJS and TypeScript
It is common for buttons to have text in them. But like most GameObjects in Phaser, the basic button cannot have children. This means you …
Basic Button in Phaser 3 with RxJS and TypeScript
Phaser 3 is a fun and easy-to-use game framework but it does not come with buttons. This is no problem because making a button in Phaser is …
Object Pooling in Phaser 3 with Matter Physics
Odds are your game's objects will be moved or influenced by a physics engine. In this article we show you how to use Object Pools with …
Game Optimization with Object Pools in Phaser 3
This article builds upon Basic Object Pools in Phaser 3 with a dedicated class for reusability. It also looks at integration with the …
Game Optimization with Basic Object Pools in Phaser 3
Object Pools are a common optimization technique to ensure a smooth game experience. This article shows you how to easily accomplish that in …
Creating a Flashlight or Spotlight Effect in Phaser 3
Creating a spotlight or flashlight effect in Phaser 3 is fairly simple once you know how to use alpha masks. In this article we will show …
Reveal Effect in Phaser 3 with Alpha Masks
Alpha masks can be used to create many different kinds of effects including reveal or scratch-off effects. This article takes a look at how …
Simple Reveal or Scratch-Off Effect in Phaser 3
Object reveal or scratch-off effects are frequently used as mini-games or bonuses. This article looks at a fast and simple method to achieve …