Files
PNGTuber-Plus/ui_scenes/components/ComponentMigrationExample.tscn

36 lines
1.1 KiB
Plaintext

[gd_scene load_steps=3 format=4 uid="uid://cm4n7yap2k8q1"]
[ext_resource type="Script" path="res://ui_scenes/components/ComponentMigrationExample.gd" id="1_migration_script"]
[ext_resource type="PackedScene" uid="uid://bp2q8r4l6k9m3" path="res://ui_scenes/components/WobbleControlPanel.tscn" id="2_wobble_panel"]
[node name="ComponentMigrationExample" type="Node2D"]
script = ExtResource("1_migration_script")
[node name="Background" type="ColorRect" parent="."]
offset_right = 300.0
offset_bottom = 400.0
color = Color(0.2, 0.2, 0.2, 1)
[node name="Title" type="Label" parent="."]
offset_left = 10.0
offset_top = 10.0
offset_right = 290.0
offset_bottom = 35.0
text = "New Component System Demo"
horizontal_alignment = 1
[node name="WobbleControlPanel" parent="." instance=ExtResource("2_wobble_panel")]
offset_left = 10.0
offset_top = 50.0
offset_right = 290.0
offset_bottom = 350.0
[node name="Instructions" type="Label" parent="."]
offset_left = 10.0
offset_top = 360.0
offset_right = 290.0
offset_bottom = 390.0
text = "These sliders automatically sync with sprites"
horizontal_alignment = 1
vertical_alignment = 1