More epicness
This commit is contained in:
parent
d06e9b0355
commit
1608b8f6f5
26 changed files with 260 additions and 17 deletions
17
Scenes/Node Types/Float.tscn
Normal file
17
Scenes/Node Types/Float.tscn
Normal file
|
@ -0,0 +1,17 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://b2bkg67ii1e4p"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b0arjg8r75f8y" path="res://Scenes/Nodes/Node.tscn" id="1_cnobp"]
|
||||
[ext_resource type="Script" uid="uid://b325grg0122jn" path="res://Scripts/GL_Float.gd" id="2_cnobp"]
|
||||
|
||||
[node name="Sine" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="Node" parent="." instance=ExtResource("1_cnobp")]
|
||||
layout_mode = 0
|
||||
offset_right = 200.0
|
||||
script = ExtResource("2_cnobp")
|
||||
|
||||
[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/Random.tscn
Normal file
17
Scenes/Node Types/Random.tscn
Normal file
|
@ -0,0 +1,17 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://dhn8qtyeny0sm"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b0arjg8r75f8y" path="res://Scenes/Nodes/Node.tscn" id="1_wswgt"]
|
||||
[ext_resource type="Script" uid="uid://3vek1806nwqj" path="res://Scripts/GL_Random.gd" id="2_wswgt"]
|
||||
|
||||
[node name="Sine" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
mouse_filter = 1
|
||||
|
||||
[node name="Node" parent="." instance=ExtResource("1_wswgt")]
|
||||
layout_mode = 0
|
||||
offset_right = 200.0
|
||||
script = ExtResource("2_wswgt")
|
||||
|
||||
[connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"]
|
||||
[connection signal="mouse_exited" from="Node" to="Node" method="mouse_exit"]
|
|
@ -10,6 +10,7 @@ mouse_filter = 1
|
|||
|
||||
[node name="Node" parent="." instance=ExtResource("1_m6pki")]
|
||||
layout_mode = 0
|
||||
offset_right = 200.0
|
||||
script = ExtResource("2_claki")
|
||||
|
||||
[connection signal="mouse_entered" from="Node" to="Node" method="mouse_enter"]
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://bdcxusbd86oox"]
|
||||
[gd_scene load_steps=5 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"]
|
||||
|
||||
[node name="Node Row" type="HBoxContainer"]
|
||||
|
||||
|
@ -17,6 +20,29 @@ mouse_filter = 1
|
|||
text = "Testtesttesttesttest"
|
||||
clip_text = true
|
||||
|
||||
[node name="Pick Float" type="HSlider" parent="."]
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(50, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 1
|
||||
max_value = 1.0
|
||||
step = 0.0
|
||||
script = ExtResource("2_vlx6y")
|
||||
|
||||
[node name="Pick Color" type="ColorPickerButton" parent="."]
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(50, 0)
|
||||
layout_mode = 2
|
||||
color = Color(0.894432, 0.326066, 0.580441, 1)
|
||||
script = ExtResource("3_tf34m")
|
||||
|
||||
[node name="Pick Bool" type="CheckButton" parent="."]
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(50, 0)
|
||||
layout_mode = 2
|
||||
script = ExtResource("4_yal7b")
|
||||
|
||||
[node name="Output" type="Button" parent="." groups=["Outputs"]]
|
||||
layout_mode = 2
|
||||
mouse_default_cursor_shape = 2
|
||||
|
@ -25,4 +51,7 @@ script = ExtResource("1_fygh4")
|
|||
|
||||
[connection signal="mouse_entered" from="Input" to="Input" method="mouse_enter"]
|
||||
[connection signal="mouse_exited" from="Input" to="Input" method="mouse_exit"]
|
||||
[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="button_down" from="Output" to="Output" method="_start_drag"]
|
||||
|
|
|
@ -1,13 +1,15 @@
|
|||
[gd_scene format=3 uid="uid://b0arjg8r75f8y"]
|
||||
[gd_scene load_steps=2 format=3 uid="uid://b0arjg8r75f8y"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://b3wjoiiv6sq22" path="res://UI/Themes/Default.tres" id="1_arhwt"]
|
||||
|
||||
[node name="Node" type="Panel"]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
offset_right = 100.0
|
||||
offset_bottom = 100.0
|
||||
custom_minimum_size = Vector2(200, 100)
|
||||
offset_right = 200.0
|
||||
offset_bottom = 50.0
|
||||
mouse_default_cursor_shape = 6
|
||||
theme = ExtResource("1_arhwt")
|
||||
|
||||
[node name="Holder" type="VBoxContainer" parent="."]
|
||||
custom_minimum_size = Vector2(100, 100)
|
||||
[node name="Margins" type="MarginContainer" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
|
@ -15,7 +17,10 @@ anchor_bottom = 1.0
|
|||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Title" type="Label" parent="Holder"]
|
||||
[node name="Holder" type="VBoxContainer" parent="Margins"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Title" type="Label" parent="Margins/Holder"]
|
||||
layout_mode = 2
|
||||
text = "Test"
|
||||
horizontal_alignment = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue