All Projects → tavurth → godot-radial-menu

tavurth / godot-radial-menu

Licence: MIT license
A radial menu for Godot, supports Mobile & Desktop

Programming Languages

GDScript
375 projects
GLSL
2045 projects

Projects that are alternatives of or similar to godot-radial-menu

Godot Gametemplate
Template with all necessary stuff taken care, just create your games main features.
Stars: ✭ 435 (+394.32%)
Mutual labels:  menu, godot
motion-trails
A simple motion trail renderer written in GDScript.
Stars: ✭ 52 (-40.91%)
Mutual labels:  godot
godot-ios-plugins
No description or website provided.
Stars: ✭ 53 (-39.77%)
Mutual labels:  godot
nativescript-menu
A plugin that adds a pop-up menu to NativeScript
Stars: ✭ 17 (-80.68%)
Mutual labels:  menu
Godot-Top-down-Shooter-Tutorial
This repository contains the source code for the Godot Top-down Shooter Tutorial series.
Stars: ✭ 41 (-53.41%)
Mutual labels:  godot
vue-nested-menu
A simple hands-on mobile nested menu UI component with a smooth slide animation
Stars: ✭ 34 (-61.36%)
Mutual labels:  menu
luban
你的最佳游戏配置解决方案 {excel, csv, xls, xlsx, json, bson, xml, yaml, lua, unity scriptableobject} => {json, bson, xml, lua, yaml, protobuf(pb), msgpack, flatbuffers, erlang, custom template} data + {c++, java, c#, go(golang), lua, javascript(js), typescript(ts), erlang, rust, gdscript, protobuf schema, flatbuffers schema, custom template} code。
Stars: ✭ 1,660 (+1786.36%)
Mutual labels:  godot
ContextMenuSwift
A better version of iOS 13 Context Menu
Stars: ✭ 162 (+84.09%)
Mutual labels:  menu
UnityCore
A collection of essential game systems for Unity 3D. These generic systems can be applied to any Unity project.
Stars: ✭ 105 (+19.32%)
Mutual labels:  menu
godot-sugar
Experimental post-processing toolkit for Godot
Stars: ✭ 37 (-57.95%)
Mutual labels:  godot
SideMenuSwiftDemo
SideMenu in Swift with autolayout
Stars: ✭ 79 (-10.23%)
Mutual labels:  menu
godot-video-rendering-demo
Demo project for high-quality offline video rendering with Godot
Stars: ✭ 69 (-21.59%)
Mutual labels:  godot
xMenuTools
Extended context menu tools for Windows
Stars: ✭ 56 (-36.36%)
Mutual labels:  menu
fishgame-godot
"Fish Game" for Godot is a 2-4 player online multiplayer game created as a demo of Nakama; an open-source scalable game server, using the Godot game engine.
Stars: ✭ 153 (+73.86%)
Mutual labels:  godot
godot-android-plugin-firebase
Godot 3.2.2 Android plugin for Firebase
Stars: ✭ 41 (-53.41%)
Mutual labels:  godot
Game-Examples
Godot game examples for gotm.io - the Godot Platform!
Stars: ✭ 27 (-69.32%)
Mutual labels:  godot
godot-shader-to-image
A simple tool to render Image from Shader with Godot (Tested on 3.2)
Stars: ✭ 30 (-65.91%)
Mutual labels:  godot
gamemaker-godot-dictionary
A dictionary for people moving from GM:S to Godot
Stars: ✭ 172 (+95.45%)
Mutual labels:  godot
AnimationMenu
Animation Menu like on Material Design way
Stars: ✭ 49 (-44.32%)
Mutual labels:  menu
vue3-context-menu
A very simple context menu component for Vue3 一个简洁美观简单的Vue3右键菜单组件
Stars: ✭ 74 (-15.91%)
Mutual labels:  menu

Table of Contents

  1. Godot Radial Menu
    1. Setup
    2. Supported signals
    3. Supported controls
      1. Center Node
      2. Width max
      3. Width min
      4. Cursor size
      5. Cursor deg
      6. Color BG
      7. Color FG
      8. Bevel Enabled
      9. Bevel Color
      10. Bevel Width
      11. Modulate Enabled
      12. Modulate Color
      13. Modulate Width

Godot Radial Menu

img img img img

I created this Radial Menu as an addon for a few of my projects.

The rendering of the menu is primarily done through shader code and so should be pretty performant.

radial-menu.mov

Setup

img

func _ready():
    $RadialMenu.connect("selected", self, "_on_selected")

func _input(event: InputEvent):
    if event is InputEventScreenTouch:
        $RadialMenu.set_visible(event.pressed)

func _on_selected(child: Node):
    prints("Child was selected:", child)

Supported signals

hovered(child) Emitted when a button or child is hovered

selected(child) Emitted when a button or child is selected

Supported controls

img

Center Node

set_center_node(Node)

Controls display in center of the spinner

Width max

set_width_max(Float)

  • Minimum: 0
  • Maximum: 1

The outside edge size of the spinner

Width min

set_width_min(Float)

  • Minimum: 0
  • Maximum: 1

The inside edge size of the spinner

Cursor size

set_cursor_size(Float)

  • Minimum: 0
  • Maximum: +ve PI

The size of the radial arc (blue portion)

Cursor deg

set_cursor_deg(Float)

  • Minimum: -ve PI
  • Maximum: +ve PI

The starting degree of the cursor (will update with mouse or touch events)

Color BG

set_color_bg(Color)

Background color of the radial (supports RGBA)

Color FG

set_color_fg(Color)

Foreground color of the radial (supports RGBA)

Bevel Enabled

set_bevel_enabled(bool)

Should a bevel be present on the edges of the modal

Bevel Color

set_bevel_color(Color)

What color should the bevel be (if present)

Bevel Width

set_bevel_width(float)

What should the width of the bevel be (if present)

Modulate enabled

set_modulate_enabled(bool)

If enabled, buttons will be automatically modulated to the colors selected when hovered and unhovered

Modulate hover

set_modulate_hover(Color)

Color modulation to be applied to each button (or control) when it's hovered. This is only applied i modulate_enabled is true

Modulate default

set_modulate_default(Color)

Color modulation to be applied to each button (or control) in it's default state. This is only applied i modulate_enabled is true

Support

Buy Me A Coffee

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].