Jump to content

Multiple Screens in single game?


xicombd
 Share

Recommended Posts

Hey everyone!

 

We've done this simple game prototype with Pixi, in which we create a PIXI.Stage for each Frame/Screen: 

http://xicombd.github.io/split/ (Hit space to create a new Frame)

 

How can we do this with phaser? 

 

To clarify:

 - The player is shown on each screen and controlled simultaneously everywhere;

 - Each screen would have different tiled maps;

 - We need to be able to create and remove screens during the game;

 

 

Thank you!

Link to comment
Share on other sites

Wouldn't creation of a new div element with a similar canvas and all objects inside arrays for all the canvases (to update them with a single update function and add as many elements for new stages) also work? Its a hack but would do the job, wouldn't it?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...