From bbff19c6cee0b703684eeeaf78db4e611ae4e77b Mon Sep 17 00:00:00 2001 From: Daydreel Date: Tue, 26 Aug 2025 17:36:51 +0200 Subject: [PATCH] game menu work in progress --- game_menu.tscn | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/game_menu.tscn b/game_menu.tscn index b224b6a..6f6d9c1 100644 --- a/game_menu.tscn +++ b/game_menu.tscn @@ -1,12 +1,25 @@ -[gd_scene load_steps=7 format=3 uid="uid://djyye2otjju2d"] +[gd_scene load_steps=12 format=3 uid="uid://djyye2otjju2d"] [ext_resource type="Theme" uid="uid://bbp4qcbwkeg7x" path="res://default_theme.tres" id="1_xxfb2"] [ext_resource type="PackedScene" uid="uid://bqpeu50pgsdfk" path="res://UI/tower_button.tscn" id="2_qus6b"] [ext_resource type="Script" uid="uid://jg5ny0u7buos" path="res://game_menu.gd" id="2_wr0q8"] +[ext_resource type="Texture2D" uid="uid://cs24awnya7o5p" path="res://Assets/VFX/start_menu_vignette.png" id="3_3rcmp"] [ext_resource type="Texture2D" uid="uid://uptdcefxlv4c" path="res://Assets/Icones/ppdf_bio_image_placeholder_2.png" id="3_wr0q8"] [ext_resource type="Script" uid="uid://tn3qdhcyaxsg" path="res://UI/upgrade_button.gd" id="4_3rcmp"] [ext_resource type="Texture2D" uid="uid://dksohsrys0yy7" path="res://Assets/Icones/baby-face.svg" id="5_pbvm6"] +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pbvm6"] +bg_color = Color(0.933333, 0.933333, 0.933333, 1) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_yd342"] +bg_color = Color(0.2, 0.2, 0.2, 0.588235) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tklej"] +bg_color = Color(0.2, 0.2, 0.2, 0.588235) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_scae6"] +bg_color = Color(0.2, 0.2, 0.2, 0.588235) + [node name="GameMenu" type="Control"] layout_mode = 3 anchors_preset = 15 @@ -24,6 +37,17 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 +theme_override_styles/panel = SubResource("StyleBoxFlat_pbvm6") + +[node name="TextureRect" type="TextureRect" parent="Background"] +modulate = Color(1, 1, 1, 0.305882) +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = ExtResource("3_3rcmp") [node name="MenuHeader" type="HBoxContainer" parent="."] layout_mode = 1 @@ -100,6 +124,7 @@ offset_left = 313.0 offset_top = 86.0 offset_right = 1113.0 offset_bottom = 598.0 +theme_override_styles/panel = SubResource("StyleBoxFlat_yd342") [node name="MarginContainer2" type="MarginContainer" parent="CharacterSheet/TowerStats"] layout_mode = 1 @@ -217,6 +242,7 @@ offset_right = -19.0 offset_bottom = -28.0 grow_horizontal = 0 grow_vertical = 0 +theme_override_styles/panel = SubResource("StyleBoxFlat_tklej") [node name="MarginContainer2" type="MarginContainer" parent="CharacterSheet/TowerUpgrades"] layout_mode = 1 @@ -286,6 +312,7 @@ offset_right = 153.0 offset_bottom = -28.0 grow_horizontal = 2 grow_vertical = 0 +theme_override_styles/panel = SubResource("StyleBoxFlat_scae6") [node name="MarginContainer" type="MarginContainer" parent="CharacterSheet/TowerSkills"] layout_mode = 1