forked from andreyratz/block
89 lines
2.4 KiB
Plaintext
89 lines
2.4 KiB
Plaintext
[gd_scene format=3 uid="uid://cja4ibeplpuvg"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://db1oeukux1376" path="res://Scenes/Enemy1.tscn" id="1_1lo65"]
|
|
[ext_resource type="Texture2D" uid="uid://c8c6fh1jtdd0i" path="res://Assets/GameplayArt/Creature2Spritesheet.png" id="2_wvt7r"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_uldxc"]
|
|
atlas = ExtResource("2_wvt7r")
|
|
region = Rect2(0, 0, 1002, 1002)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hm5n8"]
|
|
atlas = ExtResource("2_wvt7r")
|
|
region = Rect2(1002, 0, 1002, 1002)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_r1616"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_uldxc")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_hm5n8")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 1.0
|
|
}]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_sli80"]
|
|
radius = 18.0
|
|
|
|
[sub_resource type="Animation" id="Animation_uldxc"]
|
|
resource_name = "Wiggle"
|
|
length = 2.0
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [0, 1]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_wvt7r"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [1]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_hm5n8"]
|
|
_data = {
|
|
&"Idle": SubResource("Animation_uldxc"),
|
|
&"RESET": SubResource("Animation_wvt7r")
|
|
}
|
|
|
|
[node name="Enemy1" unique_id=1765361359 instance=ExtResource("1_1lo65")]
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." index="0" unique_id=769003556]
|
|
visible = false
|
|
rotation = -1.5707964
|
|
scale = Vector2(0.3, 0.3)
|
|
sprite_frames = SubResource("SpriteFrames_r1616")
|
|
frame = 1
|
|
frame_progress = 0.7216727
|
|
|
|
[node name="Sprite2D" parent="." index="1" unique_id=93765061]
|
|
texture = ExtResource("2_wvt7r")
|
|
hframes = 2
|
|
frame = 1
|
|
|
|
[node name="CollisionShape2D" parent="." index="2" unique_id=1856443411]
|
|
shape = SubResource("CircleShape2D_sli80")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="." index="4" unique_id=525993328]
|
|
libraries/ = SubResource("AnimationLibrary_hm5n8")
|