image

Tommy Leung from Ourcade writes: "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 simple. In this article we will show you how to make a button in Phaser using TypeScript and the power RxJS.

Buttons are commonly used in game menus and UI but they are not built into Phaser 3.

However, every GameObject in Phaser can be made interactive and respond to events like up, out, and over.

This means we can make a button pretty easily!

In this article, we will look at creating a basic button in Phaser that uses RxJS to dispatch click events."

Read More