0.3 and 0.4 changes
This commit is contained in:
parent
9c764b1271
commit
e3270b14cd
29 changed files with 731 additions and 191 deletions
17
Scenes/Node Types/Audio.tscn
Normal file
17
Scenes/Node Types/Audio.tscn
Normal file
|
@ -0,0 +1,17 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://lossothjt5ye"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b0arjg8r75f8y" path="res://Scenes/Nodes/Node.tscn" id="1_db1pk"]
|
||||
[ext_resource type="Script" uid="uid://bmukxrwmoyc20" path="res://Scripts/GL_Audio.gd" id="2_db1pk"]
|
||||
|
||||
[node name="Node" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_db1pk")]
|
||||
layout_mode = 0
|
||||
tooltip_text = "Outputs the path to an audio source saved in the workspace. Does not output live audio- playback on nodes this is plugged into must be handled by a Timeline node or similar."
|
||||
script = ExtResource("2_db1pk")
|
||||
|
||||
[connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"]
|
||||
[connection signal="mouse_exited" from="Node" to="Node" method="mouse_exit"]
|
20
Scenes/Node Types/Direct Output.tscn
Normal file
20
Scenes/Node Types/Direct Output.tscn
Normal file
|
@ -0,0 +1,20 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://b03x861ratqbj"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b0arjg8r75f8y" path="res://Scenes/Nodes/Node.tscn" id="1_uifvy"]
|
||||
[ext_resource type="Script" uid="uid://t8bsiegtsiwo" path="res://Scripts/GL_Output.gd" id="2_nkf8v"]
|
||||
|
||||
[node name="Node" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_uifvy")]
|
||||
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_nkf8v")
|
||||
identification = "DIRECT_OUTPUT"
|
||||
names = PackedStringArray("Audio", "Volume", "Current Time")
|
||||
types = PackedStringArray("audio", "float", "float")
|
||||
|
||||
[connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"]
|
||||
[connection signal="mouse_exited" from="Node" to="Node" method="mouse_exit"]
|
17
Scenes/Node Types/Mix Floats.tscn
Normal file
17
Scenes/Node Types/Mix Floats.tscn
Normal file
|
@ -0,0 +1,17 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://b83i85vl6gd01"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b0arjg8r75f8y" path="res://Scenes/Nodes/Node.tscn" id="1_njggm"]
|
||||
[ext_resource type="Script" uid="uid://beit3xudynjdl" path="res://Scripts/GL_Mix_Floats.gd" id="2_njggm"]
|
||||
|
||||
[node name="Node" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="Node" parent="." groups=["GL Node"] instance=ExtResource("1_njggm")]
|
||||
layout_mode = 0
|
||||
tooltip_text = "Mixes two floats (numbers) together using the 'Factor', with 0.0 being fully Float A, and 1.0 being fully Float B."
|
||||
script = ExtResource("2_njggm")
|
||||
|
||||
[connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"]
|
||||
[connection signal="mouse_exited" from="Node" to="Node" method="mouse_exit"]
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://bhkp4bfwm1agf"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://d2da0nd32yqo7"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b0arjg8r75f8y" path="res://Scenes/Nodes/Node.tscn" id="1_o85ib"]
|
||||
[ext_resource type="Script" uid="uid://y8j8wap2o4oe" path="res://Scripts/GL_Mouse_Wheel.gd" id="2_o85ib"]
|
||||
|
|
|
@ -7,13 +7,15 @@ offset_right = 68.0
|
|||
offset_bottom = 31.0
|
||||
selected = 0
|
||||
allow_reselect = true
|
||||
item_count = 3
|
||||
item_count = 4
|
||||
popup/item_0/text = "+Add Float"
|
||||
popup/item_0/id = 0
|
||||
popup/item_1/text = "+Add Bool"
|
||||
popup/item_1/id = 1
|
||||
popup/item_2/text = "+Add Color"
|
||||
popup/item_2/id = 2
|
||||
popup/item_3/text = "+Add Audio"
|
||||
popup/item_3/id = 3
|
||||
script = ExtResource("1_vw1dw")
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="."]
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://bdcxusbd86oox"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://bdcxusbd86oox"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dwl36vn5chqmq" path="res://Scripts/GL_Node_Point.gd" id="1_fygh4"]
|
||||
[ext_resource type="Script" uid="uid://q5qlhwvjb16w" path="res://Scripts/GL_Node_Picker_Float.gd" id="2_vlx6y"]
|
||||
[ext_resource type="Script" uid="uid://dflftb37a7ind" path="res://Scripts/GL_Node_Picker_Color.gd" id="3_tf34m"]
|
||||
[ext_resource type="Script" uid="uid://b7ysqwtxh8pf" path="res://Scripts/GL_Node_Picker_Bool.gd" id="4_yal7b"]
|
||||
[ext_resource type="Script" uid="uid://rmlqvxot3kys" path="res://Scripts/GL_Node_Picker_Audio.gd" id="5_yal7b"]
|
||||
|
||||
[node name="Node Row" type="HBoxContainer"]
|
||||
|
||||
|
@ -41,6 +42,30 @@ custom_minimum_size = Vector2(50, 0)
|
|||
layout_mode = 2
|
||||
script = ExtResource("4_yal7b")
|
||||
|
||||
[node name="Pick Audio" type="PanelContainer" parent="."]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
script = ExtResource("5_yal7b")
|
||||
|
||||
[node name="HBox" type="HBoxContainer" parent="Pick Audio"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="OptionButton" type="OptionButton" parent="Pick Audio/HBox"]
|
||||
layout_mode = 2
|
||||
allow_reselect = true
|
||||
|
||||
[node name="Button" type="Button" parent="Pick Audio/HBox"]
|
||||
layout_mode = 2
|
||||
text = "🗀"
|
||||
|
||||
[node name="FileDialog" type="FileDialog" parent="Pick Audio"]
|
||||
title = "Open a File"
|
||||
initial_position = 1
|
||||
size = Vector2i(960, 480)
|
||||
ok_button_text = "Open"
|
||||
file_mode = 0
|
||||
access = 2
|
||||
|
||||
[node name="Output" type="Button" parent="." groups=["Outputs"]]
|
||||
layout_mode = 2
|
||||
mouse_default_cursor_shape = 2
|
||||
|
@ -53,4 +78,6 @@ script = ExtResource("1_fygh4")
|
|||
[connection signal="value_changed" from="Pick Float" to="Pick Float" method="value_changed"]
|
||||
[connection signal="color_changed" from="Pick Color" to="Pick Color" method="color_changed"]
|
||||
[connection signal="toggled" from="Pick Bool" to="Pick Bool" method="toggled"]
|
||||
[connection signal="item_selected" from="Pick Audio/HBox/OptionButton" to="Pick Audio" method="_on_audio_option_selected"]
|
||||
[connection signal="pressed" from="Pick Audio/HBox/Button" to="Pick Audio" method="_on_audio_button_pressed"]
|
||||
[connection signal="button_down" from="Output" to="Output" method="_start_drag"]
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://b0arjg8r75f8y"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://b0arjg8r75f8y"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://b3wjoiiv6sq22" path="res://UI/Themes/Default.tres" id="1_arhwt"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_arhwt"]
|
||||
|
||||
[node name="Node" type="PanelContainer"]
|
||||
clip_contents = true
|
||||
custom_minimum_size = Vector2(200, 100)
|
||||
|
@ -21,12 +23,10 @@ layout_mode = 2
|
|||
[node name="Title" type="HBoxContainer" parent="Margins/Holder"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Title Label" type="Label" parent="Margins/Holder/Title"]
|
||||
[node name="Title Label" type="LineEdit" parent="Margins/Holder/Title"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Test"
|
||||
horizontal_alignment = 1
|
||||
clip_text = true
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_arhwt")
|
||||
|
||||
[node name="Exit Button" type="Button" parent="Margins/Holder/Title"]
|
||||
layout_mode = 2
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://c57u187iciexi"]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://c57u187iciexi"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://i4p62x8fnqpn" path="res://Scripts/GL_Node_Map.gd" id="1_jyqbx"]
|
||||
[ext_resource type="PackedScene" uid="uid://mowdu1i1rldt" path="res://Scenes/UI/Search.tscn" id="1_xwfut"]
|
||||
[ext_resource type="Theme" uid="uid://b3wjoiiv6sq22" path="res://UI/Themes/Default.tres" id="2_2eix6"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_jyqbx"]
|
||||
offsets = PackedFloat32Array(0)
|
||||
colors = PackedColorArray(0.121569, 0.121569, 0.121569, 0.501961)
|
||||
[sub_resource type="Gradient" id="Gradient_xwfut"]
|
||||
colors = PackedColorArray(0.448074, 0.0582233, 0.099986, 1, 0.330802, 0.066494, 0.0423852, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_2eix6"]
|
||||
gradient = SubResource("Gradient_jyqbx")
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_jyqbx"]
|
||||
gradient = SubResource("Gradient_xwfut")
|
||||
|
||||
[node name="NodeMap" type="Control"]
|
||||
[node name="NodeMap" type="Control" groups=["Node Map"]]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
|
@ -26,22 +26,72 @@ anchor_right = 1.0
|
|||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = SubResource("GradientTexture1D_2eix6")
|
||||
stretch_mode = 1
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 4.0
|
||||
offset_top = 4.0
|
||||
offset_right = 249.0
|
||||
offset_bottom = 27.0
|
||||
text = "Editing nodes, press ESC to exit."
|
||||
|
||||
[node name="Search" parent="." instance=ExtResource("1_xwfut")]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
texture = SubResource("GradientTexture1D_jyqbx")
|
||||
|
||||
[node name="Holder" type="Control" parent="."]
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
z_index = 1000
|
||||
layout_mode = 1
|
||||
anchors_preset = 3
|
||||
anchor_left = 1.0
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -1143.0
|
||||
offset_top = -97.0
|
||||
offset_right = -11.0
|
||||
offset_bottom = -48.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 0
|
||||
theme = ExtResource("2_2eix6")
|
||||
theme_override_font_sizes/font_size = 8
|
||||
text = "Give LIFE: TEST_C_ETCHINGS
|
||||
Press Esc for Nodes, Right Click to search node.
|
||||
Tab toggles background.Middle Click hold to pan.
|
||||
Scroll to Zoom. Hover things for tooltips."
|
||||
horizontal_alignment = 2
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
theme_override_constants/margin_left = 10
|
||||
theme_override_constants/margin_top = 10
|
||||
theme_override_constants/margin_right = 10
|
||||
theme_override_constants/margin_bottom = 10
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 8
|
||||
|
||||
[node name="OptionButton" type="OptionButton" parent="MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
size_flags_vertical = 8
|
||||
selected = 0
|
||||
item_count = 1
|
||||
popup/item_0/text = "Test"
|
||||
popup/item_0/id = 0
|
||||
|
||||
[node name="Button" type="Button" parent="MarginContainer/HBoxContainer"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
text = "Edit"
|
||||
|
||||
[node name="Button2" type="Button" parent="MarginContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Save"
|
||||
|
||||
[node name="Search" parent="." instance=ExtResource("1_xwfut")]
|
||||
layout_mode = 1
|
||||
|
||||
[connection signal="pressed" from="MarginContainer/HBoxContainer/Button2" to="." method="save_everything"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue