- [gd_scene load_steps=19 format=3 uid="uid://cdohv4xeirtuc"]
-
- [ext_resource type="PackedScene" uid="uid://b515ti0qinck8" path="res://prefab/role/Role.tscn" id="1"]
- [ext_resource type="Shader" path="res://resource/materlal/Blend.gdshader" id="2_nvo1u"]
- [ext_resource type="Texture2D" uid="uid://bhwhhg2dfsr26" path="res://resource/sprite/role/role2.png" id="3_55mk2"]
-
- [sub_resource type="ShaderMaterial" id="ShaderMaterial_vejn8"]
- resource_local_to_scene = true
- shader = ExtResource("2_nvo1u")
- shader_parameter/blend = Color(0, 0, 0, 0.470588)
- shader_parameter/schedule = 1
-
- [sub_resource type="ShaderMaterial" id="ShaderMaterial_0gb8j"]
- resource_local_to_scene = true
- shader = ExtResource("2_nvo1u")
- shader_parameter/blend = Color(1, 1, 1, 1)
- shader_parameter/schedule = 0
-
- [sub_resource type="AtlasTexture" id="AtlasTexture_dvg4a"]
- atlas = ExtResource("3_55mk2")
- region = Rect2(0, 24, 16, 24)
-
- [sub_resource type="AtlasTexture" id="AtlasTexture_kvuct"]
- atlas = ExtResource("3_55mk2")
- region = Rect2(16, 24, 16, 24)
-
- [sub_resource type="AtlasTexture" id="AtlasTexture_5op76"]
- atlas = ExtResource("3_55mk2")
- region = Rect2(32, 24, 16, 24)
-
- [sub_resource type="AtlasTexture" id="AtlasTexture_helyc"]
- atlas = ExtResource("3_55mk2")
- region = Rect2(48, 24, 16, 24)
-
- [sub_resource type="AtlasTexture" id="AtlasTexture_67mn8"]
- atlas = ExtResource("3_55mk2")
- region = Rect2(48, 48, 16, 24)
-
- [sub_resource type="AtlasTexture" id="AtlasTexture_jeywq"]
- atlas = ExtResource("3_55mk2")
- region = Rect2(32, 48, 16, 24)
-
- [sub_resource type="AtlasTexture" id="AtlasTexture_oycx8"]
- atlas = ExtResource("3_55mk2")
- region = Rect2(16, 48, 16, 24)
-
- [sub_resource type="AtlasTexture" id="AtlasTexture_tjg1t"]
- atlas = ExtResource("3_55mk2")
- region = Rect2(0, 48, 16, 24)
-
- [sub_resource type="AtlasTexture" id="AtlasTexture_2ltxw"]
- atlas = ExtResource("3_55mk2")
- region = Rect2(0, 48, 16, 24)
-
- [sub_resource type="AtlasTexture" id="AtlasTexture_x1va1"]
- atlas = ExtResource("3_55mk2")
- region = Rect2(16, 48, 16, 24)
-
- [sub_resource type="AtlasTexture" id="AtlasTexture_ic2p5"]
- atlas = ExtResource("3_55mk2")
- region = Rect2(32, 48, 16, 24)
-
- [sub_resource type="AtlasTexture" id="AtlasTexture_j3hdu"]
- atlas = ExtResource("3_55mk2")
- region = Rect2(48, 48, 16, 24)
-
- [sub_resource type="SpriteFrames" id="SpriteFrames_3poqo"]
- animations = [{
- "frames": [{
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_dvg4a")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_kvuct")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_5op76")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_helyc")
- }],
- "loop": true,
- "name": &"idle",
- "speed": 7.0
- }, {
- "frames": [{
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_67mn8")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_jeywq")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_oycx8")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_tjg1t")
- }],
- "loop": true,
- "name": &"reverseRun",
- "speed": 10.0
- }, {
- "frames": [{
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_2ltxw")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_x1va1")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_ic2p5")
- }, {
- "duration": 1.0,
- "texture": SubResource("AtlasTexture_j3hdu")
- }],
- "loop": true,
- "name": &"run",
- "speed": 10.0
- }]
-
- [node name="Player" instance=ExtResource("1")]
- collision_layer = 8
- collision_mask = 1
-
- [node name="ShadowSprite" parent="." index="0"]
- material = SubResource("ShaderMaterial_vejn8")
-
- [node name="AnimatedSprite" parent="." index="2"]
- material = SubResource("ShaderMaterial_0gb8j")
- sprite_frames = SubResource("SpriteFrames_3poqo")
- animation = &"idle"