Featured

Articles about "Featured"

Create a State Machine for Character Logic in Typescript


by on 9 minute read

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 …

How to Create a Fast Loading Animation in Phaser 3


by on 6 minute read

If you are making asynchronous requests that can take several seconds to resolve then you'll want to have a loading animation. Players move …

Fix Stretched Image Distortions in Phaser 3 with 9-Slice Scaling


by on 5 minute read

Are you having image distortion problems when scaling to make a button or panel graphic bigger? Multiple versions of the same button asset …

Command Pattern to Undo Player Actions


by on 15 minute read

Are you looking for a clean and reusable way to implement undo for player actions? Perhaps you are making a turn-based strategy game or a …

State Pattern for Character Movement in Phaser 3


by on 7 minute read

Writing clean and well-organized code is something all game developers aspire to. We want code to be reusable and easy to maintain. Design …

Point & Click Movement with Pathfinding using Tilemaps in Phaser 3


by on 11 minute read

Are you are making an action-RPG, RTS, dungeon crawler, or similar type of game using tilemaps in Phaser 3 and want characters to move to …

Moving Platforms with Matter Physics in Phaser 3


by on 5 minute read

Are you working on a side-scrolling platformer in Phaser 3 using Matter Physics and having trouble with moving platforms? Matter has some …