A demo of an online chat room built using Phaser, rexUI and Firebase.

Posted on 8th May 2020. Follow @phaser_ and get the Phaser World newsletter.


Rexrainbow has created an assortment of UI plugins for Phaser 3. To show the power of rexUI combined with Firebase, they created this demo of a online chat room similar to one you might see in a multiplayer game. Rex describes it the following way:

firebase + rexUI: Chat

  • Click left name to edit it
  • Click middle message to input message
  • Click right 'Send' button to send message
  • Name and message could be bbcode text, i.e. [color=yellow]Rex[/color]
  • Message won't be saved in firebase server, user only can see last sent messages.
  • Add user list to show current online users.

Read More

Learn to code and lead your intrepid crew on a mission to save The Cloud in TwilioQuest, a PC role-playing game inspired by classics of the 16-bit era. Free forever, and available now for Windows, Mac, and Linux.

The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
  • By Emanuele Feronato
  • 155 Pages
  • 28 Source Code Examples
  • Build a complete game from start to finish
  • Cross Platform
  • Scaling for devices
Buy Now