All Questions

Community

M
Spout Morin

My pause menu does not interact

When I press esc, the UserInterface scene shows up and the game pauses normally. But event if I change the Pause setting on my UserInterface scene too Process, the menu is still non responsive. Even the button doesn’t react to the mouse hover while all my other menus works normally. I review all my pause scripts and they seems ok, same thing for the inspector settings of the UserInterface and the buttons... any idea?
  • Glad to hear you could solve this :)

  • M
    Spout Morin

    Wow! it was complicated, but I found it. I had to remove one by one every node in the scene to see what was the problem. I found that it was related to the portal. After further experimentation, it seems that my START animation on the portal was not set to Autostart and it makes the button unusable for some reason.

    I guess we learn from our mistakes... and I have a lot to learn...


    tks for your quick response!

  • M
    Spout Morin

    Hi,

    Do the buttons and all nodes that are part of the UserInterface branch have the pause process set to inherit?

    All nodes are set to inherit except the first control node (UserInterface) set to process.

    Also, when you say the menu isn't responsive, can you still press the buttons? If you can, the problem may not have to do with the buttons themselves.

    No, I can't press them. The MoverOver and MouseClic default animation don't work. But they do work if A play the UserInterface scene by itself. Only when I play the game and press esc, the pause screen shows up but I can't press any buttons.

    With some tests, I found that, even if I put a random button in level01 or level02 scene, it never works. But If a create a test scene with a root Node2d and a random button, it works. So it has to do with something in my level scenes... But I can't find what it is...

    I'll try to redo past video again to see if I missed something.


  • Do the buttons and all nodes that are part of the UserInterface branch have the pause process set to inherit?

    Also, when you say the menu isn't responsive, can you still press the buttons? If you can, the problem may not have to do with the buttons themselves.