You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm having issues getting this to work with my setup which uses a custom class that extends Phaser.Game (necessary as there's data that needs to be passed into the game and its scenes from React). I noticed that the game is initialized by instantiating a new Phaser.Game directly, but can't find a way to customize this. I'm also a bit confused as to the purpose of the instance prop on the GameInstance type, as instantiating the game externally doesn't allow for the necessary ref to be passed into the game. Is there any way I might be able to get around this?
Thank you so much!
The text was updated successfully, but these errors were encountered:
Hi! I'm having issues getting this to work with my setup which uses a custom class that extends
Phaser.Game
(necessary as there's data that needs to be passed into the game and its scenes from React). I noticed that the game is initialized by instantiating anew Phaser.Game
directly, but can't find a way to customize this. I'm also a bit confused as to the purpose of theinstance
prop on theGameInstance
type, as instantiating the game externally doesn't allow for the necessary ref to be passed into the game. Is there any way I might be able to get around this?Thank you so much!
The text was updated successfully, but these errors were encountered: