menu + player
This commit is contained in:
@@ -1,15 +1,27 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://co0u7xd45nxv1"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://co0u7xd45nxv1"]
|
||||
|
||||
[ext_resource type="FontFile" uid="uid://c0i81edd5mitx" path="res://font/October Crow.ttf" id="1_ndt1a"]
|
||||
[ext_resource type="Script" path="res://script/Menu.cs" id="1_pfhrs"]
|
||||
[ext_resource type="Theme" uid="uid://depo4fa5p8k8m" path="res://themes/button.tres" id="2_166c6"]
|
||||
|
||||
[node name="menu" type="Control"]
|
||||
process_mode = 3
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_pfhrs")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0.803922, 0, 0, 0.360784)
|
||||
|
||||
[node name="Paused" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
@@ -32,7 +44,7 @@ size_flags_horizontal = 4
|
||||
theme_override_constants/separation = 16
|
||||
alignment = 1
|
||||
|
||||
[node name="Resume3" type="Button" parent="VBoxContainer"]
|
||||
[node name="Resume" type="Button" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_166c6")
|
||||
text = "Resume
|
||||
@@ -49,3 +61,7 @@ layout_mode = 2
|
||||
theme = ExtResource("2_166c6")
|
||||
text = "Exit
|
||||
"
|
||||
|
||||
[connection signal="button_down" from="VBoxContainer/Resume" to="." method="ResumeDown"]
|
||||
[connection signal="button_down" from="VBoxContainer/option" to="." method="OptionDown"]
|
||||
[connection signal="button_down" from="VBoxContainer/exit" to="." method="ExitDown"]
|
||||
|
||||
Reference in New Issue
Block a user