69 lines
2.3 KiB
Plaintext
69 lines
2.3 KiB
Plaintext
[gd_scene format=3 uid="uid://dbqx3rs3h3hfp"]
|
|
|
|
[ext_resource type="Script" uid="uid://duyqhpt2jwq03" path="res://mob.gd" id="1_1qmh0"]
|
|
[ext_resource type="Texture2D" uid="uid://b0iwsl4df2bjb" path="res://dodge_the_creeps_2d_assets/art/enemyFlyingAlt_1.png" id="1_b3mxk"]
|
|
[ext_resource type="Texture2D" uid="uid://qehxsg2oy40s" path="res://dodge_the_creeps_2d_assets/art/enemyFlyingAlt_2.png" id="2_1qmh0"]
|
|
[ext_resource type="Texture2D" uid="uid://prgnhajyuu16" path="res://dodge_the_creeps_2d_assets/art/enemySwimming_1.png" id="3_gfurk"]
|
|
[ext_resource type="Texture2D" uid="uid://c1hfxsqa7ihl1" path="res://dodge_the_creeps_2d_assets/art/enemySwimming_2.png" id="4_ieysi"]
|
|
[ext_resource type="Texture2D" uid="uid://bku233t18ljp7" path="res://dodge_the_creeps_2d_assets/art/enemyWalking_1.png" id="5_cixyi"]
|
|
[ext_resource type="Texture2D" uid="uid://ccqqxvixjqt74" path="res://dodge_the_creeps_2d_assets/art/enemyWalking_2.png" id="6_7ulmv"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_pcqmr"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("1_b3mxk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_1qmh0")
|
|
}],
|
|
"loop": true,
|
|
"name": &"fly",
|
|
"speed": 3.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_gfurk")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_ieysi")
|
|
}],
|
|
"loop": true,
|
|
"name": &"swim",
|
|
"speed": 3.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_cixyi")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("6_7ulmv")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 3.0
|
|
}]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_jbnni"]
|
|
radius = 36.0
|
|
height = 98.0
|
|
|
|
[node name="Mob" type="RigidBody2D" unique_id=2056343375]
|
|
collision_mask = 0
|
|
gravity_scale = 0.0
|
|
script = ExtResource("1_1qmh0")
|
|
metadata/_edit_group_ = true
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1289726092]
|
|
scale = Vector2(0.75, 0.75)
|
|
sprite_frames = SubResource("SpriteFrames_pcqmr")
|
|
animation = &"walk"
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1678413636]
|
|
rotation = 1.5707964
|
|
shape = SubResource("CapsuleShape2D_jbnni")
|
|
|
|
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="." unique_id=2110952912]
|
|
|
|
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]
|