replaced inventory bg with colored polygon
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
[gd_scene load_steps=4 format=2]
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/inventory/inventory_ui.gd" type="Script" id=1]
|
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/inventory/inventory_ui.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://addons/escoria-core/ui_library/inventory/esc_inventory_container.gd" type="Script" id=3]
|
[ext_resource path="res://addons/escoria-core/ui_library/inventory/esc_inventory_container.gd" type="Script" id=3]
|
||||||
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/images/inventory-bg.png" type="Texture" id=4]
|
|
||||||
|
|
||||||
[node name="inventory_ui" type="Control"]
|
[node name="inventory_ui" type="Control"]
|
||||||
anchor_right = 0.5
|
anchor_right = 0.5
|
||||||
@@ -21,38 +20,27 @@ inventory_ui_container = NodePath("FloatingInventory/panel/MarginContainer/Scrol
|
|||||||
|
|
||||||
[node name="FloatingInventory" type="CanvasLayer" parent="."]
|
[node name="FloatingInventory" type="CanvasLayer" parent="."]
|
||||||
|
|
||||||
[node name="paper" type="TextureRect" parent="FloatingInventory"]
|
[node name="Polygon2D" type="Polygon2D" parent="FloatingInventory"]
|
||||||
anchor_right = 1.0
|
color = Color( 0.156863, 0.0627451, 0, 1 )
|
||||||
anchor_bottom = 1.0
|
polygon = PoolVector2Array( -3, 532, 1279, 532, 1279, 752, -3, 757 )
|
||||||
margin_top = 500.0
|
|
||||||
margin_right = 2053.0
|
|
||||||
margin_bottom = 631.0
|
|
||||||
rect_scale = Vector2( 0.39, 0.29 )
|
|
||||||
mouse_filter = 2
|
|
||||||
size_flags_horizontal = 3
|
|
||||||
size_flags_vertical = 3
|
|
||||||
texture = ExtResource( 4 )
|
|
||||||
stretch_mode = 1
|
|
||||||
|
|
||||||
[node name="panel" type="TextureRect" parent="FloatingInventory"]
|
[node name="panel" type="TextureRect" parent="FloatingInventory"]
|
||||||
anchor_left = 1.0
|
anchor_left = 1.0
|
||||||
anchor_top = 1.0
|
anchor_top = 1.0
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
margin_left = -516.0
|
margin_left = -1276.0
|
||||||
margin_top = -160.0
|
margin_top = -160.0
|
||||||
rect_min_size = Vector2( 0, 160 )
|
rect_min_size = Vector2( 0, 160 )
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
size_flags_vertical = 3
|
size_flags_vertical = 3
|
||||||
expand = true
|
expand = true
|
||||||
__meta__ = {
|
|
||||||
"_edit_use_anchors_": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[node name="MarginContainer" type="MarginContainer" parent="FloatingInventory/panel"]
|
[node name="MarginContainer" type="MarginContainer" parent="FloatingInventory/panel"]
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
margin_left = -500.0
|
margin_left = -4.0
|
||||||
|
margin_top = 2.0
|
||||||
margin_right = -16.0
|
margin_right = -16.0
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
size_flags_vertical = 3
|
size_flags_vertical = 3
|
||||||
@@ -63,15 +51,15 @@ custom_constants/margin_bottom = 20
|
|||||||
|
|
||||||
[node name="ScrollContainer" type="ScrollContainer" parent="FloatingInventory/panel/MarginContainer"]
|
[node name="ScrollContainer" type="ScrollContainer" parent="FloatingInventory/panel/MarginContainer"]
|
||||||
margin_left = 20.0
|
margin_left = 20.0
|
||||||
margin_top = 80.0
|
margin_top = 79.0
|
||||||
margin_right = 980.0
|
margin_right = 1244.0
|
||||||
margin_bottom = 80.0
|
margin_bottom = 79.0
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
size_flags_vertical = 6
|
size_flags_vertical = 6
|
||||||
scroll_vertical_enabled = false
|
scroll_vertical_enabled = false
|
||||||
|
|
||||||
[node name="container" type="HBoxContainer" parent="FloatingInventory/panel/MarginContainer/ScrollContainer"]
|
[node name="container" type="HBoxContainer" parent="FloatingInventory/panel/MarginContainer/ScrollContainer"]
|
||||||
margin_right = 960.0
|
margin_right = 1224.0
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
size_flags_vertical = 3
|
size_flags_vertical = 3
|
||||||
custom_constants/separation = 20
|
custom_constants/separation = 20
|
||||||
|
|||||||
Reference in New Issue
Block a user