From 9a5b9e6601a7bce63389e6faedca0ab872de2bac Mon Sep 17 00:00:00 2001 From: The 64th Gamer <69170079+The64thGamer@users.noreply.github.com> Date: Tue, 8 Apr 2025 03:16:50 -0600 Subject: [PATCH] Added tooltips for all nodes, began record node --- Scenes/Node Types/Chica.tscn | 1 + Scenes/Node Types/ChicaSpot.tscn | 1 + Scenes/Node Types/Float.tscn | 1 + Scenes/Node Types/Keystroke Ramp.tscn | 1 + Scenes/Node Types/Keystrokes.tscn | 1 + Scenes/Node Types/Lerp.tscn | 1 + Scenes/Node Types/Mix Colors.tscn | 1 + Scenes/Node Types/Mouse Wheel.tscn | 1 + Scenes/Node Types/Random.tscn | 1 + Scenes/Node Types/Record.tscn | 17 +++++++++++++++++ Scenes/Node Types/Sine.tscn | 1 + Scripts/GL_Record.gd | 12 ++++++++++++ Scripts/GL_Record.gd.uid | 1 + Scripts/GL_Search.gd | 1 + 14 files changed, 41 insertions(+) create mode 100644 Scenes/Node Types/Record.tscn create mode 100644 Scripts/GL_Record.gd create mode 100644 Scripts/GL_Record.gd.uid diff --git a/Scenes/Node Types/Chica.tscn b/Scenes/Node Types/Chica.tscn index 8dabfe5..b85d350 100644 --- a/Scenes/Node Types/Chica.tscn +++ b/Scenes/Node Types/Chica.tscn @@ -10,6 +10,7 @@ mouse_filter = 1 [node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_6fnvm")] layout_mode = 0 +tooltip_text = "Controls Chica's movements. All eyelid movements can be set to a particular position using values of 0.0 to 1.0." script = ExtResource("2_6fnvm") identification = "AA_CHICA" names = PackedStringArray("Armature_001|Eyebrow L Down", "Armature_001|Eyebrow L Up", "Armature_001|Eyebrow R Down", "Armature_001|Eyebrow R Up", "Armature_001|Eyelid L", "Armature_001|Eyelid R", "Armature_001|Eyes Down", "Armature_001|Eyes Left", "Armature_001|Eyes Right", "Armature_001|Eyes Up", "Armature_001|Head Down", "Armature_001|Head L", "Armature_001|Head R", "Armature_001|Head Tilt L", "Armature_001|Head Tilt R", "Armature_001|Head Up", "Armature_001|Jaw", "Armature_001|Underlid L", "Armature_001|Underlid R") diff --git a/Scenes/Node Types/ChicaSpot.tscn b/Scenes/Node Types/ChicaSpot.tscn index 9d09220..ce853b8 100644 --- a/Scenes/Node Types/ChicaSpot.tscn +++ b/Scenes/Node Types/ChicaSpot.tscn @@ -10,6 +10,7 @@ mouse_filter = 1 [node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_vck43")] layout_mode = 0 +tooltip_text = "Controls the spotlight for Chica." script = ExtResource("2_1p1hk") identification = "L_SPOT_CHICA" names = PackedStringArray("intensity", "color", "size") diff --git a/Scenes/Node Types/Float.tscn b/Scenes/Node Types/Float.tscn index 2f8c641..ef0cc30 100644 --- a/Scenes/Node Types/Float.tscn +++ b/Scenes/Node Types/Float.tscn @@ -10,6 +10,7 @@ mouse_filter = 1 [node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_cnobp")] layout_mode = 0 +tooltip_text = "A float refers to any decimal number." script = ExtResource("2_cnobp") [connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"] diff --git a/Scenes/Node Types/Keystroke Ramp.tscn b/Scenes/Node Types/Keystroke Ramp.tscn index 9e76c54..912f508 100644 --- a/Scenes/Node Types/Keystroke Ramp.tscn +++ b/Scenes/Node Types/Keystroke Ramp.tscn @@ -10,6 +10,7 @@ mouse_filter = 1 [node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_lgcd0")] layout_mode = 0 +tooltip_text = "Changes a single float from 0.0 to 1.0 based on which of the number keys are pressed, if none are pressed it will default to 0.0. The 'Toggle' bool will keep the value the same as the last held key." script = ExtResource("2_lgcd0") [connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"] diff --git a/Scenes/Node Types/Keystrokes.tscn b/Scenes/Node Types/Keystrokes.tscn index d76b8ec..f8471af 100644 --- a/Scenes/Node Types/Keystrokes.tscn +++ b/Scenes/Node Types/Keystrokes.tscn @@ -10,6 +10,7 @@ mouse_filter = 1 [node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_ua37n")] layout_mode = 0 +tooltip_text = "Sets a bool for any of the number keys that are pressed." script = ExtResource("2_ua37n") [connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"] diff --git a/Scenes/Node Types/Lerp.tscn b/Scenes/Node Types/Lerp.tscn index 149e82b..853dfa9 100644 --- a/Scenes/Node Types/Lerp.tscn +++ b/Scenes/Node Types/Lerp.tscn @@ -10,6 +10,7 @@ mouse_filter = 1 [node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_pi2iu")] layout_mode = 0 +tooltip_text = "Smooths out a value as it changes. 'Speed' changes how fast it moves from the current value to the input into 'Value'" script = ExtResource("2_pi2iu") [connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"] diff --git a/Scenes/Node Types/Mix Colors.tscn b/Scenes/Node Types/Mix Colors.tscn index bef5d91..2fde7f7 100644 --- a/Scenes/Node Types/Mix Colors.tscn +++ b/Scenes/Node Types/Mix Colors.tscn @@ -10,6 +10,7 @@ mouse_filter = 1 [node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_4ojwp")] layout_mode = 0 +tooltip_text = "Mixes two colors together using the 'Factor', with 0.0 being fully Color A, and 1.0 being fully Color B." script = ExtResource("2_4ojwp") [connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"] diff --git a/Scenes/Node Types/Mouse Wheel.tscn b/Scenes/Node Types/Mouse Wheel.tscn index 892caa8..b909118 100644 --- a/Scenes/Node Types/Mouse Wheel.tscn +++ b/Scenes/Node Types/Mouse Wheel.tscn @@ -10,6 +10,7 @@ mouse_filter = 1 [node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_o85ib")] layout_mode = 0 +tooltip_text = "Outputs a number from 0.0 to 1.0 based on the mouse wheel scrolling. 'Step Size' changes how much the number iterates with each scroll." script = ExtResource("2_o85ib") [connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"] diff --git a/Scenes/Node Types/Random.tscn b/Scenes/Node Types/Random.tscn index be62959..0e78ba9 100644 --- a/Scenes/Node Types/Random.tscn +++ b/Scenes/Node Types/Random.tscn @@ -10,6 +10,7 @@ mouse_filter = 1 [node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_wswgt")] layout_mode = 0 +tooltip_text = "Outputs a random value from 0.0 to 1.0. 'Time' changes how long it takes to change number." script = ExtResource("2_wswgt") [connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"] diff --git a/Scenes/Node Types/Record.tscn b/Scenes/Node Types/Record.tscn new file mode 100644 index 0000000..ae5f15e --- /dev/null +++ b/Scenes/Node Types/Record.tscn @@ -0,0 +1,17 @@ +[gd_scene load_steps=3 format=3 uid="uid://dgxjl4lltri0j"] + +[ext_resource type="PackedScene" uid="uid://b0arjg8r75f8y" path="res://Scenes/Nodes/Node.tscn" id="1_ltih5"] +[ext_resource type="Script" uid="uid://cwnen4mit8x6n" path="res://Scripts/GL_Record.gd" id="2_ltih5"] + +[node name="Node" type="Control"] +layout_mode = 3 +anchors_preset = 0 +mouse_filter = 1 + +[node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_ltih5")] +layout_mode = 0 +tooltip_text = "When 'Recording' is set to ON, it records inputs and saves them with the time from 'Current Time'. Going back in time will play back those inputs along with any you send in. Rows can be added and named based on how you want them identified." +script = ExtResource("2_ltih5") + +[connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"] +[connection signal="mouse_exited" from="Node" to="Node" method="mouse_exit"] diff --git a/Scenes/Node Types/Sine.tscn b/Scenes/Node Types/Sine.tscn index 1627d5c..28d2c67 100644 --- a/Scenes/Node Types/Sine.tscn +++ b/Scenes/Node Types/Sine.tscn @@ -10,6 +10,7 @@ mouse_filter = 1 [node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_m6pki")] layout_mode = 0 +tooltip_text = "Outputs a sin wave from 0.0 to 1.0. 'Length' changes how long it takes for the sin to loop." script = ExtResource("2_claki") [connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"] diff --git a/Scripts/GL_Record.gd b/Scripts/GL_Record.gd new file mode 100644 index 0000000..3858c7b --- /dev/null +++ b/Scripts/GL_Record.gd @@ -0,0 +1,12 @@ +extends GL_Node + +func _ready(): + _set_title("Record") + _create_row("Recording",false,null,true,false,0) + _create_row("Current Time",0.0,null,false,0,0) + pass + +func _process(delta): + super._process(delta) + #rows["Output"]["output"] = rows["Output"]["pickValue"] + #_send_input("Output") diff --git a/Scripts/GL_Record.gd.uid b/Scripts/GL_Record.gd.uid new file mode 100644 index 0000000..641476c --- /dev/null +++ b/Scripts/GL_Record.gd.uid @@ -0,0 +1 @@ +uid://cwnen4mit8x6n diff --git a/Scripts/GL_Search.gd b/Scripts/GL_Search.gd index 94ed4d1..b669838 100644 --- a/Scripts/GL_Search.gd +++ b/Scripts/GL_Search.gd @@ -11,6 +11,7 @@ var rows : Dictionary = { "Mix Colors":1, "Lerp":1, "Mouse Wheel":1, + "Record":1, } var searching : bool var lastMousePos : Vector2