Doug Posted February 15, 2018 Share Posted February 15, 2018 Hi All I couldn't find a method to restart / reset a scene. Anyone know if there is one please? Or if there is a better way to do this. Thanks! Link to comment Share on other sites More sharing options...
fariazz Posted April 14, 2018 Share Posted April 14, 2018 this.scene.restart(); works in Phaser 3.4 Link to comment Share on other sites More sharing options...
safesound Posted August 20, 2018 Share Posted August 20, 2018 @fariazz is there a way to load this from another scene? phaser 3.11.0 Link to comment Share on other sites More sharing options...
prob Posted August 21, 2018 Share Posted August 21, 2018 Sure, you just need to reference the scene: var theOtherScene = this.scene.get('theOtherSceneBeingRestarted'); theOtherScene.scene.restart(); safesound and rudyardcatling 2 Link to comment Share on other sites More sharing options...
rudyardcatling Posted August 5, 2019 Share Posted August 5, 2019 just what the doctor prescribed ... there i was going this.scene.UIscene.restart(); and this.scene.restart('UIscene') but this.Uiscene.scene.restart() ... purrr fekt ... thanks!!! Link to comment Share on other sites More sharing options...
Recommended Posts