anskotid

Members
  • Content count

    2
  • Joined

  • Last visited

  1. Using Phaser together with React

    I am trying to understand how I could use React for rendering all the UI elements and Phaser for rendering a game (using Canvas or WebGL) within the React application. One way would be to use React's componentDidMount, so after I have my HTML ready I can use a div id to render the Phaser content. But in this case React does the game rendering too. Is there any way to achieve the desired result?
  2. Many games in a game.

    I am developing a 2D HTML5 game using Phaser framework. My game has a path with some stations. When the main character reaches a station I want another mini-game to appear, let's say how it happens at Candy Crash. How can I do this?