Load second game in fullscreen?

Hi,

I have a first game that went into fullscreen. Now it is finished and the display is still in fullscreen.

Can I now instantiate a second game and continue in fullscreen mode without collapsing and having the user re-click to enter fullscreen?

Thanks,
Shimon

Maybe, if the fullscreen container is the same for both games.

Why two games?

Yes, I tried having both games on the same container but I got a blank black screen on the second game.

Why two games? This is just the workflow we are trying to implement.

If you use something like

new Phaser.Game({ scale: { parent: 'parent', fullscreenTarget: 'parent' } });

in both games it might work.

Bingo! That did it. Thank you :pray: