I followed this video : https://www.youtube.com/watch?v=21oxiO_WqVw to create a “Pause Menu” on my game.
So basically, to create it, I added a keyboard sensor on my main scene to add an overlay scene.
On the second (overlay) scene, I added a keyboard sensor to assign a property to 1 and when the property is equal to 1, it resumes the main scene and deletes the second (overlay) scene.
So what i wanted to ask you is :
- Why do the overlay scene suspends the main scene without a “scene suspend” actuator ? How can I avoid that (in case I want to do something different like an interface or anything else) ?
- Why do I need to add a property in the second scene ? Why doesn’t it work if I just link the “resume scene” and “delete scene” to a keyboard sensor ?
Thanks in advance !