Files
puzzle-quest/scenes/main.tscn
T

128 lines
3.0 KiB
Plaintext
Raw Normal View History

2021-05-08 19:47:06 +02:00
[gd_scene load_steps=5 format=2]
2021-05-08 12:49:27 +02:00
2021-05-08 13:16:13 +02:00
[ext_resource path="res://scenes/main.gd" type="Script" id=1]
2021-05-08 15:12:37 +02:00
[ext_resource path="res://icon.png" type="Texture" id=2]
2021-05-08 19:47:06 +02:00
[ext_resource path="res://assets/fonts/MKXTitle.tres" type="DynamicFont" id=3]
2021-05-08 13:16:13 +02:00
[sub_resource type="GDScript" id=1]
script/source = "extends LinkButton
2021-05-08 13:22:37 +02:00
# Quit the game with properly exit code
"
2021-05-08 13:16:13 +02:00
[node name="Main" type="Node"]
script = ExtResource( 1 )
2021-05-08 12:49:27 +02:00
2021-05-08 15:12:37 +02:00
[node name="ColorRect" type="ColorRect" parent="."]
margin_right = 1024.0
margin_bottom = 600.0
color = Color( 0.156863, 0.00392157, 0.0156863, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
2021-05-08 12:49:27 +02:00
[node name="Grid" type="GridContainer" parent="."]
margin_left = -1.33484
margin_right = 1022.67
margin_bottom = 600.0
__meta__ = {
"_edit_use_anchors_": false
}
2021-05-08 15:12:37 +02:00
[node name="Menu" type="Panel" parent="Grid"]
[node name="Banner" type="Panel" parent="Grid/Menu"]
margin_right = 150.0
margin_bottom = 150.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ColorRect" type="ColorRect" parent="Grid/Menu/Banner"]
margin_right = 150.0
margin_bottom = 150.0
color = Color( 0.992157, 0.705882, 0, 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Title" type="Label" parent="Grid/Menu/Banner/ColorRect"]
margin_right = 150.0
margin_bottom = 150.0
2021-05-08 19:47:06 +02:00
custom_fonts/font = ExtResource( 3 )
2021-05-08 15:12:37 +02:00
text = "Loki
"
2021-05-08 12:49:27 +02:00
align = 1
2021-05-08 15:12:37 +02:00
valign = 2
__meta__ = {
"_edit_use_anchors_": false
}
2021-05-08 12:49:27 +02:00
2021-05-08 15:12:37 +02:00
[node name="TextureRect" type="TextureRect" parent="Grid/Menu/Banner/ColorRect/Title"]
margin_left = 48.0
margin_right = 176.0
margin_bottom = 128.0
rect_scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Action" type="Panel" parent="Grid/Menu"]
margin_top = 150.0
margin_right = 150.0
margin_bottom = 600.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="New" type="LinkButton" parent="Grid/Menu/Action"]
2021-05-08 19:47:06 +02:00
margin_left = 10.0
2021-05-08 15:12:37 +02:00
margin_top = 30.0
2021-05-08 19:47:06 +02:00
margin_right = 130.0
margin_bottom = 64.0
custom_fonts/font = ExtResource( 3 )
2021-05-09 23:28:45 +02:00
text = "new"
2021-05-08 15:12:37 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-05-08 12:49:27 +02:00
2021-05-08 15:12:37 +02:00
[node name="Continue" type="LinkButton" parent="Grid/Menu/Action"]
2021-05-08 19:47:06 +02:00
margin_left = 10.0
margin_top = 80.0
margin_right = 136.0
margin_bottom = 114.0
custom_fonts/font = ExtResource( 3 )
2021-05-08 13:44:51 +02:00
disabled = true
2021-05-08 12:49:27 +02:00
text = "Reprendre"
2021-05-08 19:47:06 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-05-08 12:49:27 +02:00
2021-05-08 15:12:37 +02:00
[node name="About" type="LinkButton" parent="Grid/Menu/Action"]
2021-05-08 19:47:06 +02:00
margin_left = 10.0
margin_top = 130.0
margin_right = 86.0
margin_bottom = 164.0
custom_fonts/font = ExtResource( 3 )
2021-05-08 12:49:27 +02:00
text = "Credit"
2021-05-08 19:47:06 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-05-08 12:49:27 +02:00
2021-05-08 15:12:37 +02:00
[node name="Quit" type="LinkButton" parent="Grid/Menu/Action"]
2021-05-08 19:47:06 +02:00
margin_left = 10.0
margin_top = 401.059
margin_right = 161.0
margin_bottom = 435.059
custom_fonts/font = ExtResource( 3 )
2021-05-08 12:49:27 +02:00
text = "Quitter"
2021-05-08 13:16:13 +02:00
script = SubResource( 1 )
2021-05-08 15:54:58 +02:00
__meta__ = {
"_edit_use_anchors_": false
}
2021-05-08 13:16:13 +02:00
2021-05-08 15:12:37 +02:00
[connection signal="pressed" from="Grid/Menu/Action/New" to="." method="_on_New_pressed"]
[connection signal="pressed" from="Grid/Menu/Action/About" to="." method="_on_About_pressed"]
[connection signal="pressed" from="Grid/Menu/Action/Quit" to="." method="_on_Quit_pressed"]