1- [gd_scene load_steps =18 format =2 ]
1+ [gd_scene load_steps =19 format =2 ]
22
33[ext_resource path ="res://Player.tscn" type ="PackedScene" id =1 ]
44[ext_resource path ="res://EditorTileset.tres" type ="TileSet" id =2 ]
77[ext_resource path ="res://dpcomic.ttf" type ="DynamicFontData" id =5 ]
88[ext_resource path ="res://HUD.gd" type ="Script" id =6 ]
99[ext_resource path ="res://Minimap.gd" type ="Script" id =7 ]
10+ [ext_resource path ="res://Sprites/Spells/Empty.png" type ="Texture" id =8 ]
1011
1112[sub_resource type ="StyleBoxFlat" id =1 ]
1213content_margin_top = 3.0
@@ -190,47 +191,46 @@ __meta__ = {
190191"_edit_use_anchors_" : false
191192}
192193
193- [node name ="Slot1" type ="Panel" parent ="HUD/HUD/Spells" ]
194- modulate = Color ( 0.47451 , 0.345098 , 0.529412 , 1 )
194+ [node name ="Slot1" type ="TextureRect" parent ="HUD/HUD/Spells" ]
195195margin_right = 16.0
196196margin_bottom = 16.0
197197rect_min_size = Vector2 ( 16 , 16 )
198- custom_styles/panel = SubResource ( 3 )
198+ texture = ExtResource ( 8 )
199199
200- [node name ="Slot2" type ="Panel " parent ="HUD/HUD/Spells" ]
200+ [node name ="Slot2" type ="TextureRect " parent ="HUD/HUD/Spells" ]
201201margin_left = 20.0
202202margin_right = 36.0
203203margin_bottom = 16.0
204204rect_min_size = Vector2 ( 16 , 16 )
205- custom_styles/panel = SubResource ( 3 )
205+ texture = ExtResource ( 8 )
206206
207- [node name ="Slot3" type ="Panel " parent ="HUD/HUD/Spells" ]
207+ [node name ="Slot3" type ="TextureRect " parent ="HUD/HUD/Spells" ]
208208margin_left = 40.0
209209margin_right = 56.0
210210margin_bottom = 16.0
211211rect_min_size = Vector2 ( 16 , 16 )
212- custom_styles/panel = SubResource ( 3 )
212+ texture = ExtResource ( 8 )
213213
214- [node name ="Slot4" type ="Panel " parent ="HUD/HUD/Spells" ]
214+ [node name ="Slot4" type ="TextureRect " parent ="HUD/HUD/Spells" ]
215215margin_left = 60.0
216216margin_right = 76.0
217217margin_bottom = 16.0
218218rect_min_size = Vector2 ( 16 , 16 )
219- custom_styles/panel = SubResource ( 3 )
219+ texture = ExtResource ( 8 )
220220
221- [node name ="Slot5" type ="Panel " parent ="HUD/HUD/Spells" ]
221+ [node name ="Slot5" type ="TextureRect " parent ="HUD/HUD/Spells" ]
222222margin_left = 80.0
223223margin_right = 96.0
224224margin_bottom = 16.0
225225rect_min_size = Vector2 ( 16 , 16 )
226- custom_styles/panel = SubResource ( 3 )
226+ texture = ExtResource ( 8 )
227227
228- [node name ="Slot6" type ="Panel " parent ="HUD/HUD/Spells" ]
228+ [node name ="Slot6" type ="TextureRect " parent ="HUD/HUD/Spells" ]
229229margin_left = 100.0
230230margin_right = 116.0
231231margin_bottom = 16.0
232232rect_min_size = Vector2 ( 16 , 16 )
233- custom_styles/panel = SubResource ( 3 )
233+ texture = ExtResource ( 8 )
234234
235235[node name ="SpellBag" type ="VBoxContainer" parent ="HUD/HUD" ]
236236margin_left = 4.0
@@ -241,59 +241,55 @@ __meta__ = {
241241"_edit_use_anchors_" : false
242242}
243243
244- [node name ="Slot1" type ="Panel" parent ="HUD/HUD/SpellBag" ]
245- modulate = Color ( 0.47451 , 0.345098 , 0.529412 , 1 )
244+ [node name ="Slot1" type ="TextureRect" parent ="HUD/HUD/SpellBag" ]
246245margin_right = 16.0
247246margin_bottom = 16.0
248247rect_min_size = Vector2 ( 16 , 16 )
249- custom_styles/panel = SubResource ( 3 )
248+ texture = ExtResource ( 8 )
250249
251- [node name ="Slot2" type ="Panel " parent ="HUD/HUD/SpellBag" ]
250+ [node name ="Slot2" type ="TextureRect " parent ="HUD/HUD/SpellBag" ]
252251margin_top = 20.0
253252margin_right = 16.0
254253margin_bottom = 36.0
255254rect_min_size = Vector2 ( 16 , 16 )
256- custom_styles/panel = SubResource ( 3 )
255+ texture = ExtResource ( 8 )
257256
258- [node name ="Slot3" type ="Panel " parent ="HUD/HUD/SpellBag" ]
257+ [node name ="Slot3" type ="TextureRect " parent ="HUD/HUD/SpellBag" ]
259258margin_top = 40.0
260259margin_right = 16.0
261260margin_bottom = 56.0
262261rect_min_size = Vector2 ( 16 , 16 )
263- custom_styles/panel = SubResource ( 3 )
262+ texture = ExtResource ( 8 )
264263
265- [node name ="Slot4" type ="Panel " parent ="HUD/HUD/SpellBag" ]
264+ [node name ="Slot4" type ="TextureRect " parent ="HUD/HUD/SpellBag" ]
266265margin_top = 60.0
267266margin_right = 16.0
268267margin_bottom = 76.0
269268rect_min_size = Vector2 ( 16 , 16 )
270- custom_styles/panel = SubResource ( 3 )
269+ texture = ExtResource ( 8 )
271270
272- [node name ="Slot5" type ="Panel " parent ="HUD/HUD/SpellBag" ]
271+ [node name ="Slot5" type ="TextureRect " parent ="HUD/HUD/SpellBag" ]
273272margin_top = 80.0
274273margin_right = 16.0
275274margin_bottom = 96.0
276275rect_min_size = Vector2 ( 16 , 16 )
277- custom_styles/panel = SubResource ( 3 )
276+ texture = ExtResource ( 8 )
278277
279- [node name ="Slot6" type ="Panel " parent ="HUD/HUD/SpellBag" ]
278+ [node name ="Slot6" type ="TextureRect " parent ="HUD/HUD/SpellBag" ]
280279margin_top = 100.0
281280margin_right = 16.0
282281margin_bottom = 116.0
283282rect_min_size = Vector2 ( 16 , 16 )
284- custom_styles/panel = SubResource ( 3 )
283+ texture = ExtResource ( 8 )
285284
286- [node name ="MouseSlot" type ="Panel " parent ="HUD/HUD" ]
285+ [node name ="MouseSlot" type ="TextureRect " parent ="HUD/HUD" ]
287286visible = false
288287margin_left = 4.0
289288margin_top = 182.0
290289margin_right = 20.0
291290margin_bottom = 198.0
292291rect_min_size = Vector2 ( 16 , 16 )
293- custom_styles/panel = SubResource ( 3 )
294- __meta__ = {
295- "_edit_use_anchors_" : false
296- }
292+ texture = ExtResource ( 8 )
297293
298294[node name ="Description" type ="Panel" parent ="HUD/HUD" ]
299295margin_left = 40.0
@@ -457,5 +453,5 @@ drag_margin_top = 0.4
457453drag_margin_bottom = 0.4
458454
459455[connection signal ="player_died" from ="Player" to ="HUD" method ="_on_player_died" ]
460- [connection signal ="generated_world" from ="World" to ="Player" method ="_on_generated_world" ]
461456[connection signal ="generated_world" from ="World" to ="HUD" method ="_on_generated_world" ]
457+ [connection signal ="generated_world" from ="World" to ="Player" method ="_on_generated_world" ]
0 commit comments