feat: choose outfit from library when creating a dragon
This commit is contained in:
parent
fd8609c0ab
commit
f07b28d2dc
22 changed files with 370 additions and 17 deletions
9
assets/outfits/shoes.tres
Normal file
9
assets/outfits/shoes.tres
Normal file
|
@ -0,0 +1,9 @@
|
|||
[gd_resource type="Resource" script_class="DragonOutfit" load_steps=3 format=3 uid="uid://ba5684xylts3f"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://8srlwinjr3tt" path="res://assets/sprites/shoes.png" id="1_2hegr"]
|
||||
[ext_resource type="Script" uid="uid://rw26nny160xh" path="res://src/dragon_outfit.gd" id="1_lu1y3"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_lu1y3")
|
||||
outfits = Array[Texture2D]([ExtResource("1_2hegr")])
|
||||
metadata/_custom_type_script = "uid://rw26nny160xh"
|
Loading…
Add table
Add a link
Reference in a new issue