[RESOLVED] [F8] forced restart of file?
Hi,
With the game that I'm working on, it starts on the main menu and then continues onto a different scene with the actual game contents. An on load event initializes the location of everything once this scene is loaded. Now, I didn't quite realize that when I switched scenes, all objects and variables would remain. What I want is to be able to switch back to the first scene, then the game scene and have everything initialized again.
So I'm trying to find out... is there a way to essentially restart the file without manually doing so? That is, control will shift to the first scene and it will be as if the file was just opened. I sort of doubt the existence of this sort of function and obviously haven't found it yet, although I've searched.
Hopefully that's clear enough. Thanks.