|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
[gd_scene load_steps=30 format=2]
|
|
|
|
|
[gd_scene load_steps=31 format=2]
|
|
|
|
|
|
|
|
|
|
[ext_resource path="res://res/level/neighbor.png" type="Texture" id=1]
|
|
|
|
|
[ext_resource path="res://res/character/girl.png" type="Texture" id=2]
|
|
|
|
@ -108,26 +108,36 @@ flags = 4
|
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
|
region = Rect2( 0, 200, 33, 50 )
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=23]
|
|
|
|
|
flags = 4
|
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
|
region = Rect2( 0, 0, 33, 50 )
|
|
|
|
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id=21]
|
|
|
|
|
animations = [ {
|
|
|
|
|
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ) ],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": "WalkRight",
|
|
|
|
|
"speed": 5.0
|
|
|
|
|
"speed": 10.0
|
|
|
|
|
}, {
|
|
|
|
|
"frames": [ SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ) ],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": "WalkLeft",
|
|
|
|
|
"speed": 5.0
|
|
|
|
|
"speed": 10.0
|
|
|
|
|
}, {
|
|
|
|
|
"frames": [ SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ) ],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": "WalkUp",
|
|
|
|
|
"speed": 5.0
|
|
|
|
|
"speed": 10.0
|
|
|
|
|
}, {
|
|
|
|
|
"frames": [ SubResource( 16 ), SubResource( 17 ), SubResource( 18 ), SubResource( 19 ), SubResource( 20 ) ],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": "WalkDown",
|
|
|
|
|
"speed": 10.0
|
|
|
|
|
}, {
|
|
|
|
|
"frames": [ SubResource( 23 ) ],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": "Idle",
|
|
|
|
|
"speed": 5.0
|
|
|
|
|
} ]
|
|
|
|
|
|
|
|
|
@ -156,7 +166,7 @@ script = ExtResource( 5 )
|
|
|
|
|
|
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="World/Enter/Girl/KinematicBody2D"]
|
|
|
|
|
frames = SubResource( 21 )
|
|
|
|
|
animation = "WalkDown"
|
|
|
|
|
animation = "Idle"
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="World/Enter/Girl/KinematicBody2D"]
|
|
|
|
|
position = Vector2( 1, -2 )
|
|
|
|
|