This repository has been archived on 2024-08-28. You can view files and clone it, but cannot push or open issues or pull requests.
gmtk-2024/enemies/Crawler.tscn

313 lines
8.2 KiB
Text
Raw Normal View History

[gd_scene load_steps=36 format=3 uid="uid://n65kl0jalqdt"]
2024-08-19 01:44:16 +00:00
[ext_resource type="Texture2D" uid="uid://b447sysxt4rhp" path="res://assets/art/export/crawler-.png" id="1_bdup0"]
[ext_resource type="Script" path="res://enemies/crawler.gd" id="1_dcux3"]
[ext_resource type="AudioStream" uid="uid://dfrc2luquqqlw" path="res://assets/sound/Explode.wav" id="3_qvljj"]
[sub_resource type="AtlasTexture" id="AtlasTexture_6iqis"]
atlas = ExtResource("1_bdup0")
region = Rect2(0, 0, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_hk6n7"]
atlas = ExtResource("1_bdup0")
region = Rect2(128, 128, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_i7pjq"]
atlas = ExtResource("1_bdup0")
region = Rect2(256, 128, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_0bqgy"]
atlas = ExtResource("1_bdup0")
region = Rect2(384, 128, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_b7rtd"]
atlas = ExtResource("1_bdup0")
region = Rect2(512, 128, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_ma61w"]
atlas = ExtResource("1_bdup0")
region = Rect2(640, 128, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_gxbrf"]
atlas = ExtResource("1_bdup0")
region = Rect2(0, 192, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_jnxq4"]
atlas = ExtResource("1_bdup0")
region = Rect2(128, 192, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_61s2s"]
atlas = ExtResource("1_bdup0")
region = Rect2(256, 192, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_4h7cf"]
atlas = ExtResource("1_bdup0")
region = Rect2(384, 192, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_4x8lu"]
atlas = ExtResource("1_bdup0")
region = Rect2(512, 192, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_3grt7"]
atlas = ExtResource("1_bdup0")
region = Rect2(640, 192, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_kw6t0"]
atlas = ExtResource("1_bdup0")
region = Rect2(0, 256, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_jc8y7"]
atlas = ExtResource("1_bdup0")
region = Rect2(128, 256, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_bhh5b"]
atlas = ExtResource("1_bdup0")
region = Rect2(256, 256, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_2w283"]
atlas = ExtResource("1_bdup0")
region = Rect2(384, 256, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_xmmn0"]
atlas = ExtResource("1_bdup0")
region = Rect2(512, 256, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_5emai"]
atlas = ExtResource("1_bdup0")
region = Rect2(512, 64, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_6rkkd"]
atlas = ExtResource("1_bdup0")
region = Rect2(640, 64, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_vb5jc"]
atlas = ExtResource("1_bdup0")
region = Rect2(0, 128, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_3efcj"]
atlas = ExtResource("1_bdup0")
region = Rect2(128, 0, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_bygap"]
atlas = ExtResource("1_bdup0")
region = Rect2(256, 0, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_i5vmv"]
atlas = ExtResource("1_bdup0")
region = Rect2(384, 0, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_f1jsj"]
atlas = ExtResource("1_bdup0")
region = Rect2(512, 0, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_l74ua"]
atlas = ExtResource("1_bdup0")
region = Rect2(640, 0, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_iy6u6"]
atlas = ExtResource("1_bdup0")
region = Rect2(0, 64, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_4xmi3"]
atlas = ExtResource("1_bdup0")
region = Rect2(128, 64, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_4c0s3"]
atlas = ExtResource("1_bdup0")
region = Rect2(256, 64, 128, 64)
[sub_resource type="AtlasTexture" id="AtlasTexture_3jc57"]
atlas = ExtResource("1_bdup0")
region = Rect2(384, 64, 128, 64)
[sub_resource type="SpriteFrames" id="SpriteFrames_e3bx4"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_6iqis")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_hk6n7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i7pjq")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_0bqgy")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_b7rtd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ma61w")
}],
"loop": true,
"name": &"Whip",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_6iqis")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_gxbrf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jnxq4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_61s2s")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4h7cf")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4x8lu")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3grt7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_kw6t0")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_jc8y7")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bhh5b")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_2w283")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_xmmn0")
}],
"loop": true,
"name": &"death",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_6iqis")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5emai")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6rkkd")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5emai")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vb5jc")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_5emai")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_6iqis")
}],
"loop": true,
"name": &"jump away",
"speed": 10.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_6iqis")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3efcj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_bygap")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_i5vmv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_f1jsj")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_l74ua")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_iy6u6")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4xmi3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_4c0s3")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3jc57")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_3jc57")
}],
"loop": true,
"name": &"walk",
"speed": 10.0
}]
2024-08-18 17:12:13 +00:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_k4vrw"]
size = Vector2(60.5, 63)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_s2a15"]
size = Vector2(48, 28)
[node name="Crawler" type="CharacterBody2D"]
script = ExtResource("1_dcux3")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
texture_filter = 1
position = Vector2(-34, 0)
sprite_frames = SubResource("SpriteFrames_e3bx4")
animation = &"jump away"
metadata/_aseprite_wizard_config_ = {
"layer": "",
"o_ex_p": "",
"o_folder": "res://assets/export",
"o_name": "crawler-",
"only_visible": true,
"slice": "",
"source": "res://assets/crawler_walk.aseprite"
}
metadata/_aseprite_wizard_interface_config_ = {
"output_section": true
}
metadata/_aseprite_wizard_source_file_hash_ = "5428848d159be8aa5f91cd42b4e9cfca"
2024-08-18 17:12:13 +00:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-2, 0)
shape = SubResource("RectangleShape2D_k4vrw")
[node name="WhipArea" type="Area2D" parent="."]
[node name="Area2D" type="CollisionShape2D" parent="WhipArea"]
2024-08-18 17:12:13 +00:00
position = Vector2(-42, 1)
shape = SubResource("RectangleShape2D_s2a15")
debug_color = Color(0.949698, 0.110143, 0.492661, 0.42)
[node name="ExplosionSFX" type="AudioStreamPlayer2D" parent="."]
position = Vector2(-34, 0)
stream = ExtResource("3_qvljj")
volume_db = 10.0
[node name="DeathTimer" type="Timer" parent="."]
wait_time = 1.1
one_shot = true
[node name="HurtTimer" type="Timer" parent="."]
wait_time = 0.6
one_shot = true
[node name="AttackTimer" type="Timer" parent="."]
wait_time = 0.5
one_shot = true
[node name="Recharge" type="Timer" parent="."]
wait_time = 0.5
one_shot = true