51 lines
2.4 KiB
Text
51 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://x063x858re3f" path="res://assets/outfits/hats.tres" id="2_mxc00"]
|
|
[ext_resource type="Resource" uid="uid://bsydervvb1jpe" path="res://assets/outfits/shirts.tres" id="3_umqeb"]
|
|
[ext_resource type="Resource" uid="uid://dkm7d10c1lp2n" path="res://assets/outfits/decor.tres" id="4_7b2ll"]
|
|
[ext_resource type="Resource" uid="uid://c03ejnvavmcj5" path="res://assets/outfits/dragons.tres" id="5_x2k4p"]
|
|
[ext_resource type="SpriteFrames" uid="uid://duxxw4mfxql3c" path="res://assets/animations/dragons/verd.tres" id="6_yf7bj"]
|
|
[ext_resource type="SpriteFrames" uid="uid://ccxyplt2t7t6y" path="res://assets/animations/hats/barretina.tres" id="10_7b2ll"]
|
|
[ext_resource type="SpriteFrames" uid="uid://dsxhfu2ekw7j" path="res://assets/animations/shirts/traje.tres" id="11_x2k4p"]
|
|
[ext_resource type="SpriteFrames" uid="uid://c5rqqy7b5ihi5" 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")
|
|
animation = &"idle"
|
|
|
|
[node name="Hat" type="AnimatedSprite2D" parent="Dragon"]
|
|
sprite_frames = ExtResource("10_7b2ll")
|
|
animation = &"idle"
|
|
|
|
[node name="Shirt" type="AnimatedSprite2D" parent="Dragon"]
|
|
sprite_frames = ExtResource("11_x2k4p")
|
|
animation = &"idle"
|
|
|
|
[node name="Decor" type="AnimatedSprite2D" parent="Dragon"]
|
|
sprite_frames = ExtResource("12_rhebu")
|
|
animation = &"idle"
|
|
|
|
[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"]
|