Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Basic Menu

An asset by kraasch
The page banner background of a mountain and forest
Basic Menu hero image

Quick Information

0 ratings
Basic Menu icon image
kraasch
Basic Menu

This is a basic menu for Godot 4.1 which can be used in two modes.Embed Mode: When cards_container is set. Permanently look for input and disable overlay toggle.Overlay Mode: When no cards_container is set. Look for input, when overlay is toggled.

Supported Engine Version
4.1
Version String
1.0.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

BASIC MENU

This is a basic menu for godot which can be used in two modes, it expects four basic keys for menu interaction to be set (custom_cancel, custom_confirm, custom_left, custom_right).

NOTE: If no cards_container is set the menu is in Overlay Mode and adds the cards to its own container. Otherwise the menu is in EmbedMode and uses the the cards_container to add the MenuCards. The OverlayMenu is intended to be either used in Overlay Mode or in Embed Mode, but not mixed.

  • Embed Mode: When cards_container is set. Permanently look for input and disable overlay toggle.
  • Overlay Mode: When no cards_container is set. Look for input, when overlay is toggled.

Examples

The example code shows how to use three basic menus in your project. Two of these menus are in Overlay mode and one is Embedded in the main menu.tscn. To start the example, start with the intro.tscn

TODOs

  • pause parent automatically.
  • default texture for menus.
  • include keybinding presets (custom_cancel, -confirm, -left, -right).

This is a basic menu for Godot 4.1 which can be used in two modes.

Embed Mode: When cards_container is set. Permanently look for input and disable overlay toggle.

Overlay Mode: When no cards_container is set. Look for input, when overlay is toggled.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Basic Menu icon image
kraasch
Basic Menu

This is a basic menu for Godot 4.1 which can be used in two modes.Embed Mode: When cards_container is set. Permanently look for input and disable overlay toggle.Overlay Mode: When no cards_container is set. Look for input, when overlay is toggled.

Supported Engine Version
4.1
Version String
1.0.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers