Files
puzzle-quest/scenes/main.tscn
T
2021-05-08 13:44:51 +02:00

58 lines
1.3 KiB
Plaintext

[gd_scene load_steps=3 format=2]
[ext_resource path="res://scenes/main.gd" type="Script" id=1]
[sub_resource type="GDScript" id=1]
script/source = "extends LinkButton
# Quit the game with properly exit code
"
[node name="Main" type="Node"]
script = ExtResource( 1 )
[node name="Grid" type="GridContainer" parent="."]
margin_left = -1.33484
margin_right = 1022.67
margin_bottom = 600.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Title" type="Label" parent="Grid"]
margin_right = 151.0
margin_bottom = 14.0
text = "Athena - Hidden Object"
align = 1
valign = 1
[node name="New" type="LinkButton" parent="Grid"]
margin_top = 18.0
margin_right = 151.0
margin_bottom = 32.0
text = "Nouveau"
[node name="Continue" type="LinkButton" parent="Grid"]
margin_top = 36.0
margin_right = 151.0
margin_bottom = 50.0
disabled = true
text = "Reprendre"
[node name="About" type="LinkButton" parent="Grid"]
margin_top = 54.0
margin_right = 151.0
margin_bottom = 68.0
text = "Credit"
[node name="Quit" type="LinkButton" parent="Grid"]
margin_top = 72.0
margin_right = 151.0
margin_bottom = 86.0
text = "Quitter"
script = SubResource( 1 )
[connection signal="pressed" from="Grid/New" to="." method="_on_New_pressed"]
[connection signal="pressed" from="Grid/About" to="." method="_on_About_pressed"]
[connection signal="pressed" from="Grid/Quit" to="." method="_on_Quit_pressed"]