Reverting datapacks stuff again, I am feeling like my original plan for a small dsl-like format was the correct way to go, but combining that with the datapack archive structure for embedded images and other resources.
25 lines
688 B
Plaintext
25 lines
688 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://fy5iji5t58jk"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/datapacks/old/test.gd" id="1_ffwby"]
|
|
[ext_resource type="Script" path="res://scripts/datapacks/old/ui_test.gd" id="2_tlkf1"]
|
|
|
|
[node name="MainUI" type="CanvasLayer"]
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_type_variation = &"Background_Panel"
|
|
script = ExtResource("1_ffwby")
|
|
|
|
[node name="Control" type="Control" parent="Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("2_tlkf1")
|