Use React inside of Phaser 3 (with TypeScript) example

#1

Quick example on how to use React in Phaser 3

Feature

  • Send events between Phaser and React
  • Access Phaser scene inside any React component
  • Scales with Phaser’s ScaleManger

Bug (solved)

  • [SOVLED in #1361] When the Keyboard in open on a mobile phone, the Game resizes
  • [SOVLED in #1656] Don’t know how to make something similar to this “this.input.setTopOnly(true)” work
1 Like
Vue + Phaser 3 and Html tags for UI
Click on div under phaser object
How do I play online with react js + phaser 3 + socket.io?