-
Notifications
You must be signed in to change notification settings - Fork 0
/
Hotbar.tscn
115 lines (98 loc) · 3.2 KB
/
Hotbar.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[gd_scene load_steps=9 format=2]
[ext_resource path="res://hotbar_selected.tres" type="StyleBox" id=1]
[ext_resource path="res://images/item-belt.png" type="Texture" id=2]
[ext_resource path="res://hotbar_unselected.tres" type="StyleBox" id=3]
[ext_resource path="res://images/item-chest.png" type="Texture" id=4]
[ext_resource path="res://images/item-machine.png" type="Texture" id=5]
[ext_resource path="res://Hotbar.gd" type="Script" id=6]
[ext_resource path="res://images/item-wrench.png" type="Texture" id=7]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.0901961, 0.0901961, 0.0901961, 1 )
[node name="Hotbar" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Panel" type="Panel" parent="."]
margin_left = 110.0
margin_top = 185.0
margin_right = 274.0
margin_bottom = 209.0
custom_styles/panel = SubResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="GridContainer" type="GridContainer" parent="Panel"]
margin_left = 4.0
margin_top = 4.0
margin_right = 288.0
margin_bottom = 56.0
columns = 8
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Slot1" type="Panel" parent="Panel/GridContainer"]
margin_right = 16.0
margin_bottom = 16.0
rect_min_size = Vector2( 16, 16 )
custom_styles/panel = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="Panel/GridContainer/Slot1"]
scale = Vector2( 2, 2 )
texture = ExtResource( 2 )
centered = false
[node name="Slot2" type="Panel" parent="Panel/GridContainer"]
margin_left = 20.0
margin_right = 36.0
margin_bottom = 16.0
rect_min_size = Vector2( 16, 16 )
custom_styles/panel = ExtResource( 3 )
[node name="Sprite" type="Sprite" parent="Panel/GridContainer/Slot2"]
scale = Vector2( 2, 2 )
texture = ExtResource( 5 )
centered = false
[node name="Slot3" type="Panel" parent="Panel/GridContainer"]
margin_left = 40.0
margin_right = 56.0
margin_bottom = 16.0
rect_min_size = Vector2( 16, 16 )
custom_styles/panel = ExtResource( 3 )
[node name="Sprite" type="Sprite" parent="Panel/GridContainer/Slot3"]
scale = Vector2( 2, 2 )
texture = ExtResource( 4 )
centered = false
[node name="Slot4" type="Panel" parent="Panel/GridContainer"]
margin_left = 60.0
margin_right = 76.0
margin_bottom = 16.0
rect_min_size = Vector2( 16, 16 )
custom_styles/panel = ExtResource( 3 )
[node name="Slot5" type="Panel" parent="Panel/GridContainer"]
margin_left = 80.0
margin_right = 96.0
margin_bottom = 16.0
rect_min_size = Vector2( 16, 16 )
custom_styles/panel = ExtResource( 3 )
[node name="Slot6" type="Panel" parent="Panel/GridContainer"]
margin_left = 100.0
margin_right = 116.0
margin_bottom = 16.0
rect_min_size = Vector2( 16, 16 )
custom_styles/panel = ExtResource( 3 )
[node name="Slot7" type="Panel" parent="Panel/GridContainer"]
margin_left = 120.0
margin_right = 136.0
margin_bottom = 16.0
rect_min_size = Vector2( 16, 16 )
custom_styles/panel = ExtResource( 3 )
[node name="Slot8" type="Panel" parent="Panel/GridContainer"]
margin_left = 140.0
margin_right = 156.0
margin_bottom = 16.0
rect_min_size = Vector2( 16, 16 )
custom_styles/panel = ExtResource( 3 )
[node name="Sprite" type="Sprite" parent="Panel/GridContainer/Slot8"]
scale = Vector2( 2, 2 )
texture = ExtResource( 7 )
centered = false