(WIP) Switch from previous DSL System (UI order based) to a new DSL System (node connection based) still in Progress.

This commit is contained in:
2026-05-13 22:21:16 +02:00
parent 5893f9f7b9
commit 33a618b0b9
19 changed files with 273 additions and 78 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
[gd_scene format=3 uid="uid://co7op7et6is8p"]
[ext_resource type="Script" path="res://Scripts/UI/DSL/NodeDisplays/ForNodeDisplay.cs" id="1_xshi5"]
[ext_resource type="Script" uid="uid://gptqyjv5swwc" path="res://Scripts/UI/DSL/NodeDisplays/ForNodeDisplay.cs" id="1_xshi5"]
[node name="For" type="GraphNode" unique_id=1235671673]
offset_right = 229.0
@@ -16,7 +16,7 @@ slot/0/right_type = 0
slot/0/right_color = Color(1, 1, 1, 1)
slot/0/right_icon = null
slot/0/draw_stylebox = true
slot/1/left_enabled = true
slot/1/left_enabled = false
slot/1/left_type = 0
slot/1/left_color = Color(1, 1, 1, 1)
slot/1/left_icon = null
@@ -61,7 +61,7 @@ vertical_alignment = 1
[node name="RichTextLabel" type="RichTextLabel" parent="." unique_id=1677882951]
layout_mode = 2
text = "Until"
text = "Afterwards"
fit_content = true
autowrap_mode = 0
horizontal_alignment = 1
+2 -2
View File
@@ -1,6 +1,6 @@
[gd_scene format=3 uid="uid://ctmad6foidkvp"]
[ext_resource type="Script" path="res://Scripts/UI/DSL/NodeDisplays/IfNodeDisplay.cs" id="1_ygi5c"]
[ext_resource type="Script" uid="uid://cngxwfcrim746" path="res://Scripts/UI/DSL/NodeDisplays/IfNodeDisplay.cs" id="1_ygi5c"]
[node name="If" type="GraphNode" unique_id=821127877]
offset_right = 468.0
@@ -16,7 +16,7 @@ slot/0/right_type = 0
slot/0/right_color = Color(1, 1, 1, 1)
slot/0/right_icon = null
slot/0/draw_stylebox = true
slot/1/left_enabled = true
slot/1/left_enabled = false
slot/1/left_type = 0
slot/1/left_color = Color(1, 1, 1, 1)
slot/1/left_icon = null
+21
View File
@@ -0,0 +1,21 @@
[gd_scene format=3 uid="uid://b1y4r3s7ukmfw"]
[ext_resource type="Script" path="res://Scripts/UI/DSL/NodeDisplays/StartNodeDisplay.cs" id="1_start"]
[node name="Start" type="GraphNode" unique_id=2100000001]
offset_right = 65.0
offset_bottom = 55.0
title = "Start"
slot/0/left_enabled = false
slot/0/left_type = 0
slot/0/left_color = Color(1, 1, 1, 1)
slot/0/left_icon = null
slot/0/right_enabled = true
slot/0/right_type = 0
slot/0/right_color = Color(1, 1, 1, 1)
slot/0/right_icon = null
slot/0/draw_stylebox = true
script = ExtResource("1_start")
[node name="Control" type="Control" parent="." unique_id=2100000002]
layout_mode = 2
+3 -3
View File
@@ -1,6 +1,6 @@
[gd_scene format=3 uid="uid://bwiaqvl0d4x8v"]
[ext_resource type="Script" path="res://Scripts/UI/DSL/NodeDisplays/WhileNodeDisplay.cs" id="1_q0rc7"]
[ext_resource type="Script" uid="uid://d3npiur46icru" path="res://Scripts/UI/DSL/NodeDisplays/WhileNodeDisplay.cs" id="1_q0rc7"]
[node name="While" type="GraphNode" unique_id=2040226700]
offset_right = 499.0
@@ -16,7 +16,7 @@ slot/0/right_type = 0
slot/0/right_color = Color(1, 1, 1, 1)
slot/0/right_icon = null
slot/0/draw_stylebox = true
slot/1/left_enabled = true
slot/1/left_enabled = false
slot/1/left_type = 0
slot/1/left_color = Color(1, 1, 1, 1)
slot/1/left_icon = null
@@ -82,7 +82,7 @@ vertical_alignment = 1
[node name="RichTextLabel" type="RichTextLabel" parent="." unique_id=1571031910]
layout_mode = 2
text = "Until"
text = "Afterwards"
fit_content = true
autowrap_mode = 0
horizontal_alignment = 1