Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(5 edits)

Hi. 

I have another issue i can't solve. Currently, with your help i can call a mini-game that is coded in a single JS file working with Phaser 2.

Then, i discussed with someone who knows Phaser 2 and Phaser 3, he told me that i can also call from RenJS, if i want, a mini game working with Phaser 3 (and others JS scripts), using 

window.open("/myPhaser3MiniGame-index.html", "_blank");
His words :

You're launching a separate html page with it own scripts (Phaser3 in this case). You will need preserve any information (perhaps in local storage?) when you return to RenJS.

First, when I've tried this in CustomeContent.JS, it opens the minigame on another tab, and Renjs tab remain blank.

Second, if this is possible, i have no idea how to "preserve information" user score etc "perhaps in local storage.

Any help is very much appreciated !  ^__^ ;