Add Pizazz with Parallax Scrolling in Phaser 3
by on 6 minute read

Are you looking to create a sense of depth or add a more immersive and believable experience to a 2D game? You may have heard of parallax scrolling. In this article, we go over implementing the technique!

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 liveliness would be beneficial and particles are a great way to add it! In this article, we will look at using a particle trail.

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 what use cases? In this article, we will look at applying the State Pattern to allow switching AI or player control for paddles in a Pong game.

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 noobs might be what you are looking 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 character classes? We'll show you how to load character atlases dynamically from player selection in this article.

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 you need a field of view algorithm. We'll show you one in this article!

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 getting selection to work then this article is for you!

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 makes visible just the area around the player in this article.

How to Communicate Between Scenes in Phaser 3
by on 4 minute read updated on

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 separate Scene. But then how do update the UI with health or score information? We'll show you in this article.

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 how to do that using the player's position and the enemy's position.

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 bounding box, inverting scaleX, and more. It can all be solved!

Organize Phaser 3 Code with Custom GameObjectFactory Methods
by on 5 minute read updated on

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 code with classes while keeping code in a readable Phaser style.