Adding a Toast Message in Phaser

A toast message is a text message that fades in and out. It is named a toast message because it is similar to someone raising a glass, making a toast and then lowering the glass again. It gets your attention without interrupting the experience.

Here is an example

The Code

Source Code

Leave a Reply

Your email address will not be published. Required fields are marked *