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
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-13 15:39:15 +02:00
|
|
|
[node name="Puzzles" 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-13 15:39:15 +02:00
|
|
|
text = "Puzzles"
|
2021-05-08 15:12:37 +02:00
|
|
|
__meta__ = {
|
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
|
}
|
2021-05-08 12:49:27 +02:00
|
|
|
|
2021-05-13 15:39:15 +02:00
|
|
|
[node name="Settings" type="LinkButton" parent="Grid/Menu/Action"]
|
2021-05-08 19:47:06 +02:00
|
|
|
margin_left = 10.0
|
|
|
|
|
margin_top = 130.0
|
2021-05-13 15:39:15 +02:00
|
|
|
margin_right = 114.0
|
2021-05-08 19:47:06 +02:00
|
|
|
margin_bottom = 164.0
|
|
|
|
|
custom_fonts/font = ExtResource( 3 )
|
2021-05-13 15:39:15 +02:00
|
|
|
text = "Settings"
|
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-13 15:39:15 +02:00
|
|
|
[connection signal="pressed" from="Grid/Menu/Action/Puzzles" to="." method="_on_New_pressed"]
|
|
|
|
|
[connection signal="pressed" from="Grid/Menu/Action/Settings" to="." method="_on_Settings_pressed"]
|
2021-05-08 15:12:37 +02:00
|
|
|
[connection signal="pressed" from="Grid/Menu/Action/Quit" to="." method="_on_Quit_pressed"]
|