- [gd_scene load_steps=20 format=2]
-
- [ext_resource path="res://prefab/role/Role.tscn" type="PackedScene" id=1]
- [ext_resource path="res://resource/materlal/Blend.gdshader" type="Shader" id=2]
- [ext_resource path="res://resource/sprite/role/role8.png" type="Texture" id=3]
-
- [sub_resource type="ShaderMaterial" id=1]
- resource_local_to_scene = true
- shader = ExtResource( 2 )
- shader_param/blend = Color( 1, 1, 1, 1 )
- shader_param/schedule = 1.0
-
- [sub_resource type="ShaderMaterial" id=2]
- resource_local_to_scene = true
- shader = ExtResource( 2 )
- shader_param/blend = Color( 1, 1, 1, 1 )
- shader_param/schedule = 0.0
-
- [sub_resource type="AtlasTexture" id=7]
- atlas = ExtResource( 3 )
- region = Rect2( 0, 24, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=8]
- atlas = ExtResource( 3 )
- region = Rect2( 16, 24, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=9]
- atlas = ExtResource( 3 )
- region = Rect2( 32, 24, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=10]
- atlas = ExtResource( 3 )
- region = Rect2( 48, 24, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=11]
- atlas = ExtResource( 3 )
- region = Rect2( 0, 48, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=12]
- atlas = ExtResource( 3 )
- region = Rect2( 16, 48, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=13]
- atlas = ExtResource( 3 )
- region = Rect2( 32, 48, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=14]
- atlas = ExtResource( 3 )
- region = Rect2( 48, 48, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=15]
- atlas = ExtResource( 3 )
- region = Rect2( 0, 48, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=16]
- atlas = ExtResource( 3 )
- region = Rect2( 16, 48, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=17]
- atlas = ExtResource( 3 )
- region = Rect2( 32, 48, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=18]
- atlas = ExtResource( 3 )
- region = Rect2( 48, 48, 16, 24 )
-
- [sub_resource type="SpriteFrames" id=19]
- animations = [ {
- "frames": [ SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ) ],
- "loop": true,
- "name": "idle",
- "speed": 7.0
- }, {
- "frames": [ SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ) ],
- "loop": true,
- "name": "reverseRun",
- "speed": 10.0
- }, {
- "frames": [ SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ) ],
- "loop": true,
- "name": "run",
- "speed": 10.0
- } ]
-
- [sub_resource type="CircleShape2D" id=20]
- radius = 4.0
-
- [node name="Enemy" instance=ExtResource( 1 )]
- CollisionLayer = 16
- CollisionMask = 25
-
- [node name="ShadowSprite" parent="." index="0"]
- material = SubResource( 1 )
-
- [node name="AnimatedSprite" parent="." index="2"]
- material = SubResource( 2 )
- frames = SubResource( 19 )
- playing = true
-
- [node name="Collision" parent="." index="3"]
- shape = SubResource( 20 )
-
- [node name="ViewRay" type="RayCast2D" parent="." index="6"]
- position = Vector2( 0, -8 )
-
- [node name="NavigationPoint" type="Position2D" parent="." index="8"]
- position = Vector2( 0, -5 )
-
- [node name="NavigationAgent2D" type="NavigationAgent2D" parent="NavigationPoint" index="0"]
- radius = 20.0