menu et +
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://cru3yl7laeiem"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://cru3yl7laeiem"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://mr6hi8icwyle" path="res://model/Trick or treatBG.png" id="1_4oira"]
|
||||
[ext_resource type="Script" path="res://script/Principal.cs" id="1_5hpqm"]
|
||||
[ext_resource type="Theme" uid="uid://depo4fa5p8k8m" path="res://themes/button.tres" id="2_ab0tu"]
|
||||
[ext_resource type="PackedScene" uid="uid://1tfopbwug3ht" path="res://scene/city.tscn" id="2_qp7s0"]
|
||||
[ext_resource type="StyleBox" uid="uid://cl1mx7tnohwg6" path="res://themes/back_principal.tres" id="5_tyto3"]
|
||||
[ext_resource type="Texture2D" uid="uid://cf12hst5y4gfr" path="res://model/Credit.png" id="6_px85q"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qdt6c"]
|
||||
bg_color = Color(0, 0, 0, 0.792157)
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8wh7p"]
|
||||
bg_color = Color(0.0728426, 0.0728426, 0.0728426, 0.890196)
|
||||
|
||||
[node name="Principal" type="Control" node_paths=PackedStringArray("sub")]
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kg8au"]
|
||||
bg_color = Color(0.0728426, 0.0728426, 0.0728426, 0.890196)
|
||||
|
||||
[node name="Principal" type="Control" node_paths=PackedStringArray("sub", "credit")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -17,6 +22,7 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_5hpqm")
|
||||
sub = NodePath("sub")
|
||||
credit = NodePath("credit")
|
||||
play = ExtResource("2_qp7s0")
|
||||
|
||||
[node name="TrickOrTreatBg" type="Sprite2D" parent="."]
|
||||
@@ -41,7 +47,7 @@ anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_qdt6c")
|
||||
theme_override_styles/panel = ExtResource("5_tyto3")
|
||||
|
||||
[node name="Play" type="Button" parent="sub"]
|
||||
layout_mode = 0
|
||||
@@ -72,4 +78,60 @@ theme = ExtResource("2_ab0tu")
|
||||
text = "Exit
|
||||
"
|
||||
|
||||
[node name="credit" type="Panel" parent="."]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = ExtResource("5_tyto3")
|
||||
|
||||
[node name="Credit" type="Sprite2D" parent="credit"]
|
||||
texture = ExtResource("6_px85q")
|
||||
centered = false
|
||||
|
||||
[node name="Label" type="Label" parent="credit"]
|
||||
layout_mode = 0
|
||||
offset_left = 13.0
|
||||
offset_top = 248.0
|
||||
offset_right = 207.0
|
||||
offset_bottom = 293.0
|
||||
theme = ExtResource("2_ab0tu")
|
||||
theme_override_font_sizes/font_size = 38
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_8wh7p")
|
||||
text = "Programming
|
||||
"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Label2" type="Label" parent="credit"]
|
||||
layout_mode = 0
|
||||
offset_left = 322.0
|
||||
offset_top = 252.0
|
||||
offset_right = 386.0
|
||||
offset_bottom = 296.0
|
||||
theme = ExtResource("2_ab0tu")
|
||||
theme_override_font_sizes/font_size = 38
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_kg8au")
|
||||
text = "Art
|
||||
"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Button" type="Button" parent="credit"]
|
||||
layout_mode = 0
|
||||
offset_left = 163.0
|
||||
offset_top = 15.0
|
||||
offset_right = 215.0
|
||||
offset_bottom = 53.0
|
||||
theme = ExtResource("2_ab0tu")
|
||||
text = "Exit
|
||||
"
|
||||
|
||||
[connection signal="pressed" from="Enter" to="." method="EnterPressed"]
|
||||
[connection signal="pressed" from="sub/Play" to="." method="PlayPressed"]
|
||||
[connection signal="pressed" from="sub/Credits" to="." method="creditEnter"]
|
||||
[connection signal="pressed" from="sub/Exit" to="." method="ExitGlobPressed"]
|
||||
[connection signal="pressed" from="credit/Button" to="." method="CreditExit"]
|
||||
|
||||
Reference in New Issue
Block a user