xicombd Posted January 28, 2014 Share Posted January 28, 2014 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! Raicuparta and Biggerplay 2 Link to comment Share on other sites More sharing options...
rich Posted January 28, 2014 Share Posted January 28, 2014 Hmm you could achieve this with a RenderTexture, but it would be quite an effort, it's honestly probably best to remain with Pixi natively for a game that needs this right now, until we support multiple cameras (then it would be trivial). xicombd 1 Link to comment Share on other sites More sharing options...
Nambiar Posted January 29, 2014 Share Posted January 29, 2014 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 More sharing options...
Recommended Posts