273 lines
7.2 KiB
Text
273 lines
7.2 KiB
Text
[gd_scene load_steps=22 format=2]
|
|
|
|
[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]
|
|
|
|
[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( 111, 201.5 )
|
|
|
|
[sub_resource type="RectangleShape2D" id=4]
|
|
extents = Vector2( 33.5, 76.5 )
|
|
|
|
[sub_resource type="RectangleShape2D" id=5]
|
|
extents = Vector2( 45, 128 )
|
|
|
|
[sub_resource type="Animation" id=6]
|
|
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=7]
|
|
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=8]
|
|
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=9]
|
|
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=10]
|
|
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=11]
|
|
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=12]
|
|
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=13]
|
|
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=14]
|
|
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=15]
|
|
extents = Vector2( 43, 91 )
|
|
|
|
[sub_resource type="RectangleShape2D" id=16]
|
|
extents = Vector2( 48.5, 146 )
|
|
|
|
[node name="Honkerrailway" type="Node2D"]
|
|
script = ExtResource( 5 )
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
margin_right = 1280.0
|
|
margin_bottom = 720.0
|
|
color = Color( 0.839216, 0.658824, 0.32549, 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="StaticBody2D5" type="StaticBody2D" parent="."]
|
|
position = Vector2( 635, 214 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="StaticBody2D5"]
|
|
texture = ExtResource( 2 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D5"]
|
|
position = Vector2( 1, 0.5 )
|
|
shape = SubResource( 3 )
|
|
|
|
[node name="StaticBody2D6" type="StaticBody2D" parent="."]
|
|
position = Vector2( 384, 186 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="StaticBody2D6"]
|
|
texture = ExtResource( 4 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D6"]
|
|
position = Vector2( 0.5, 0.5 )
|
|
shape = SubResource( 4 )
|
|
|
|
[node name="Railwaygirl" type="KinematicBody2D" parent="."]
|
|
position = Vector2( 473, 133 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="Railwaygirl"]
|
|
texture = ExtResource( 1 )
|
|
hframes = 4
|
|
vframes = 4
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Railwaygirl"]
|
|
shape = SubResource( 5 )
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Railwaygirl"]
|
|
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 )
|
|
|
|
[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 )
|
|
|
|
[node name="Player" parent="." instance=ExtResource( 3 )]
|
|
position = Vector2( 635, 586 )
|
|
|
|
[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"]
|