You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.5 KiB
Plaintext

[gd_scene load_steps=10 format=2]
[ext_resource path="res://dodge_assets/art/enemySwimming_1.png" type="Texture" id=1]
[ext_resource path="res://dodge_assets/art/enemyWalking_1.png" type="Texture" id=2]
[ext_resource path="res://dodge_assets/art/enemySwimming_2.png" type="Texture" id=3]
[ext_resource path="res://dodge_assets/art/enemyFlyingAlt_2.png" type="Texture" id=4]
[ext_resource path="res://dodge_assets/art/enemyFlyingAlt_1.png" type="Texture" id=5]
[ext_resource path="res://dodge_assets/art/enemyWalking_2.png" type="Texture" id=6]
[ext_resource path="res://Mob.gd" type="Script" id=7]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 5 ), ExtResource( 4 ) ],
"loop": true,
"name": "fly",
"speed": 5.0
}, {
"frames": [ ExtResource( 2 ), ExtResource( 6 ) ],
"loop": true,
"name": "walk",
"speed": 3.0
}, {
"frames": [ ExtResource( 1 ), ExtResource( 3 ) ],
"loop": true,
"name": "swim",
"speed": 5.0
} ]
[sub_resource type="CapsuleShape2D" id=2]
radius = 34.9916
height = 29.2442
[node name="Mob" type="RigidBody2D"]
collision_mask = 0
gravity_scale = 0.0
script = ExtResource( 7 )
__meta__ = {
"_edit_group_": true
}
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
scale = Vector2( 0.75, 0.75 )
frames = SubResource( 1 )
animation = "walk"
playing = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.5708
shape = SubResource( 2 )
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]