midori-school/levels/Ceres/honkerrailway.tscn

274 lines
7.2 KiB
Text
Raw Normal View History

2024-11-11 18:39:03 +01:00
[gd_scene load_steps=22 format=2]
2024-08-16 22:54:37 +02:00
2024-11-07 21:39:59 +01:00
[ext_resource path="res://sprites/ceres/railway/sprite.png" type="Texture" id=1]
[ext_resource path="res://sprites/ceres/items/hkr.png" type="Texture" id=2]
[ext_resource path="res://sprites/common/player/player.tscn" type="PackedScene" id=3]
[ext_resource path="res://sprites/ceres/items/ltc.png" type="Texture" id=4]
[ext_resource path="res://levels/Ceres/honkerrailway.gd" type="Script" id=5]
2024-08-16 22:54:37 +02:00
2024-11-07 21:39:59 +01:00
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 18.5, 446.5 )
2024-08-16 22:54:37 +02:00
2024-11-07 21:39:59 +01:00
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 676, 20.5 )
2024-08-16 22:54:37 +02:00
2024-11-07 21:39:59 +01:00
[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 111, 201.5 )
2024-08-16 22:54:37 +02:00
2024-11-07 21:39:59 +01:00
[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 33.5, 76.5 )
2024-08-24 05:54:38 +02:00
2024-11-07 21:39:59 +01:00
[sub_resource type="RectangleShape2D" id=5]
extents = Vector2( 45, 128 )
2024-08-16 22:54:37 +02:00
2024-11-07 21:39:59 +01:00
[sub_resource type="Animation" id=6]
2024-08-16 22:54:37 +02:00
length = 0.001
tracks/0/type = "value"
2024-11-07 21:39:59 +01:00
tracks/0/path = NodePath("Sprite:frame")
2024-08-16 22:54:37 +02:00
tracks/0/interp = 1
tracks/0/loop_wrap = true
2024-11-07 21:39:59 +01:00
tracks/0/imported = false
tracks/0/enabled = true
2024-08-16 22:54:37 +02:00
tracks/0/keys = {
2024-11-07 21:39:59 +01:00
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
2024-08-16 22:54:37 +02:00
"update": 1,
2024-11-11 18:39:03 +01:00
"values": [ 0 ]
2024-08-16 22:54:37 +02:00
}
2024-11-07 21:39:59 +01:00
[sub_resource type="Animation" id=7]
2024-08-16 22:54:37 +02:00
resource_name = "eidle"
2024-11-07 21:39:59 +01:00
loop = true
2024-08-16 22:54:37 +02:00
tracks/0/type = "value"
2024-11-07 21:39:59 +01:00
tracks/0/path = NodePath("Sprite:frame")
2024-08-16 22:54:37 +02:00
tracks/0/interp = 1
tracks/0/loop_wrap = true
2024-11-07 21:39:59 +01:00
tracks/0/imported = false
tracks/0/enabled = true
2024-08-16 22:54:37 +02:00
tracks/0/keys = {
2024-11-07 21:39:59 +01:00
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
2024-08-16 22:54:37 +02:00
"update": 1,
2024-11-07 21:39:59 +01:00
"values": [ 8 ]
2024-08-16 22:54:37 +02:00
}
2024-11-07 21:39:59 +01:00
[sub_resource type="Animation" id=8]
2024-08-16 22:54:37 +02:00
resource_name = "ewalk"
length = 0.3
2024-11-07 21:39:59 +01:00
loop = true
step = 0.033
2024-08-16 22:54:37 +02:00
tracks/0/type = "value"
2024-11-07 21:39:59 +01:00
tracks/0/path = NodePath("Sprite:frame")
2024-08-16 22:54:37 +02:00
tracks/0/interp = 1
tracks/0/loop_wrap = true
2024-11-07 21:39:59 +01:00
tracks/0/imported = false
tracks/0/enabled = true
2024-08-16 22:54:37 +02:00
tracks/0/keys = {
2024-11-07 21:39:59 +01:00
"times": PoolRealArray( 0, 0.099, 0.198 ),
"transitions": PoolRealArray( 1, 1, 1 ),
2024-08-16 22:54:37 +02:00
"update": 1,
2024-11-07 21:39:59 +01:00
"values": [ 9, 8, 10 ]
2024-08-16 22:54:37 +02:00
}
2024-11-07 21:39:59 +01:00
[sub_resource type="Animation" id=9]
2024-08-16 22:54:37 +02:00
resource_name = "nidle"
2024-11-07 21:39:59 +01:00
loop = true
2024-08-16 22:54:37 +02:00
tracks/0/type = "value"
2024-11-07 21:39:59 +01:00
tracks/0/path = NodePath("Sprite:frame")
2024-08-16 22:54:37 +02:00
tracks/0/interp = 1
tracks/0/loop_wrap = true
2024-11-07 21:39:59 +01:00
tracks/0/imported = false
tracks/0/enabled = true
2024-08-16 22:54:37 +02:00
tracks/0/keys = {
2024-11-07 21:39:59 +01:00
"times": PoolRealArray( 0.1 ),
"transitions": PoolRealArray( 1 ),
2024-08-16 22:54:37 +02:00
"update": 1,
2024-11-07 21:39:59 +01:00
"values": [ 4 ]
2024-08-16 22:54:37 +02:00
}
2024-11-07 21:39:59 +01:00
[sub_resource type="Animation" id=10]
2024-08-16 22:54:37 +02:00
resource_name = "nwalk"
length = 0.3
2024-11-07 21:39:59 +01:00
loop = true
2024-08-16 22:54:37 +02:00
tracks/0/type = "value"
2024-11-07 21:39:59 +01:00
tracks/0/path = NodePath("Sprite:frame")
2024-08-16 22:54:37 +02:00
tracks/0/interp = 1
tracks/0/loop_wrap = true
2024-11-07 21:39:59 +01:00
tracks/0/imported = false
tracks/0/enabled = true
2024-08-16 22:54:37 +02:00
tracks/0/keys = {
2024-11-07 21:39:59 +01:00
"times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
2024-08-16 22:54:37 +02:00
"update": 1,
2024-11-07 21:39:59 +01:00
"values": [ 5, 4, 6 ]
2024-08-16 22:54:37 +02:00
}
2024-11-07 21:39:59 +01:00
[sub_resource type="Animation" id=11]
2024-08-16 22:54:37 +02:00
resource_name = "sidle"
2024-11-07 21:39:59 +01:00
loop = true
2024-08-16 22:54:37 +02:00
tracks/0/type = "value"
2024-11-07 21:39:59 +01:00
tracks/0/path = NodePath("Sprite:frame")
2024-08-16 22:54:37 +02:00
tracks/0/interp = 1
tracks/0/loop_wrap = true
2024-11-07 21:39:59 +01:00
tracks/0/imported = false
tracks/0/enabled = true
2024-08-16 22:54:37 +02:00
tracks/0/keys = {
2024-11-07 21:39:59 +01:00
"times": PoolRealArray( 0.5 ),
"transitions": PoolRealArray( 1 ),
2024-08-16 22:54:37 +02:00
"update": 1,
2024-11-07 21:39:59 +01:00
"values": [ 0 ]
2024-08-16 22:54:37 +02:00
}
2024-11-07 21:39:59 +01:00
[sub_resource type="Animation" id=12]
2024-08-16 22:54:37 +02:00
resource_name = "swalk"
length = 0.3
2024-11-07 21:39:59 +01:00
loop = true
2024-08-16 22:54:37 +02:00
tracks/0/type = "value"
2024-11-07 21:39:59 +01:00
tracks/0/path = NodePath("Sprite:frame")
2024-08-16 22:54:37 +02:00
tracks/0/interp = 1
tracks/0/loop_wrap = true
2024-11-07 21:39:59 +01:00
tracks/0/imported = false
tracks/0/enabled = true
2024-08-16 22:54:37 +02:00
tracks/0/keys = {
2024-11-07 21:39:59 +01:00
"times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
2024-08-16 22:54:37 +02:00
"update": 1,
2024-11-07 21:39:59 +01:00
"values": [ 1, 0, 2 ]
2024-08-16 22:54:37 +02:00
}
2024-11-07 21:39:59 +01:00
[sub_resource type="Animation" id=13]
2024-08-16 22:54:37 +02:00
resource_name = "widle"
2024-11-07 21:39:59 +01:00
length = 0.3
loop = true
2024-08-16 22:54:37 +02:00
tracks/0/type = "value"
2024-11-07 21:39:59 +01:00
tracks/0/path = NodePath("Sprite:frame")
2024-08-16 22:54:37 +02:00
tracks/0/interp = 1
tracks/0/loop_wrap = true
2024-11-07 21:39:59 +01:00
tracks/0/imported = false
tracks/0/enabled = true
2024-08-16 22:54:37 +02:00
tracks/0/keys = {
2024-11-07 21:39:59 +01:00
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
2024-08-16 22:54:37 +02:00
"update": 1,
2024-11-07 21:39:59 +01:00
"values": [ 12 ]
2024-08-16 22:54:37 +02:00
}
2024-11-07 21:39:59 +01:00
[sub_resource type="Animation" id=14]
2024-08-16 22:54:37 +02:00
resource_name = "wwalk"
length = 0.3
2024-11-07 21:39:59 +01:00
loop = true
2024-08-16 22:54:37 +02:00
tracks/0/type = "value"
2024-11-07 21:39:59 +01:00
tracks/0/path = NodePath("Sprite:frame")
2024-08-16 22:54:37 +02:00
tracks/0/interp = 1
tracks/0/loop_wrap = true
2024-11-07 21:39:59 +01:00
tracks/0/imported = false
tracks/0/enabled = true
2024-08-16 22:54:37 +02:00
tracks/0/keys = {
2024-11-07 21:39:59 +01:00
"times": PoolRealArray( 0, 0.1, 0.2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
2024-08-16 22:54:37 +02:00
"update": 1,
2024-11-07 21:39:59 +01:00
"values": [ 13, 12, 14 ]
2024-08-16 22:54:37 +02:00
}
2024-11-11 18:39:03 +01:00
[sub_resource type="RectangleShape2D" id=15]
extents = Vector2( 43, 91 )
[sub_resource type="RectangleShape2D" id=16]
extents = Vector2( 48.5, 146 )
2024-08-16 22:54:37 +02:00
[node name="Honkerrailway" type="Node2D"]
2024-11-07 21:39:59 +01:00
script = ExtResource( 5 )
2024-08-16 22:54:37 +02:00
[node name="ColorRect" type="ColorRect" parent="."]
2024-11-07 21:39:59 +01:00
margin_right = 1280.0
margin_bottom = 720.0
color = Color( 0.839216, 0.658824, 0.32549, 1 )
2024-08-16 22:54:37 +02:00
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
2024-11-07 21:39:59 +01:00
position = Vector2( -18, 373.5 )
shape = SubResource( 1 )
2024-08-16 22:54:37 +02:00
[node name="StaticBody2D2" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"]
2024-11-07 21:39:59 +01:00
position = Vector2( 1299, 376 )
shape = SubResource( 1 )
2024-08-16 22:54:37 +02:00
[node name="StaticBody2D3" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"]
2024-11-07 21:39:59 +01:00
position = Vector2( 641, -21 )
shape = SubResource( 2 )
2024-08-16 22:54:37 +02:00
[node name="StaticBody2D4" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"]
2024-11-07 21:39:59 +01:00
position = Vector2( 640, 741 )
shape = SubResource( 2 )
2024-08-16 22:54:37 +02:00
[node name="StaticBody2D5" type="StaticBody2D" parent="."]
2024-11-07 21:39:59 +01:00
position = Vector2( 635, 214 )
2024-08-16 22:54:37 +02:00
2024-11-07 21:39:59 +01:00
[node name="Sprite" type="Sprite" parent="StaticBody2D5"]
texture = ExtResource( 2 )
2024-08-16 22:54:37 +02:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D5"]
2024-11-07 21:39:59 +01:00
position = Vector2( 1, 0.5 )
shape = SubResource( 3 )
2024-08-16 22:54:37 +02:00
2024-08-24 05:54:38 +02:00
[node name="StaticBody2D6" type="StaticBody2D" parent="."]
2024-11-07 21:39:59 +01:00
position = Vector2( 384, 186 )
2024-08-24 05:54:38 +02:00
2024-11-07 21:39:59 +01:00
[node name="Sprite" type="Sprite" parent="StaticBody2D6"]
texture = ExtResource( 4 )
2024-08-24 05:54:38 +02:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D6"]
2024-11-07 21:39:59 +01:00
position = Vector2( 0.5, 0.5 )
shape = SubResource( 4 )
2024-08-24 05:54:38 +02:00
2024-11-07 21:39:59 +01:00
[node name="Railwaygirl" type="KinematicBody2D" parent="."]
position = Vector2( 473, 133 )
2024-08-16 22:54:37 +02:00
2024-11-07 21:39:59 +01:00
[node name="Sprite" type="Sprite" parent="Railwaygirl"]
texture = ExtResource( 1 )
hframes = 4
2024-08-16 22:54:37 +02:00
vframes = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="Railwaygirl"]
2024-11-07 21:39:59 +01:00
shape = SubResource( 5 )
2024-08-16 22:54:37 +02:00
[node name="AnimationPlayer" type="AnimationPlayer" parent="Railwaygirl"]
2024-11-07 21:39:59 +01:00
anims/RESET = SubResource( 6 )
anims/eidle = SubResource( 7 )
anims/ewalk = SubResource( 8 )
anims/nidle = SubResource( 9 )
anims/nwalk = SubResource( 10 )
anims/sidle = SubResource( 11 )
anims/swalk = SubResource( 12 )
anims/widle = SubResource( 13 )
anims/wwalk = SubResource( 14 )
2024-11-11 18:39:03 +01:00
[node name="Ltctalk" type="Area2D" parent="."]
position = Vector2( 384, 186 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ltctalk"]
position = Vector2( -8, 1 )
shape = SubResource( 15 )
[node name="Rgtalk" type="Area2D" parent="."]
position = Vector2( 473, 133 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Rgtalk"]
position = Vector2( 2.5, 16 )
shape = SubResource( 16 )
2024-11-07 21:39:59 +01:00
[node name="Player" parent="." instance=ExtResource( 3 )]
position = Vector2( 635, 586 )
2024-11-11 18:39:03 +01:00
[connection signal="body_entered" from="Ltctalk" to="." method="_on_Ltctalk_body_entered"]
[connection signal="body_exited" from="Ltctalk" to="." method="_on_Ltctalk_body_exited"]
[connection signal="body_entered" from="Rgtalk" to="." method="_on_Rgtalk_body_entered"]
[connection signal="body_exited" from="Rgtalk" to="." method="_on_Rgtalk_body_exited"]