I am having difficulties with stopping the game when all of the coins have been collected. I followed the example platformer code on the phaser website but no luck with that. Anyone could point me in the right direction?
Hello. Trying adding the phaser.js to your fiddle would be more convenient for others in helping you.
You can stop the scene by this.scene.stop(). That way you just do not need to disable any body physically or visibly, Phaser will tear down everything, I guess. Also there are pause and sleep with their corresponding functions. Former stops the update function and the latter stops both update and the render function of a scene.
Then you can restart the scene with new data, maybe increasing some difficulty related fields in a shared custom game settings object.