What I'm trying to do is make a simple basic options menu for my game. What I have instead is a options menu
in which the main buttons and menu show up on one another. For example, I want to click on the video button that is under the node options_menu which will hide node options_menu and show node control. What I have instead is both menus are overlapping and showing up on one another as seen in image 2. Which is not what I want.
I'm having trouble of getting past just the simple options for my game.

  1. As for my organization of files, what tips do you have for me?
  2. Is it okay with the way they are organized?
  3. Is there some kind of performance hit, I'm taking for not dumping most of them into the main folder?
  4. What source is recommend for learning these lessons? I found the documents to be confusing and without any examples.




As for line 38 of options_menu.gd, what is the correct code for giving players the option to setting the game to windowless display?

Link to the project folder since I can not upload it here
https://www.mediafire.com/file/dyk4izia8ac9q01/game_test_1.zip/file

I was following the example set by this Godot tutorial on creating my option menus

Hi,

I don't understand exactly what you want to achieve.

MainMenu -> User select Options -> Options screen -> user select Video -> video settings show up and other buttons in bg as in your screenshot
Now how user is supposed to click on buttons in bg if he wants to change from video to lets say volume settings if video settings are already covering screen?

Or current behavior is not desired one and you want it to act differently? Why not just put all options in some tab container or something like that, so user can easily switch between video/audio or any other settings?

8 days later

Watch the video and see how the guy has the menu done.

Question, what is the correct way to write the lines of code for a borderless window? I have an example of what is written in code but it does not work. The documentation should have examples of code for beginers to learn from.

func _on_check_box_2_toggled(button_pressed):
if button_pressed == true:
"DisplayServer.window_set_flag(DisplayServer.WINDOW_FLAG_BORDERLESS, [true/false])"

5 days later
func _on_check_box_2_toggled(button_pressed: bool) -> void:
        if button_pressed:
                DisplayServer.window_set_flag(DisplayServer.WINDOW_FLAG_BORDERLESS, true)

or if you want the function to toggle the flag on and off:

func _on_check_box_2_toggled(button_pressed: bool) -> void:
        DisplayServer.window_set_flag(DisplayServer.WINDOW_FLAG_BORDERLESS, button_pressed)