What are the options for a GUI?

I’m looking for options to create a GUI in my game, so far all I’ve found are:

  • Using HTML + CSS directly and overlaying them over the canvas (Any tutorials on how to do this properly?)
  • RexUI - which seems nice, but I haven’t seen many/any finished products.

Are there other options? Could someone expand on HTML+CSS, or share finished examples that use RexUI?

Vampire Survivors uses rexui.

2 Likes

I’m using ReactJS implemented through a package called ion-phaser react.

Kind of a pain to implement, but it works well after the initial setup :slight_smile:

I’m using MobX also as a state manager to bridge Phaser and React communication