TypeScript

Articles about "TypeScript"

Firebase Leaderboard with Rex Plugins in Phaser 3


by on 9 minute read

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


by on 7 minute read

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


by on 5 minute read

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


by on 6 minute read

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


by updated 8 minute read

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


by on 7 minute read

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


by on 7 minute read

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


by on 6 minute read

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


by on 6 minute read

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


by on 7 minute read

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


by on 6 minute read

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 …

Use Google Fonts in Phaser 3 with Web Font Loader


by on 6 minute read

Phaser is a great HTML5 game framework but it does not handle loading web fonts from Google or Adobe Edge. In this article we show you how …