|
|
|
[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]
|
|
|
|
[ext_resource path="res://res/character/randos.png" type="Texture" id=3]
|
|
|
|
[ext_resource path="res://res/character/wolf.png" type="Texture" id=4]
|
|
|
|
[ext_resource path="res://entity/KinematicBody2D.gd" type="Script" id=5]
|
|
|
|
[ext_resource path="res://entity/Girl.gd" type="Script" id=6]
|
|
|
|
[ext_resource path="res://entity/AI/Player.gd" type="Script" id=7]
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=1]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 99, 0, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=2]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 99, 50, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=3]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 99, 100, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=4]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 99, 150, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=5]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 99, 200, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=6]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 33, 0, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=7]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 33, 50, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=8]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 33, 100, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=9]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 33, 150, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=10]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 33, 200, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=11]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 66, 0, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=12]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 66, 50, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=13]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 66, 100, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=14]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 66, 150, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=15]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 66, 200, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=16]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 0, 0, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=17]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 0, 50, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=18]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 0, 100, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=19]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 0, 150, 33, 50 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=20]
|
|
|
|
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": 10.0
|
|
|
|
}, {
|
|
|
|
"frames": [ SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ) ],
|
|
|
|
"loop": true,
|
|
|
|
"name": "WalkLeft",
|
|
|
|
"speed": 10.0
|
|
|
|
}, {
|
|
|
|
"frames": [ SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ) ],
|
|
|
|
"loop": true,
|
|
|
|
"name": "WalkUp",
|
|
|
|
"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
|
|
|
|
} ]
|
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape2D" id=22]
|
|
|
|
radius = 7.49152
|
|
|
|
|
|
|
|
[node name="Node" type="Node"]
|
|
|
|
|
|
|
|
[node name="World" type="Node2D" parent="."]
|
|
|
|
|
|
|
|
[node name="Level" type="Sprite" parent="World"]
|
|
|
|
texture = ExtResource( 1 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_lock_": true
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Enter" type="Position2D" parent="World"]
|
|
|
|
position = Vector2( 208.579, 63.3655 )
|
|
|
|
|
|
|
|
[node name="Girl" type="Node" parent="World/Enter"]
|
|
|
|
script = ExtResource( 6 )
|
|
|
|
|
|
|
|
[node name="KinematicBody2D" type="KinematicBody2D" parent="World/Enter/Girl"]
|
|
|
|
position = Vector2( 208.579, 63.3655 )
|
|
|
|
script = ExtResource( 5 )
|
|
|
|
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="World/Enter/Girl/KinematicBody2D"]
|
|
|
|
frames = SubResource( 21 )
|
|
|
|
animation = "Idle"
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="World/Enter/Girl/KinematicBody2D"]
|
|
|
|
position = Vector2( 1, -2 )
|
|
|
|
shape = SubResource( 22 )
|
|
|
|
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="World/Enter/Girl/KinematicBody2D"]
|
|
|
|
|
|
|
|
[node name="AI" type="Node" parent="World/Enter/Girl"]
|
|
|
|
script = ExtResource( 7 )
|
|
|
|
|
|
|
|
[node name="SpawnNPC" type="Position2D" parent="World"]
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_lock_": true
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="NPC" type="Sprite" parent="World/SpawnNPC"]
|
|
|
|
texture = ExtResource( 3 )
|
|
|
|
region_enabled = true
|
|
|
|
region_rect = Rect2( 7, 4, 34, 38 )
|
|
|
|
region_filter_clip = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_lock_": true
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="SpawnEnemy" type="Position2D" parent="World"]
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_lock_": true
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Coyote" type="Sprite" parent="World/SpawnEnemy"]
|
|
|
|
texture = ExtResource( 4 )
|
|
|
|
region_enabled = true
|
|
|
|
region_rect = Rect2( 0, 3, 38, 39 )
|
|
|
|
region_filter_clip = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_lock_": true
|
|
|
|
}
|