From f6ac31b52e31e2525ce16f0cd39b4969004c5273 Mon Sep 17 00:00:00 2001 From: gamer147 Date: Thu, 9 Apr 2026 18:19:07 -0400 Subject: [PATCH] Level updates --- prefabs/StylizedNumberDisplay.tscn | 1 + prefabs/combat_ui.tscn | 14 ++++---------- project.godot | 1 + 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/prefabs/StylizedNumberDisplay.tscn b/prefabs/StylizedNumberDisplay.tscn index 34ef542..2d9dbbb 100644 --- a/prefabs/StylizedNumberDisplay.tscn +++ b/prefabs/StylizedNumberDisplay.tscn @@ -25,3 +25,4 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 +theme_override_constants/separation = 2 diff --git a/prefabs/combat_ui.tscn b/prefabs/combat_ui.tscn index 9c84d6f..e4d8a4f 100644 --- a/prefabs/combat_ui.tscn +++ b/prefabs/combat_ui.tscn @@ -18,9 +18,6 @@ region = Rect2(393, 280, 168, 77) atlas = ExtResource("3_hadma") region = Rect2(141, 0, 513, 169) -[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_hadma"] -blend_mode = 1 - [sub_resource type="AtlasTexture" id="AtlasTexture_3wejr"] atlas = ExtResource("3_hadma") region = Rect2(614, 711, 137, 26) @@ -270,13 +267,11 @@ anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -[node name="Level" type="Control" parent="UIBase/UnitPanel2/VBoxContainer" unique_id=1602621942] +[node name="Level" type="Control" parent="UIBase/UnitPanel2/VBoxContainer" unique_id=1040926780] layout_mode = 2 [node name="TextureRect" type="TextureRect" parent="UIBase/UnitPanel2/VBoxContainer/Level" unique_id=691752297] -material = SubResource("CanvasItemMaterial_hadma") -layout_mode = 1 -anchors_preset = 6 +layout_mode = 0 anchor_left = 1.0 anchor_top = 0.5 anchor_right = 1.0 @@ -289,8 +284,7 @@ grow_vertical = 2 texture = SubResource("AtlasTexture_3wejr") [node name="Items" type="HBoxContainer" parent="UIBase/UnitPanel2/VBoxContainer/Level" unique_id=828992814] -layout_mode = 1 -anchors_preset = 6 +layout_mode = 0 anchor_left = 1.0 anchor_top = 0.5 anchor_right = 1.0 @@ -313,6 +307,6 @@ texture = SubResource("AtlasTexture_uh1k2") [node name="StylizedNumberDisplay" parent="UIBase/UnitPanel2/VBoxContainer/Level/Items" unique_id=702997768 instance=ExtResource("5_55shj")] layout_mode = 2 sprite_sheet = SubResource("AtlasTexture_yayqj") -number_sprite_width = 27 +number_sprite_width = 28 number_sprite_height = 36 value = 12 diff --git a/project.godot b/project.godot index 588d496..efe79ad 100644 --- a/project.godot +++ b/project.godot @@ -41,3 +41,4 @@ debug_toggle={ textures/canvas_textures/default_texture_filter=0 rendering_device/driver.windows="d3d12" renderer/rendering_method="mobile" +environment/defaults/default_clear_color=Color(0, 0, 0, 1)