StreamOverlay/UI/floating_menu.tscn
Mario Steele 5f8df9bf7b Updated FloatingMenu
Added Testing parameters for Alerts, so we can test alerts being used.
Added Camera variable @onready fetch.
Added OBS and VTuber Process ID, Camera and VTuber Scene ID.
Connected signal to get Scene ID's when we connect to OBS.
Added event handlers for Step Array (Testing Alerts), VTuber launcher,
and Camera toggle to switch between VTuber and Camera.
2026-03-02 02:14:07 -06:00

256 lines
9 KiB
Text

[gd_scene format=3 uid="uid://bndydwe6rrb6p"]
[ext_resource type="Script" uid="uid://cj6hogd55ju8g" path="res://UI/floating_menu.gd" id="1_eeo1l"]
[ext_resource type="Theme" uid="uid://b40wl3ulr08bk" path="res://UI/assets/custom_themes/floating_menu.tres" id="1_qghrq"]
[ext_resource type="Texture2D" uid="uid://bdil2rqv4x61g" path="res://UI/assets/godot.png" id="2_6cwdq"]
[ext_resource type="Texture2D" uid="uid://ds4f25alxa2ts" path="res://UI/assets/bootstrap/record2-fill.png" id="4_o0p5c"]
[ext_resource type="Texture2D" uid="uid://y855ko8d05b2" path="res://UI/assets/font_awesome/microphone-lines.svg" id="5_ttodq"]
[ext_resource type="Texture2D" uid="uid://6d7nud03gpul" path="res://UI/assets/pixelate.png" id="6_6cwdq"]
[ext_resource type="Texture2D" uid="uid://sabs3odgmwr8" path="res://UI/assets/font_awesome/firefox-browser.svg" id="7_o0p5c"]
[ext_resource type="Texture2D" uid="uid://drvtl6m84uqgv" path="res://UI/assets/simple/obsstudio.svg" id="8_k8nf3"]
[ext_resource type="Script" uid="uid://8715vyt7prmd" path="res://lib/UI/GDSubMenuButton.gd" id="8_ttodq"]
[ext_resource type="Texture2D" uid="uid://d2i8l1wlbp3on" path="res://UI/assets/font_awesome/person-running.svg" id="10_liuj8"]
[ext_resource type="Texture2D" uid="uid://c4k4skgijfubi" path="res://UI/assets/font_awesome/stopwatch.svg" id="11_ohje3"]
[ext_resource type="Texture2D" uid="uid://bw4n42uub1rlj" path="res://UI/assets/bootstrap/person-bounding-box.png" id="12_05x4r"]
[ext_resource type="Texture2D" uid="uid://2fmj2y31d8gh" path="res://UI/assets/bootstrap/chat-fill.svg" id="13_2lv5e"]
[ext_resource type="Texture2D" uid="uid://cnwnao243j1jb" path="res://UI/assets/font_awesome/camera.svg" id="13_64x86"]
[ext_resource type="Texture2D" uid="uid://byn16ueoaws0c" path="res://UI/assets/font_awesome/users-rectangle.svg" id="14_64x86"]
[ext_resource type="Texture2D" uid="uid://d1nwblkrn087m" path="res://UI/assets/simple/purescript.svg" id="15_i4a5v"]
[ext_resource type="Texture2D" uid="uid://cjkwqaf31p1w0" path="res://UI/assets/font_awesome/gear.svg" id="15_ud5hd"]
[ext_resource type="Texture2D" uid="uid://d4httqv81w0nn" path="res://UI/assets/font_awesome/circle-xmark.svg" id="16_i4a5v"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_o0p5c"]
bg_color = Color(0.08627451, 0.078431375, 0.078431375, 0.5058824)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.015686275, 0.63529414, 0.39607844, 1)
border_blend = true
corner_radius_top_left = 32
corner_radius_top_right = 32
corner_radius_bottom_right = 32
corner_radius_bottom_left = 32
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ttodq"]
bg_color = Color(0.0850918, 0.0792672, 0.0792826, 0.505882)
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color(1, 1, 1, 1)
border_blend = true
corner_radius_top_left = 32
corner_radius_top_right = 32
corner_radius_bottom_right = 32
corner_radius_bottom_left = 32
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_yr1rr"]
bg_color = Color(0.14901961, 0.05490196, 0.07450981, 0.9137255)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0.015686275, 0.63529414, 0.39607844, 1)
border_blend = true
corner_radius_top_left = 32
corner_radius_top_right = 32
corner_radius_bottom_right = 32
corner_radius_bottom_left = 32
[node name="FloatingMenu" type="Button" unique_id=56646671]
custom_minimum_size = Vector2(64, 64)
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -64.0
offset_top = 94.0
offset_bottom = 158.0
grow_horizontal = 0
theme = ExtResource("1_qghrq")
theme_override_colors/font_color = Color(1, 1, 1, 0.36862746)
theme_override_colors/icon_normal_color = Color(1, 1, 1, 0.36862746)
theme_override_colors/icon_hover_color = Color(1, 1, 1, 0.74509805)
theme_override_colors/icon_hover_pressed_color = Color(1, 0.627451, 0.47843137, 1)
theme_override_styles/normal = SubResource("StyleBoxFlat_o0p5c")
theme_override_styles/pressed = SubResource("StyleBoxFlat_ttodq")
theme_override_styles/hover = SubResource("StyleBoxFlat_yr1rr")
icon = ExtResource("2_6cwdq")
icon_alignment = 1
expand_icon = true
script = ExtResource("1_eeo1l")
expand_on_hover = false
fold_on_child_button_pressed = false
is_radial = true
anim_delay = 0.02
metadata/_custom_type_script = "uid://8715vyt7prmd"
[node name="indicators" type="Control" parent="." unique_id=248790108]
unique_name_in_owner = true
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
mouse_filter = 2
[node name="ind_stream" type="TextureRect" parent="indicators" unique_id=1864576166]
unique_name_in_owner = true
custom_minimum_size = Vector2(16, 16)
layout_mode = 0
offset_top = 48.0
offset_right = 16.0
offset_bottom = 64.0
mouse_filter = 2
texture = ExtResource("4_o0p5c")
expand_mode = 1
stretch_mode = 5
[node name="ind_mic" type="TextureRect" parent="indicators" unique_id=284184449]
unique_name_in_owner = true
custom_minimum_size = Vector2(16, 16)
layout_mode = 0
offset_left = 16.0
offset_top = 48.0
offset_right = 32.0
offset_bottom = 64.0
mouse_filter = 2
texture = ExtResource("5_ttodq")
expand_mode = 1
stretch_mode = 5
[node name="ind_pixelate" type="TextureRect" parent="indicators" unique_id=2102377562]
unique_name_in_owner = true
custom_minimum_size = Vector2(16, 16)
layout_mode = 0
offset_left = 32.0
offset_top = 48.0
offset_right = 48.0
offset_bottom = 64.0
mouse_filter = 2
texture = ExtResource("6_6cwdq")
expand_mode = 1
stretch_mode = 5
[node name="ind_browser" type="TextureRect" parent="indicators" unique_id=79342793]
unique_name_in_owner = true
custom_minimum_size = Vector2(16, 16)
layout_mode = 0
offset_left = 48.0
offset_top = 48.0
offset_right = 64.0
offset_bottom = 64.0
mouse_filter = 2
texture = ExtResource("7_o0p5c")
expand_mode = 1
stretch_mode = 5
[node name="btn_obs" type="Button" parent="." unique_id=1315951603]
unique_name_in_owner = true
visible = false
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
tooltip_text = "OBS"
icon = ExtResource("8_k8nf3")
script = ExtResource("8_ttodq")
fold_on_child_button_pressed = false
metadata/_custom_type_script = "uid://8715vyt7prmd"
[node name="btn_run_obs" type="Button" parent="btn_obs" unique_id=1012049771]
unique_name_in_owner = true
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
tooltip_text = "Run OBS"
icon = ExtResource("10_liuj8")
script = ExtResource("8_ttodq")
fold_on_child_button_pressed = false
metadata/_custom_type_script = "uid://8715vyt7prmd"
[node name="btn_step_away" type="Button" parent="btn_obs" unique_id=1452458544]
unique_name_in_owner = true
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
tooltip_text = "BRB Screen"
icon = ExtResource("11_ohje3")
script = ExtResource("8_ttodq")
fold_on_child_button_pressed = false
metadata/_custom_type_script = "uid://8715vyt7prmd"
[node name="btn_tuber" type="Button" parent="btn_obs" unique_id=118706136]
unique_name_in_owner = true
layout_mode = 0
offset_right = 66.0
offset_bottom = 66.0
tooltip_text = "Launch VTuber"
icon = ExtResource("12_05x4r")
script = ExtResource("8_ttodq")
fold_on_child_button_pressed = false
metadata/_custom_type_script = "uid://8715vyt7prmd"
[node name="btn_camera" type="Button" parent="btn_obs" unique_id=1965662343]
unique_name_in_owner = true
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
tooltip_text = "Toggle Camera"
icon = ExtResource("13_64x86")
script = ExtResource("8_ttodq")
fold_on_child_button_pressed = false
metadata/_custom_type_script = "uid://8715vyt7prmd"
[node name="btn_chat" type="Button" parent="." unique_id=1509888398]
unique_name_in_owner = true
visible = false
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
tooltip_text = "Twitch Chat"
icon = ExtResource("13_2lv5e")
script = ExtResource("8_ttodq")
metadata/_custom_type_script = "uid://8715vyt7prmd"
[node name="btn_user_list" type="Button" parent="." unique_id=655134427]
unique_name_in_owner = true
visible = false
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
tooltip_text = "User List"
icon = ExtResource("14_64x86")
script = ExtResource("8_ttodq")
metadata/_custom_type_script = "uid://8715vyt7prmd"
[node name="btn_settings" type="Button" parent="." unique_id=992431192]
unique_name_in_owner = true
visible = false
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
tooltip_text = "Settings"
icon = ExtResource("15_ud5hd")
script = ExtResource("8_ttodq")
metadata/_custom_type_script = "uid://8715vyt7prmd"
[node name="btn_script_editor" type="Button" parent="btn_settings" unique_id=1321927447]
unique_name_in_owner = true
visible = false
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
tooltip_text = "Script Editor"
icon = ExtResource("15_i4a5v")
script = ExtResource("8_ttodq")
metadata/_custom_type_script = "uid://8715vyt7prmd"
[node name="btn_end" type="Button" parent="." unique_id=59540475]
unique_name_in_owner = true
visible = false
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
tooltip_text = "Quit Overlay"
icon = ExtResource("16_i4a5v")
script = ExtResource("8_ttodq")
fold_on_child_button_pressed = false
metadata/_custom_type_script = "uid://8715vyt7prmd"