diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-11-10 17:03:01 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-11-10 17:03:01 -0300 |
| commit | 5f25fea962905c9ceb10b52490cc56d3ccd463db (patch) | |
| tree | 3e946245c2c9d919c175e8b5ad7ac9607f915e2e /scenes/GUI | |
| parent | 0f3c49b7743f7c7fabf41fdf4cb3ffe1a4ac3bf4 (diff) | |
skibidi
Diffstat (limited to 'scenes/GUI')
| -rw-r--r-- | scenes/GUI/Leaderboard.tscn | 4 | ||||
| -rw-r--r-- | scenes/GUI/button.tres | 10 | ||||
| -rw-r--r-- | scenes/GUI/main_menu.tscn | 7 |
3 files changed, 19 insertions, 2 deletions
diff --git a/scenes/GUI/Leaderboard.tscn b/scenes/GUI/Leaderboard.tscn index 05471f3..5724e34 100644 --- a/scenes/GUI/Leaderboard.tscn +++ b/scenes/GUI/Leaderboard.tscn @@ -1,8 +1,9 @@ -[gd_scene load_steps=6 format=3 uid="uid://ddxrecok5ctss"] +[gd_scene load_steps=7 format=3 uid="uid://ddxrecok5ctss"] [ext_resource type="Script" uid="uid://bj6r5oalajbmc" path="res://scenes/GUI/Leaderboard.cs" id="1_8w6tf"] [ext_resource type="Texture2D" uid="uid://bxjwbucke02gl" path="res://assets/bg.png" id="1_dlctp"] [ext_resource type="PackedScene" uid="uid://w4oy340d3ugn" path="res://scenes/GUI/leaderboard_item.tscn" id="2_8w6tf"] +[ext_resource type="StyleBox" uid="uid://krfa04v10vwc" path="res://scenes/GUI/button.tres" id="4_kxih3"] [sub_resource type="InputEventKey" id="InputEventKey_8w6tf"] device = -1 @@ -47,5 +48,6 @@ layout_mode = 2 [node name="exit" type="Button" parent="VBoxContainer"] layout_mode = 2 +theme_override_styles/normal = ExtResource("4_kxih3") shortcut = SubResource("Shortcut_kxih3") text = "[V] Voltar" diff --git a/scenes/GUI/button.tres b/scenes/GUI/button.tres new file mode 100644 index 0000000..601c8f7 --- /dev/null +++ b/scenes/GUI/button.tres @@ -0,0 +1,10 @@ +[gd_resource type="StyleBoxTexture" load_steps=2 format=3 uid="uid://krfa04v10vwc"] + +[ext_resource type="Texture2D" uid="uid://dwg5pwgld1xrr" path="res://assets/sprites/inter-face/button_texture.png" id="1_dju77"] + +[resource] +texture = ExtResource("1_dju77") +texture_margin_left = 2.0 +texture_margin_top = 2.0 +texture_margin_right = 2.0 +texture_margin_bottom = 2.0 diff --git a/scenes/GUI/main_menu.tscn b/scenes/GUI/main_menu.tscn index f2ed0ae..95700a0 100644 --- a/scenes/GUI/main_menu.tscn +++ b/scenes/GUI/main_menu.tscn @@ -1,7 +1,8 @@ -[gd_scene load_steps=12 format=3 uid="uid://cppjdsdfkkxtm"] +[gd_scene load_steps=13 format=3 uid="uid://cppjdsdfkkxtm"] [ext_resource type="Script" uid="uid://dx0fxht2oadb6" path="res://scripts/GUI/MainMenu.cs" id="1_b4h60"] [ext_resource type="Texture2D" uid="uid://bxjwbucke02gl" path="res://assets/bg.png" id="1_tbt31"] +[ext_resource type="StyleBox" uid="uid://krfa04v10vwc" path="res://scenes/GUI/button.tres" id="3_kebck"] [sub_resource type="LabelSettings" id="LabelSettings_b4h60"] font_size = 32 @@ -79,23 +80,27 @@ label_settings = SubResource("LabelSettings_b4h60") [node name="neogame" type="Button" parent="VBoxContainer/CenterContainer/VBoxContainer"] layout_mode = 2 +theme_override_styles/normal = ExtResource("3_kebck") shortcut = SubResource("Shortcut_b4h60") shortcut_feedback = false text = "[N] Novo jogo" [node name="continue" type="Button" parent="VBoxContainer/CenterContainer/VBoxContainer"] layout_mode = 2 +theme_override_styles/normal = ExtResource("3_kebck") shortcut = SubResource("Shortcut_1ei6q") shortcut_feedback = false text = "[C] Continuar" [node name="leaderboard" type="Button" parent="VBoxContainer/CenterContainer/VBoxContainer"] layout_mode = 2 +theme_override_styles/normal = ExtResource("3_kebck") shortcut = SubResource("Shortcut_kebck") text = "[P] Placar" [node name="quit" type="Button" parent="VBoxContainer/CenterContainer/VBoxContainer"] layout_mode = 2 +theme_override_styles/normal = ExtResource("3_kebck") shortcut = SubResource("Shortcut_h03jd") text = "[S] Sair" |
