Skip to content

Commit 1393846

Browse files
committed
feat: parte visual do menu principal foi feito
1 parent 6e51dfc commit 1393846

File tree

1 file changed

+76
-2
lines changed

1 file changed

+76
-2
lines changed

Src/Modules/MainMenu/Scenes/MainMenu.tscn

Lines changed: 76 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
[gd_scene load_steps=3 format=3 uid="uid://8b4qgbyybv6n"]
1+
[gd_scene load_steps=8 format=3 uid="uid://8b4qgbyybv6n"]
2+
3+
[ext_resource type="Texture2D" uid="uid://6k3ufay0uu68" path="res://Src/Modules/MainMenu/Textures/windowButton.png" id="1_8nofx"]
4+
[ext_resource type="Theme" uid="uid://clkl55xy60wu6" path="res://Src/Shared/Resources/defaultTheme.tres" id="1_f5yii"]
5+
[ext_resource type="Texture2D" uid="uid://cmkiwtnqq8y7s" path="res://Src/Modules/MainMenu/Textures/windowButtonPressed.png" id="2_f5yii"]
26

37
[sub_resource type="Image" id="Image_i3rq3"]
48
data = {
@@ -12,6 +16,14 @@ data = {
1216
[sub_resource type="ImageTexture" id="ImageTexture_bxycx"]
1317
image = SubResource("Image_i3rq3")
1418

19+
[sub_resource type="LabelSettings" id="LabelSettings_f5yii"]
20+
font_size = 24
21+
shadow_color = Color(0, 0, 0, 0.196078)
22+
23+
[sub_resource type="LabelSettings" id="LabelSettings_rt3qc"]
24+
outline_size = 1
25+
shadow_color = Color(0, 0, 0, 0.196078)
26+
1527
[node name="MainMenu" type="Control"]
1628
layout_mode = 3
1729
anchors_preset = 15
@@ -22,7 +34,15 @@ grow_vertical = 2
2234
size_flags_horizontal = 3
2335
size_flags_vertical = 3
2436

25-
[node name="TextureRect" type="TextureRect" parent="."]
37+
[node name="InitialScreen" type="Control" parent="."]
38+
layout_mode = 1
39+
anchors_preset = 15
40+
anchor_right = 1.0
41+
anchor_bottom = 1.0
42+
grow_horizontal = 2
43+
grow_vertical = 2
44+
45+
[node name="Window" type="TextureRect" parent="InitialScreen"]
2646
texture_filter = 1
2747
layout_mode = 1
2848
anchors_preset = 8
@@ -39,3 +59,57 @@ grow_vertical = 2
3959
scale = Vector2(6, 6)
4060
pivot_offset = Vector2(24, 24)
4161
texture = SubResource("ImageTexture_bxycx")
62+
63+
[node name="WindowName" type="Label" parent="InitialScreen"]
64+
modulate = Color(1, 1, 0.67451, 1)
65+
layout_mode = 1
66+
anchors_preset = 8
67+
anchor_left = 0.5
68+
anchor_top = 0.5
69+
anchor_right = 0.5
70+
anchor_bottom = 0.5
71+
offset_left = -97.0
72+
offset_top = -106.0
73+
offset_right = 99.0
74+
offset_bottom = -84.0
75+
grow_horizontal = 2
76+
grow_vertical = 2
77+
theme = ExtResource("1_f5yii")
78+
theme_override_font_sizes/font_size = 36
79+
text = "Dungeon Royale"
80+
label_settings = SubResource("LabelSettings_f5yii")
81+
82+
[node name="TextureButton" type="TextureButton" parent="InitialScreen"]
83+
layout_mode = 1
84+
anchors_preset = 8
85+
anchor_left = 0.5
86+
anchor_top = 0.5
87+
anchor_right = 0.5
88+
anchor_bottom = 0.5
89+
offset_left = -64.0
90+
offset_top = -18.0
91+
offset_right = 64.0
92+
offset_bottom = 18.0
93+
grow_horizontal = 2
94+
grow_vertical = 2
95+
texture_normal = ExtResource("1_8nofx")
96+
texture_pressed = ExtResource("2_f5yii")
97+
stretch_mode = 0
98+
99+
[node name="Label" type="Label" parent="InitialScreen/TextureButton"]
100+
modulate = Color(0.26541, 0.576324, 9.62615e-07, 1)
101+
layout_mode = 1
102+
anchors_preset = 8
103+
anchor_left = 0.5
104+
anchor_top = 0.5
105+
anchor_right = 0.5
106+
anchor_bottom = 0.5
107+
offset_left = -56.0
108+
offset_top = -8.0
109+
offset_right = 57.0
110+
offset_bottom = 15.0
111+
grow_horizontal = 2
112+
grow_vertical = 2
113+
theme = ExtResource("1_f5yii")
114+
text = "Jogar Agora!"
115+
label_settings = SubResource("LabelSettings_rt3qc")

0 commit comments

Comments
 (0)