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.
37 lines
1.5 KiB
Plaintext
37 lines
1.5 KiB
Plaintext
3 years ago
|
[gd_scene load_steps=13 format=2]
|
||
|
|
||
|
[ext_resource path="res://Enemy.gd" type="Script" id=1]
|
||
|
[ext_resource path="res://assets/art/enemy-idle/idle-5.png" type="Texture" id=2]
|
||
|
[ext_resource path="res://assets/art/enemy-idle/idle-8.png" type="Texture" id=3]
|
||
|
[ext_resource path="res://assets/art/enemy-idle/idle-9.png" type="Texture" id=4]
|
||
|
[ext_resource path="res://assets/art/enemy-idle/idle-4.png" type="Texture" id=5]
|
||
|
[ext_resource path="res://assets/art/enemy-idle/idle-7.png" type="Texture" id=6]
|
||
|
[ext_resource path="res://assets/art/enemy-idle/idle-2.png" type="Texture" id=7]
|
||
|
[ext_resource path="res://assets/art/enemy-idle/idle-1.png" type="Texture" id=8]
|
||
|
[ext_resource path="res://assets/art/enemy-idle/idle-3.png" type="Texture" id=9]
|
||
|
[ext_resource path="res://assets/art/enemy-idle/idle-6.png" type="Texture" id=10]
|
||
|
|
||
|
[sub_resource type="SpriteFrames" id=1]
|
||
|
animations = [ {
|
||
|
"frames": [ ExtResource( 8 ), ExtResource( 7 ), ExtResource( 9 ), ExtResource( 5 ), ExtResource( 2 ), ExtResource( 10 ), ExtResource( 6 ), ExtResource( 3 ), ExtResource( 4 ) ],
|
||
|
"loop": true,
|
||
|
"name": "idle",
|
||
|
"speed": 10.0
|
||
|
} ]
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id=2]
|
||
|
radius = 14.0651
|
||
|
|
||
|
[node name="Enemy" type="KinematicBody2D"]
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
||
|
frames = SubResource( 1 )
|
||
|
animation = "idle"
|
||
|
frame = 7
|
||
|
playing = true
|
||
|
offset = Vector2( 0, -10 )
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource( 2 )
|