48 lines
2.4 KiB
Text
48 lines
2.4 KiB
Text
[gd_scene load_steps=11 format=3 uid="uid://baa8gpicw2yg0"]
|
|
|
|
[ext_resource type="Script" uid="uid://bjiap06gs02j" path="res://scenes/dragons/dragon_sprite.gd" id="1_oaoux"]
|
|
[ext_resource type="Resource" uid="uid://cnhwn6kfcbjl5" path="res://assets/outfits/hats.tres" id="2_mxc00"]
|
|
[ext_resource type="Resource" uid="uid://etegcak2sphs" path="res://assets/outfits/shirts.tres" id="3_umqeb"]
|
|
[ext_resource type="Resource" uid="uid://ba5684xylts3f" path="res://assets/outfits/decor.tres" id="4_7b2ll"]
|
|
[ext_resource type="Resource" uid="uid://bcs60f2k7h0jc" path="res://assets/outfits/dragons.tres" id="5_x2k4p"]
|
|
[ext_resource type="SpriteFrames" uid="uid://4cm7picl2gvs" path="res://assets/animations/dragons/green.tres" id="6_yf7bj"]
|
|
[ext_resource type="SpriteFrames" uid="uid://cwxqw54jvqryh" path="res://assets/animations/hats/barretina.tres" id="10_7b2ll"]
|
|
[ext_resource type="SpriteFrames" uid="uid://csm1127xw2qoh" path="res://assets/animations/shirts/traje.tres" id="11_x2k4p"]
|
|
[ext_resource type="SpriteFrames" uid="uid://cjoufnwxcvvf4" path="res://assets/animations/decor/rosa.tres" id="12_rhebu"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_oaoux"]
|
|
size = Vector2(108, 88)
|
|
|
|
[node name="Dragon" type="Node2D" node_paths=PackedStringArray("hat", "shirt", "decor", "color")]
|
|
script = ExtResource("1_oaoux")
|
|
hat = NodePath("Dragon/Hat")
|
|
shirt = NodePath("Dragon/Shirt")
|
|
decor = NodePath("Dragon/Decor")
|
|
color = NodePath("Dragon")
|
|
hat_outfits = ExtResource("2_mxc00")
|
|
shirt_outfits = ExtResource("3_umqeb")
|
|
decor_outfits = ExtResource("4_7b2ll")
|
|
color_outfits = ExtResource("5_x2k4p")
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
position = Vector2(54, 44)
|
|
shape = SubResource("RectangleShape2D_oaoux")
|
|
|
|
[node name="Dragon" type="AnimatedSprite2D" parent="."]
|
|
position = Vector2(54, 34)
|
|
sprite_frames = ExtResource("6_yf7bj")
|
|
|
|
[node name="Hat" type="AnimatedSprite2D" parent="Dragon"]
|
|
sprite_frames = ExtResource("10_7b2ll")
|
|
|
|
[node name="Shirt" type="AnimatedSprite2D" parent="Dragon"]
|
|
sprite_frames = ExtResource("11_x2k4p")
|
|
|
|
[node name="Decor" type="AnimatedSprite2D" parent="Dragon"]
|
|
sprite_frames = ExtResource("12_rhebu")
|
|
animation = &"walk"
|
|
|
|
[connection signal="mouse_entered" from="Area2D" to="." method="_on_area_2d_mouse_entered"]
|
|
[connection signal="mouse_exited" from="Area2D" to="." method="_on_area_2d_mouse_exited"]
|