JSON System Implemented

This commit is contained in:
Patrick_Pluto 2024-06-14 09:42:54 +02:00
parent bf80420f22
commit 01cd337c66
20 changed files with 21 additions and 519 deletions

View file

@ -2,13 +2,14 @@
[ext_resource type="Script" path="res://scripts/menu.gd" id="1_xc6y7"]
[node name="Control" type="Control"]
[node name="main_menu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_xc6y7")
[node name="Button" type="Button" parent="."]
layout_mode = 0
@ -18,6 +19,14 @@ offset_right = 90.0
offset_bottom = 32.0
scale = Vector2(5, 5)
text = "Test"
script = ExtResource("1_xc6y7")
[connection signal="pressed" from="Button" to="Button" method="_on_pressed"]
[node name="Button2" type="Button" parent="."]
layout_mode = 0
offset_top = 192.0
offset_right = 90.0
offset_bottom = 224.0
scale = Vector2(5, 5)
text = "Test2"
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
[connection signal="pressed" from="Button2" to="." method="_on_button_2_pressed"]