So i try to make the scene change by pressing ESCAPE, but every time i do playtesting on that, the game quits, is this a preview bug or somthing?
I’m guessing the game quits because you are using “Key is pressed” without Trigger Once, so the scene change occurs rapidly. Try adding that condition.
Otherwise, can you screenshot the events that are about changing the scene?
So it still quits itself?
The event looks correct, but I’ll ask other things:
-If it exists, is the scene name spelt correctly?
-Can you launch the Menu scene in editor preview normally?
If the Menu scene works normally when you preview it directly, I’m guessing there is also a “Escape is pressed” event on the menu that quits the game (you may put screenshot events of menu also).
You can try replacing it with another condition instead to avoid the double trigger.
i tried and it worked! thx!
1 Like