-
Notifications
You must be signed in to change notification settings - Fork 0
/
Menu.tscn
73 lines (64 loc) · 2.21 KB
/
Menu.tscn
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[gd_scene load_steps=6 format=3 uid="uid://dlq5h0tu423y4"]
[ext_resource type="Script" path="res://menu.gd" id="1_giknc"]
[ext_resource type="Texture2D" uid="uid://bi7uuyn43wvd5" path="res://background.jpg" id="2_brqdq"]
[ext_resource type="LabelSettings" uid="uid://dihc057ql63eu" path="res://UI settings/UI Player card Settings.tres" id="2_fke8g"]
[ext_resource type="PackedScene" uid="uid://brh73wxl6ta8s" path="res://start_ui_.tscn" id="4_c45ay"]
[ext_resource type="Theme" uid="uid://7miaudw2s7n0" path="res://UI settings/button_theme.tres" id="5_7gvj8"]
[node name="Menu" type="Node"]
script = ExtResource("1_giknc")
[node name="Background" type="TextureRect" parent="."]
modulate = Color(0, 0.360784, 0.0313726, 1)
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_brqdq")
expand_mode = 2
[node name="GameName" type="Label" parent="."]
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -204.0
offset_top = 188.0
offset_right = 204.0
offset_bottom = 284.0
grow_horizontal = 2
text = "Mimirkoden"
label_settings = ExtResource("2_fke8g")
horizontal_alignment = 1
vertical_alignment = 1
[node name="StartUI2" parent="." instance=ExtResource("4_c45ay")]
offset_top = -115.0
offset_bottom = -115.0
[node name="ButtonRules" type="Button" parent="."]
offset_left = 894.0
offset_top = 561.0
offset_right = 1022.0
offset_bottom = 610.0
theme = ExtResource("5_7gvj8")
text = "Regler"
[node name="ButtonCredits" type="Button" parent="."]
offset_left = 845.0
offset_top = 627.0
offset_right = 1073.0
offset_bottom = 676.0
theme = ExtResource("5_7gvj8")
text = "kreditering"
[node name="ButtonQuit" type="Button" parent="."]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -115.0
offset_top = 153.0
offset_right = 113.0
offset_bottom = 202.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("5_7gvj8")
text = "Lukk Spillet"
[connection signal="pressed" from="ButtonRules" to="." method="_on_button_rules_pressed"]
[connection signal="pressed" from="ButtonCredits" to="." method="_on_button_credits_pressed"]
[connection signal="pressed" from="ButtonQuit" to="." method="_on_button_quit_pressed"]