Blud_Mage/Scenes/Spawnables/template_spawnable.tscn

264 lines
7.1 KiB
Plaintext
Raw Normal View History

2023-10-10 14:54:21 -04:00
[gd_scene load_steps=37 format=3 uid="uid://kkfxguj0lr5a"]
2023-10-10 10:28:09 -04:00
2023-10-10 13:30:23 -04:00
[ext_resource type="Script" path="res://Scenes/Spawnables/template_spawnable.gd" id="1_rkej7"]
[ext_resource type="Texture2D" uid="uid://f60ndepwmpj2" path="res://Assets/Bat/noBKG_BatAttack_strip.png" id="2_7ayi7"]
[ext_resource type="Texture2D" uid="uid://bd74k1s6qdx2r" path="res://Assets/Bat/noBKG_BatDeath_strip.png" id="3_jipj7"]
[ext_resource type="Texture2D" uid="uid://ddvr5ltbo8ome" path="res://Assets/Bat/noBKG_BatFlight_strip.png" id="4_u36ok"]
2023-10-10 11:21:55 -04:00
[sub_resource type="AtlasTexture" id="AtlasTexture_y0lcs"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("2_7ayi7")
2023-10-10 11:21:55 -04:00
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_3te70"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("2_7ayi7")
2023-10-10 11:21:55 -04:00
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_8bbsy"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("2_7ayi7")
2023-10-10 11:21:55 -04:00
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_u466m"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("2_7ayi7")
2023-10-10 11:21:55 -04:00
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_mbryr"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("2_7ayi7")
2023-10-10 11:21:55 -04:00
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_qktvn"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("2_7ayi7")
2023-10-10 11:21:55 -04:00
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_cvyc6"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("2_7ayi7")
2023-10-10 11:21:55 -04:00
region = Rect2(384, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_7q0ye"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("2_7ayi7")
2023-10-10 11:21:55 -04:00
region = Rect2(448, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_xtaoc"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("2_7ayi7")
2023-10-10 11:21:55 -04:00
region = Rect2(512, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_bxitd"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("2_7ayi7")
2023-10-10 11:21:55 -04:00
region = Rect2(576, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_fceiv"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("3_jipj7")
2023-10-10 11:21:55 -04:00
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_j2d0r"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("3_jipj7")
2023-10-10 11:21:55 -04:00
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_bbp3t"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("3_jipj7")
2023-10-10 11:21:55 -04:00
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_xfqr4"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("3_jipj7")
2023-10-10 11:21:55 -04:00
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_s2tpc"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("3_jipj7")
2023-10-10 11:21:55 -04:00
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ipc4l"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("3_jipj7")
2023-10-10 11:21:55 -04:00
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_4fipm"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("3_jipj7")
2023-10-10 11:21:55 -04:00
region = Rect2(384, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_xnm62"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("3_jipj7")
2023-10-10 11:21:55 -04:00
region = Rect2(448, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_itxso"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("3_jipj7")
2023-10-10 11:21:55 -04:00
region = Rect2(512, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_7bunh"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("3_jipj7")
2023-10-10 11:21:55 -04:00
region = Rect2(576, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_2gneh"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("4_u36ok")
2023-10-10 11:21:55 -04:00
region = Rect2(0, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_0edov"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("4_u36ok")
2023-10-10 11:21:55 -04:00
region = Rect2(64, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_312tg"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("4_u36ok")
2023-10-10 11:21:55 -04:00
region = Rect2(128, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_5y1ay"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("4_u36ok")
2023-10-10 11:21:55 -04:00
region = Rect2(192, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_igb7j"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("4_u36ok")
2023-10-10 11:21:55 -04:00
region = Rect2(256, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ebjmq"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("4_u36ok")
2023-10-10 11:21:55 -04:00
region = Rect2(320, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_hgxj4"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("4_u36ok")
2023-10-10 11:21:55 -04:00
region = Rect2(384, 0, 64, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_3ywov"]
2023-10-10 13:30:23 -04:00
atlas = ExtResource("4_u36ok")
2023-10-10 11:21:55 -04:00
region = Rect2(448, 0, 64, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_k6v1d"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_y0lcs")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3te70")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_8bbsy")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_u466m")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_mbryr")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_qktvn")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_cvyc6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7q0ye")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xtaoc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bxitd")
}],
2023-10-10 14:54:21 -04:00
"loop": false,
2023-10-10 11:21:55 -04:00
"name": &"attack",
"speed": 12.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_fceiv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_j2d0r")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bbp3t")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xfqr4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_s2tpc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ipc4l")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4fipm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xnm62")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_itxso")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_7bunh")
}],
2023-10-10 14:54:21 -04:00
"loop": false,
2023-10-10 11:21:55 -04:00
"name": &"death",
"speed": 12.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_2gneh")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0edov")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_312tg")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5y1ay")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_igb7j")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ebjmq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hgxj4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3ywov")
}],
"loop": true,
"name": &"default",
"speed": 12.0
}]
2023-10-10 13:30:23 -04:00
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_5aviq"]
radius = 6.0
height = 14.0
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_2l8j3"]
2023-10-10 15:07:35 -04:00
radius = 7.0
height = 24.0
2023-10-10 14:54:21 -04:00
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_o2kl1"]
2023-10-10 15:07:35 -04:00
radius = 8.0
2023-10-10 13:30:23 -04:00
[node name="TemplateSpawnable" type="CharacterBody2D"]
collision_layer = 6
collision_mask = 6
script = ExtResource("1_rkej7")
2023-10-10 11:21:55 -04:00
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_k6v1d")
2023-10-10 14:54:21 -04:00
animation = &"attack"
frame = 7
frame_progress = 0.387978
2023-10-10 11:21:55 -04:00
2023-10-10 13:30:23 -04:00
[node name="BodyCollision" type="CollisionShape2D" parent="."]
rotation = 1.5708
shape = SubResource("CapsuleShape2D_5aviq")
[node name="Attack" type="Area2D" parent="."]
[node name="AttackCollision" type="CollisionShape2D" parent="Attack"]
2023-10-10 14:54:21 -04:00
position = Vector2(1, 1)
2023-10-10 13:30:23 -04:00
rotation = 1.5708
shape = SubResource("CapsuleShape2D_2l8j3")
2023-10-10 14:54:21 -04:00
debug_color = Color(0.678431, 0.556863, 0.137255, 0.419608)
[node name="DamageCollision" type="CollisionShape2D" parent="Attack"]
position = Vector2(2, 2)
rotation = 1.5708
shape = SubResource("CapsuleShape2D_o2kl1")
2023-10-10 15:09:24 -04:00
disabled = true
2023-10-10 14:54:21 -04:00
debug_color = Color(0.639216, 0, 0.156863, 0.419608)
2023-10-10 13:30:23 -04:00
[node name="AI" type="Node" parent="."]