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

Article by Patrick Sletvold. Posted on 8th May 2020.   @datapatrick

image

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