Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(3 edits)

it is amazing! Thank you  lunafromthemoon. I love your code.

I'm sorry I didn't see it earlier, though I couldn't have done it. hahaha.

The method I used before is: when the plot is over, I start a phaser game, like this

   game.state.start("startGame",true);

Then re-initialize the story system when the game is over.

This made my project module clear, but I also spent days researching the source code for RenJS.

Now the RenJS in my project has been messed up by me. hahaha

(+1)

Thanks! I tried to keep the code clean so anyone could make they own modifications. If your method works then it's good, I thought about this other way because changing the states could bring unexpected bugs.