From 26328155df80cafaff218c700d033b075f637fae Mon Sep 17 00:00:00 2001 From: Eneko Nieto Date: Sun, 25 Aug 2024 12:28:35 +0200 Subject: [PATCH] fix(godot3.6): fixed inventory background --- CREDITS.md => AUTHORS.md | 0 addons/escoria-ui-return-monkey-island/game.tscn | 5 +++++ .../inventory/inventory_ui.tscn | 4 ---- project.godot | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) rename CREDITS.md => AUTHORS.md (100%) diff --git a/CREDITS.md b/AUTHORS.md similarity index 100% rename from CREDITS.md rename to AUTHORS.md diff --git a/addons/escoria-ui-return-monkey-island/game.tscn b/addons/escoria-ui-return-monkey-island/game.tscn index f12fd93e..0f34647f 100644 --- a/addons/escoria-ui-return-monkey-island/game.tscn +++ b/addons/escoria-ui-return-monkey-island/game.tscn @@ -89,6 +89,11 @@ margin_right = 1186.0 margin_bottom = 90.0 size_flags_horizontal = 3 +[node name="inventory_bg" type="Polygon2D" parent="CanvasLayer/ui/HBoxContainer"] +position = Vector2( 0, -964 ) +color = Color( 0.156863, 0.0627451, 0, 1 ) +polygon = PoolVector2Array( 0, 875, 1280, 875, 1280, 1047, 0, 1047 ) + [node name="inventory_ui" parent="CanvasLayer/ui/HBoxContainer" instance=ExtResource( 1 )] anchor_right = 0.0 anchor_bottom = 0.0 diff --git a/addons/escoria-ui-return-monkey-island/inventory/inventory_ui.tscn b/addons/escoria-ui-return-monkey-island/inventory/inventory_ui.tscn index f06dd060..12e14cf9 100644 --- a/addons/escoria-ui-return-monkey-island/inventory/inventory_ui.tscn +++ b/addons/escoria-ui-return-monkey-island/inventory/inventory_ui.tscn @@ -20,10 +20,6 @@ inventory_ui_container = NodePath("FloatingInventory/panel/MarginContainer/Scrol [node name="FloatingInventory" type="CanvasLayer" parent="."] -[node name="Polygon2D" type="Polygon2D" parent="FloatingInventory"] -color = Color( 0.156863, 0.0627451, 0, 1 ) -polygon = PoolVector2Array( -3, 578, 1280, 578, 1280, 752, -3, 757 ) - [node name="panel" type="TextureRect" parent="FloatingInventory"] anchor_left = 1.0 anchor_top = 1.0 diff --git a/project.godot b/project.godot index e9d16efc..182dc149 100644 --- a/project.godot +++ b/project.godot @@ -1046,8 +1046,8 @@ esc_show_debug_prompt={ } switch_action_verb={ "deadzone": 0.5, -"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":4,"pressed":false,"doubleclick":false,"script":null) -, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":5,"pressed":false,"doubleclick":false,"script":null) +"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":4,"canceled":false,"pressed":false,"doubleclick":false,"script":null) +, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":5,"canceled":false,"pressed":false,"doubleclick":false,"script":null) ] } ui_show_hints={