Phaser 3

Articles about "Phaser 3"

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 …

State Pattern for Changing AI and Player Control in Phaser 3


by on 10 minute read

Are you wondering about code structure and best practices? You've probably come across design patterns but which design patterns and for …

A Noob's Guide to Loading Tiled Tilemaps in Phaser 3


by on 7 minute read

Are you trying to use tilemaps created with Tiled in your Phaser 3 game? If other tutorials haven't quite worked for you then this guide for …

How to Let Players Choose a Character in Phaser 3


by on 6 minute read

Are you making a game that allows the player to choose their character? Something like an adventure or role-playing game with different …

Field of View for a Roguelike or Dungeon Crawler in Phaser 3


by on 7 minute read

Are you are making a roguelike or dungeon crawler? Do you want the player to only see what is visible based on where they are standing? Then …

Detect Overlap Between Selection Box and Sprites in Phaser 3


by on 6 minute read

Are you building an RTS game where you can select multiple units by dragging a selection box over them? If you are having trouble with …

Simple Fog of War Effect for a Phaser 3 Roguelike


by on 5 minute read

You'll want the right atmosphere if you are making a roguelike or dungeon crawler. We'll show you how to create a fog of war effect that …

How to Communicate Between Scenes in Phaser 3


by updated 4 minute read

Are using modern JavaScript and splitting your Phaser 3 game code into multiple files? One common best practice is to put the UI code in a …

How to Make Enemy Sprite Track the Player in Phaser 3


by on 4 minute read

Are you making a top-down game where enemies or opponents should track or keep their eye on the player? In this article, we will show you …

Use Spine with Arcade Physics in Phaser 3


by on 5 minute read

If you've tried adding Arcade Physics to a complex Spine animation like the SpineBoy example then you probably ran into problems with the …

Organize Phaser 3 Code with Custom GameObjectFactory Methods


by updated 5 minute read

Have you made a few simple games in Phaser and are starting to use modern JavaScript classes? This article will show you how to organize …

How To Fire Bullets from Facing Direction in Phaser 3


by on 4 minute read

Figuring out how to shoot bullets from any angle a character is facing can be challenging. Luckily, Phaser has built-in functions for this …