[gd_scene load_steps=26 format=2] [ext_resource path="res://sprites/ceres/railway/sprite.png" type="Texture" id=1] [ext_resource path="res://sprites/ceres/pamela/sprite.png" type="Texture" id=2] [ext_resource path="res://sprites/common/player/player.tscn" type="PackedScene" id=3] [ext_resource path="res://levels/Ceres/map.gd" type="Script" id=4] [sub_resource type="RectangleShape2D" id=1] extents = Vector2( 18.5, 721 ) [sub_resource type="RectangleShape2D" id=2] extents = Vector2( 1167.5, 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": [ 8 ] } [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="Animation" id=13] 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": [ 8 ] } [sub_resource type="Animation" id=14] 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=15] 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=16] 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=17] 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=18] 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=19] 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=20] 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=21] 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 ] } [node name="Map" type="Node2D"] script = ExtResource( 4 ) [node name="ColorRect" type="ColorRect" parent="."] margin_left = -939.0 margin_top = -613.0 margin_right = 1282.0 margin_bottom = 715.0 color = Color( 0.211765, 0.552941, 0.376471, 1 ) [node name="StaticBody2D" type="StaticBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] position = Vector2( -958, 58 ) shape = SubResource( 1 ) [node name="StaticBody2D2" type="StaticBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D2"] position = Vector2( 1299, 77.75 ) shape = SubResource( 1 ) [node name="StaticBody2D3" type="StaticBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D3"] position = Vector2( 186.5, -634 ) shape = SubResource( 2 ) [node name="StaticBody2D4" type="StaticBody2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D4"] position = Vector2( 159, 736 ) shape = SubResource( 2 ) [node name="Railwaygirl" type="Area2D" parent="."] position = Vector2( 615, -444 ) [node name="Sprite" type="Sprite" parent="Railwaygirl"] texture = ExtResource( 1 ) hframes = 4 vframes = 4 frame = 8 [node name="CollisionShape2D" type="CollisionShape2D" parent="Railwaygirl"] shape = SubResource( 3 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="Railwaygirl"] 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="Pamela" type="Area2D" parent="."] position = Vector2( -651, 133 ) [node name="Sprite" type="Sprite" parent="Pamela"] texture = ExtResource( 2 ) hframes = 4 vframes = 4 frame = 8 [node name="CollisionShape2D" type="CollisionShape2D" parent="Pamela"] shape = SubResource( 3 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="Pamela"] anims/RESET = SubResource( 13 ) anims/eidle = SubResource( 14 ) anims/ewalk = SubResource( 15 ) anims/nidle = SubResource( 16 ) anims/nwalk = SubResource( 17 ) anims/sidle = SubResource( 18 ) anims/swalk = SubResource( 19 ) anims/widle = SubResource( 20 ) anims/wwalk = SubResource( 21 ) [node name="Player" parent="." instance=ExtResource( 3 )] position = Vector2( 635, 586 ) [connection signal="body_entered" from="Railwaygirl" to="." method="_on_railwaygirl_body_entered"] [connection signal="body_exited" from="Railwaygirl" to="." method="_on_railwaygirl_body_exited"] [connection signal="body_entered" from="Pamela" to="." method="_on_pamela_body_entered"] [connection signal="body_exited" from="Pamela" to="." method="_on_pamela_body_exited"]