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
Now it can fire the event to make a game object running on the scene.
What if I want to click on a Phaser's object and can interact with React's functions or DOM ?
The text was updated successfully, but these errors were encountered:
You can use a state management library like Redux, Zustand, etc that allows you to create store and change React states from anywhere in the client code.
Here's an example from my other project, where I had Redux stores set up and I can dispatch actions to change states within a Phaser scene.
Feel free to let me know if you have more questions!
Now it can fire the event to make a game object running on the scene.
What if I want to click on a Phaser's object and can interact with React's functions or DOM ?
The text was updated successfully, but these errors were encountered: