godot-demo-projects/loading/scene_changer/scene_a.tscn

37 lines
933 B
Plaintext
Raw Permalink Normal View History

2022-12-13 16:51:04 +01:00
[gd_scene load_steps=2 format=3 uid="uid://dnveeke63vq8x"]
2022-12-13 16:51:04 +01:00
[ext_resource type="Script" path="res://scene_a.gd" id="1"]
2021-03-03 06:06:27 +01:00
[node name="SceneA" type="Panel"]
2022-12-13 16:51:04 +01:00
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
2022-12-13 16:51:04 +01:00
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 2
size_flags_vertical = 2
2022-12-13 16:51:04 +01:00
script = ExtResource("1")
2021-03-03 06:06:27 +01:00
[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_left = 64.0
offset_top = 48.0
offset_right = 104.0
offset_bottom = 62.0
size_flags_vertical = 0
text = "This is scene A."
2021-03-03 06:06:27 +01:00
[node name="GoToScene" type="Button" parent="."]
layout_mode = 0
offset_left = 64.0
offset_top = 128.0
offset_right = 277.0
offset_bottom = 182.0
size_flags_horizontal = 2
size_flags_vertical = 2
theme_override_colors/font_color = Color(0.639216, 1, 0.639216, 1)
theme_override_font_sizes/font_size = 24
text = "Go to Scene B"
2020-12-09 01:36:00 +01:00
2021-03-03 06:06:27 +01:00
[connection signal="pressed" from="GoToScene" to="." method="_on_goto_scene_pressed"]