-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain_menu.tscn
More file actions
53 lines (43 loc) · 2.06 KB
/
main_menu.tscn
File metadata and controls
53 lines (43 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[gd_scene load_steps=4 format=3 uid="uid://dxt0d4yilmm4i"]
[ext_resource type="Texture2D" uid="uid://dqmdd6mck55nr" path="res://Play.png" id="1_x7pe1"]
[ext_resource type="Texture2D" uid="uid://btyab8orvybqa" path="res://Credits.png" id="2_1abjx"]
[ext_resource type="Script" path="res://PlayButton.gd" id="2_u7c32"]
[node name="MainMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 120
theme_override_constants/margin_top = 80
theme_override_constants/margin_right = 120
theme_override_constants/margin_bottom = 80
[node name="CenterContainer" type="CenterContainer" parent="MarginContainer"]
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
[node name="PlayButton" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer"]
layout_mode = 2
texture = ExtResource("1_x7pe1")
stretch_mode = 2
script = ExtResource("2_u7c32")
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
alignment = 2
[node name="Credits" type="TextureRect" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
texture = ExtResource("2_1abjx")
stretch_mode = 2
[connection signal="gui_input" from="MarginContainer/HBoxContainer/VBoxContainer/PlayButton" to="MarginContainer/HBoxContainer/VBoxContainer/PlayButton" method="_on_gui_input"]
[connection signal="mouse_entered" from="MarginContainer/HBoxContainer/VBoxContainer/PlayButton" to="MarginContainer/HBoxContainer/VBoxContainer/PlayButton" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="MarginContainer/HBoxContainer/VBoxContainer/PlayButton" to="MarginContainer/HBoxContainer/VBoxContainer/PlayButton" method="_on_mouse_exited"]