- [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/role2.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=20]
- atlas = ExtResource( 3 )
- region = Rect2( 0, 24, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=21]
- atlas = ExtResource( 3 )
- region = Rect2( 16, 24, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=22]
- atlas = ExtResource( 3 )
- region = Rect2( 32, 24, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=23]
- atlas = ExtResource( 3 )
- region = Rect2( 48, 24, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=24]
- atlas = ExtResource( 3 )
- region = Rect2( 0, 48, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=25]
- atlas = ExtResource( 3 )
- region = Rect2( 16, 48, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=26]
- atlas = ExtResource( 3 )
- region = Rect2( 32, 48, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=27]
- atlas = ExtResource( 3 )
- region = Rect2( 48, 48, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=28]
- atlas = ExtResource( 3 )
- region = Rect2( 0, 48, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=29]
- atlas = ExtResource( 3 )
- region = Rect2( 16, 48, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=30]
- atlas = ExtResource( 3 )
- region = Rect2( 32, 48, 16, 24 )
-
- [sub_resource type="AtlasTexture" id=31]
- atlas = ExtResource( 3 )
- region = Rect2( 48, 48, 16, 24 )
-
- [sub_resource type="SpriteFrames" id=19]
- animations = [ {
- "frames": [ SubResource( 20 ), SubResource( 21 ), SubResource( 22 ), SubResource( 23 ) ],
- "loop": true,
- "name": "idle",
- "speed": 7.0
- }, {
- "frames": [ SubResource( 24 ), SubResource( 25 ), SubResource( 26 ), SubResource( 27 ) ],
- "loop": true,
- "name": "reverseRun",
- "speed": 10.0
- }, {
- "frames": [ SubResource( 28 ), SubResource( 29 ), SubResource( 30 ), SubResource( 31 ) ],
- "loop": true,
- "name": "run",
- "speed": 10.0
- } ]
-
- [sub_resource type="CircleShape2D" id=32]
- radius = 4.0
-
- [node name="Player" instance=ExtResource( 1 )]
- CollisionLayer = 8
- 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"]
- position = Vector2( 0, -3 )
- shape = SubResource( 32 )