midori-school/levels/Ceres/yourhome.tscn
2024-12-18 15:03:34 -07:00

349 lines
8.7 KiB
Text

[gd_scene load_steps=17 format=2]
[ext_resource path="res://sprites/common/kimberly/sprite.png" type="Texture" id=1]
[ext_resource path="res://levels/Ceres/yourhome.gd" type="Script" id=2]
[ext_resource path="res://sprites/common/player/player.tscn" type="PackedScene" id=3]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 18.5, 446.5 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 676, 20.5 )
[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 45, 128 )
[sub_resource type="Animation" id=4]
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 0 ]
}
[sub_resource type="Animation" id=5]
resource_name = "eidle"
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 8 ]
}
[sub_resource type="Animation" id=6]
resource_name = "ewalk"
length = 0.3
loop = true
step = 0.033
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.099, 0.198 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 1,
"values": [ 9, 8, 10 ]
}
[sub_resource type="Animation" id=7]
resource_name = "nidle"
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0.1 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 4 ]
}
[sub_resource type="Animation" id=8]
resource_name = "nwalk"
length = 0.3
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 1,
"values": [ 5, 4, 6 ]
}
[sub_resource type="Animation" id=9]
resource_name = "sidle"
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0.5 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 0 ]
}
[sub_resource type="Animation" id=10]
resource_name = "swalk"
length = 0.3
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 1,
"values": [ 1, 0, 2 ]
}
[sub_resource type="Animation" id=11]
resource_name = "widle"
length = 0.3
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 12 ]
}
[sub_resource type="Animation" id=12]
resource_name = "wwalk"
length = 0.3
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 1,
"values": [ 13, 12, 14 ]
}
[sub_resource type="RectangleShape2D" id=13]
extents = Vector2( 48.5, 146 )
[node name="Honkerrailway" type="Node2D"]
script = ExtResource( 2 )
[node name="ColorRect" type="ColorRect" parent="."]
margin_right = 1280.0
margin_bottom = 720.0
color = Color( 0.588235, 0.588235, 0.588235, 1 )
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2( -18, 373.5 )
shape = SubResource( 1 )
[node name="StaticBody2D2" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"]
position = Vector2( 1299, 376 )
shape = SubResource( 1 )
[node name="StaticBody2D3" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"]
position = Vector2( 641, -21 )
shape = SubResource( 2 )
[node name="StaticBody2D4" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"]
position = Vector2( 640, 741 )
shape = SubResource( 2 )
[node name="Floor" type="Node2D" parent="."]
[node name="ColorRect2" type="ColorRect" parent="Floor"]
margin_top = 100.0
margin_right = 1280.0
margin_bottom = 104.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect3" type="ColorRect" parent="Floor"]
margin_top = 200.0
margin_right = 1280.0
margin_bottom = 204.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect4" type="ColorRect" parent="Floor"]
margin_top = 300.0
margin_right = 1280.0
margin_bottom = 304.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect5" type="ColorRect" parent="Floor"]
margin_top = 400.0
margin_right = 1280.0
margin_bottom = 404.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect6" type="ColorRect" parent="Floor"]
margin_top = 500.0
margin_right = 1280.0
margin_bottom = 504.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect7" type="ColorRect" parent="Floor"]
margin_top = 600.0
margin_right = 1280.0
margin_bottom = 604.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect8" type="ColorRect" parent="Floor"]
margin_top = 700.0
margin_right = 1280.0
margin_bottom = 704.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect9" type="ColorRect" parent="Floor"]
margin_left = 100.0
margin_right = 104.0
margin_bottom = 720.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect10" type="ColorRect" parent="Floor"]
margin_left = 200.0
margin_right = 204.0
margin_bottom = 720.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect11" type="ColorRect" parent="Floor"]
margin_left = 300.0
margin_right = 304.0
margin_bottom = 720.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect12" type="ColorRect" parent="Floor"]
margin_left = 400.0
margin_right = 404.0
margin_bottom = 720.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect13" type="ColorRect" parent="Floor"]
margin_left = 500.0
margin_right = 504.0
margin_bottom = 720.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect14" type="ColorRect" parent="Floor"]
margin_left = 600.0
margin_right = 604.0
margin_bottom = 720.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect15" type="ColorRect" parent="Floor"]
margin_left = 700.0
margin_right = 704.0
margin_bottom = 720.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect16" type="ColorRect" parent="Floor"]
margin_left = 800.0
margin_right = 804.0
margin_bottom = 720.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect17" type="ColorRect" parent="Floor"]
margin_left = 900.0
margin_right = 904.0
margin_bottom = 720.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect18" type="ColorRect" parent="Floor"]
margin_left = 1000.0
margin_right = 1004.0
margin_bottom = 720.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect19" type="ColorRect" parent="Floor"]
margin_left = 1100.0
margin_right = 1104.0
margin_bottom = 720.0
color = Color( 0, 0, 0, 1 )
[node name="ColorRect20" type="ColorRect" parent="Floor"]
margin_left = 1200.0
margin_right = 1204.0
margin_bottom = 720.0
color = Color( 0, 0, 0, 1 )
[node name="Kimberly" type="KinematicBody2D" parent="."]
position = Vector2( 473, 133 )
[node name="Sprite" type="Sprite" parent="Kimberly"]
texture = ExtResource( 1 )
hframes = 4
vframes = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="Kimberly"]
shape = SubResource( 3 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="Kimberly"]
anims/RESET = SubResource( 4 )
anims/eidle = SubResource( 5 )
anims/ewalk = SubResource( 6 )
anims/nidle = SubResource( 7 )
anims/nwalk = SubResource( 8 )
anims/sidle = SubResource( 9 )
anims/swalk = SubResource( 10 )
anims/widle = SubResource( 11 )
anims/wwalk = SubResource( 12 )
[node name="Katalk" type="Area2D" parent="."]
position = Vector2( 473, 133 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Katalk"]
position = Vector2( 2.5, 16 )
shape = SubResource( 13 )
[node name="Player" parent="." instance=ExtResource( 3 )]
position = Vector2( 635, 586 )
[connection signal="body_entered" from="Katalk" to="." method="_on_Katalk_body_entered"]
[connection signal="body_exited" from="Katalk" to="." method="_on_Katalk_body_exited"]