platformer-game-test/src/GameWorld/GameWorld.tscn

122 lines
13 KiB
Plaintext

[gd_scene load_steps=11 format=2]
[ext_resource path="res://src/HUD/HUD.tscn" type="PackedScene" id=1]
[ext_resource path="res://assets/Tiles/SolidsTileMap.tscn" type="PackedScene" id=2]
[ext_resource path="res://src/Actors/Player.tscn" type="PackedScene" id=3]
[ext_resource path="res://assets/Tiles/background_0.png" type="Texture" id=4]
[ext_resource path="res://src/GameWorld/GameWorld.gd" type="Script" id=5]
[ext_resource path="res://assets/Tiles/background_1.png" type="Texture" id=6]
[ext_resource path="res://assets/Tiles/background_2.png" type="Texture" id=7]
[ext_resource path="res://src/Actors/WiseOldDude/WiseOldDude.tscn" type="PackedScene" id=8]
[ext_resource path="res://assets/Tiles/SemiSolidsTileMap.tscn" type="PackedScene" id=9]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 7, 37 )
[node name="GameWorld" type="Node2D"]
script = ExtResource( 5 )
[node name="HUD" parent="." instance=ExtResource( 1 )]
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]
motion_scale = Vector2( 0.6, 1 )
[node name="NinePatchRect" type="NinePatchRect" parent="ParallaxBackground/ParallaxLayer"]
margin_left = -142.0
margin_top = -103.0
margin_right = 443.0
margin_bottom = 255.0
texture = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="NinePatchRect2" type="NinePatchRect" parent="ParallaxBackground/ParallaxLayer"]
margin_left = 443.0
margin_top = -103.0
margin_right = 1028.0
margin_bottom = 255.0
texture = ExtResource( 4 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ParallaxLayer2" type="ParallaxLayer" parent="ParallaxBackground"]
motion_scale = Vector2( 0.8, 1 )
[node name="NinePatchRect" type="NinePatchRect" parent="ParallaxBackground/ParallaxLayer2"]
margin_left = -142.0
margin_top = -103.0
margin_right = 443.0
margin_bottom = 255.0
texture = ExtResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="NinePatchRect2" type="NinePatchRect" parent="ParallaxBackground/ParallaxLayer2"]
margin_left = 443.0
margin_top = -103.0
margin_right = 1028.0
margin_bottom = 255.0
texture = ExtResource( 6 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ParallaxLayer3" type="ParallaxLayer" parent="ParallaxBackground"]
motion_scale = Vector2( 0.9, 1 )
[node name="NinePatchRect" type="NinePatchRect" parent="ParallaxBackground/ParallaxLayer3"]
margin_left = -142.0
margin_top = -103.0
margin_right = 443.0
margin_bottom = 255.0
texture = ExtResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="NinePatchRect2" type="NinePatchRect" parent="ParallaxBackground/ParallaxLayer3"]
margin_left = 443.0
margin_top = -103.0
margin_right = 1028.0
margin_bottom = 255.0
texture = ExtResource( 7 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="SolidPlatforms" type="Node2D" parent="."]
[node name="SemiSolidsTileMap" parent="SolidPlatforms" instance=ExtResource( 9 )]
tile_data = PoolIntArray( 524316, 1, 0, 524317, 1, 1, 524318, 1, 1, 524319, 1, 1, 524320, 1, 1, 524321, 1, 1, 524322, 1, 2, 589852, 1, 65536, 589853, 1, 65537, 589854, 1, 65537, 589855, 1, 65537, 589856, 1, 65537, 589857, 1, 65537, 589858, 1, 65538, 655375, 0, 0, 655376, 0, 131076, 655377, 0, 1, 655378, 0, 1, 655379, 0, 131076, 655380, 0, 1, 655381, 0, 1, 655382, 0, 1, 655383, 0, 131076, 655384, 0, 131076, 655385, 0, 1, 655386, 0, 131076, 655387, 0, 2, 655388, 1, 65536, 655389, 1, 65537, 655390, 1, 65537, 655391, 1, 65537, 655392, 1, 65537, 655393, 1, 65537, 655394, 1, 65538, 720911, 0, 65541, 720912, 0, 65537, 720913, 0, 65537, 720914, 0, 65537, 720915, 0, 65537, 720916, 0, 65537, 720917, 0, 65537, 720918, 0, 65537, 720919, 0, 65537, 720920, 0, 3, 720921, 0, 131073, 720922, 0, 4, 720923, 0, 131074, 720924, 1, 65536, 720925, 1, 0, 720926, 1, 131073, 720927, 1, 131073, 720928, 1, 131073, 720929, 1, 0, 720930, 1, 65538, 786447, 0, 65541, 786448, 0, 65537, 786449, 0, 65537, 786450, 0, 65537, 786451, 0, 65537, 786452, 0, 65537, 786453, 0, 65537, 786454, 0, 65537, 786455, 0, 65537, 786456, 0, 65538, 786457, 1, 0, 786458, 1, 1, 786459, 1, 1, 786460, 1, 0, 786461, 1, 65538, 786462, 0, 0, 786463, 0, 131076, 786464, 0, 2, 786465, 1, 65536, 786466, 1, 65538, 851983, 0, 65541, 851984, 0, 65537, 851985, 0, 65537, 851986, 0, 65537, 851987, 0, 65537, 851988, 0, 65537, 851989, 0, 65537, 851990, 0, 65537, 851991, 0, 65537, 851992, 0, 65538, 851993, 1, 65536, 851994, 1, 65537, 851995, 1, 65537, 851996, 1, 65537, 851997, 1, 65538, 851998, 0, 65541, 851999, 0, 65537, 852000, 0, 65539, 852001, 1, 65536, 852002, 1, 65538, 917519, 0, 131072, 917520, 0, 4, 917521, 0, 131073, 917522, 0, 131073, 917523, 0, 4, 917524, 0, 4, 917525, 0, 131073, 917526, 0, 131073, 917527, 0, 4, 917528, 0, 131074, 917529, 1, 131072, 917530, 1, 131073, 917531, 1, 131073, 917532, 1, 131073, 917533, 1, 131074, 917534, 0, 65541, 917535, 0, 65537, 917536, 0, 65539, 917537, 1, 131072, 917538, 1, 131074, 983070, 0, 131072, 983071, 0, 131073, 983072, 0, 131074 )
[node name="SolidsTileMap" parent="SolidPlatforms" instance=ExtResource( 2 )]
tile_data = PoolIntArray( -65544, 0, 0, -65543, 0, 1, -65542, 0, 1, -65541, 0, 131076, -65540, 0, 1, -65539, 0, 1, -65538, 0, 1, -65537, 0, 2, -131041, 0, 0, -131040, 0, 131076, -131039, 0, 131076, -131038, 0, 1, -131037, 0, 131076, -131036, 0, 1, -131035, 0, 1, -131034, 0, 1, -131033, 0, 131076, -131032, 0, 1, -131031, 0, 1, -131030, 0, 131076, -131029, 0, 1, -131028, 0, 2, -8, 0, 65541, -7, 0, 65537, -6, 0, 65537, -5, 0, 65537, -4, 0, 65537, -3, 0, 65537, -2, 0, 65537, -1, 0, 65539, -65505, 0, 131072, -65504, 0, 4, -65503, 0, 5, -65502, 0, 3, -65501, 0, 4, -65500, 0, 131073, -65499, 0, 5, -65498, 0, 65537, -65497, 0, 65537, -65496, 0, 65537, -65495, 0, 65537, -65494, 0, 65537, -65493, 0, 65537, -65492, 0, 65538, 65528, 0, 65541, 65529, 0, 65537, 65530, 0, 65537, 65531, 0, 65537, 65532, 0, 65537, 65533, 0, 65537, 65534, 0, 65537, 65535, 0, 65538, 33, 0, 131072, 34, 0, 131074, 37, 0, 65536, 38, 0, 65537, 39, 0, 65537, 40, 0, 65537, 41, 0, 65537, 42, 0, 65537, 43, 0, 65537, 44, 0, 65539, 131064, 0, 65536, 131065, 0, 65537, 131066, 0, 65537, 131067, 0, 65537, 131068, 0, 65537, 131069, 0, 65537, 131070, 0, 65537, 131071, 0, 65538, 65573, 0, 65536, 65574, 0, 65537, 65575, 0, 65537, 65576, 0, 65537, 65577, 0, 65537, 65578, 0, 65537, 65579, 0, 65537, 65580, 0, 65539, 196600, 0, 65541, 196601, 0, 65537, 196602, 0, 65537, 196603, 0, 65537, 196604, 0, 65537, 196605, 0, 65537, 196606, 0, 65537, 196607, 0, 65539, 131109, 0, 65536, 131110, 0, 65537, 131111, 0, 65537, 131112, 0, 65537, 131113, 0, 65537, 131114, 0, 65537, 131115, 0, 65537, 131116, 0, 65538, 262136, 0, 65541, 262137, 0, 65537, 262138, 0, 65537, 262139, 0, 65537, 262140, 0, 65537, 262141, 0, 65537, 262142, 0, 65537, 262143, 0, 65538, 196645, 0, 65541, 196646, 0, 65537, 196647, 0, 65537, 196648, 0, 65537, 196649, 0, 65537, 196650, 0, 65537, 196651, 0, 65537, 196652, 0, 65539, 327672, 0, 65541, 327673, 0, 65537, 327674, 0, 65537, 327675, 0, 65537, 327676, 0, 65537, 327677, 0, 65537, 327678, 0, 65537, 327679, 0, 65538, 262181, 0, 65541, 262182, 0, 65537, 262183, 0, 65537, 262184, 0, 65537, 262185, 0, 65537, 262186, 0, 65537, 262187, 0, 65537, 262188, 0, 65539, 393208, 0, 65536, 393209, 0, 65537, 393210, 0, 65537, 393211, 0, 65537, 393212, 0, 65537, 393213, 0, 65537, 393214, 0, 65537, 393215, 0, 65538, 327717, 0, 131072, 327718, 0, 131073, 327719, 0, 5, 327720, 0, 65537, 327721, 0, 65537, 327722, 0, 65537, 327723, 0, 65537, 327724, 0, 65538, 458744, 0, 65541, 458745, 0, 65537, 458746, 0, 65537, 458747, 0, 65537, 458748, 0, 65537, 458749, 0, 65537, 458750, 0, 65537, 458751, 0, 65538, 393255, 0, 65536, 393256, 0, 65537, 393257, 0, 65537, 393258, 0, 65537, 393259, 0, 65537, 393260, 0, 65539, 524280, 0, 65541, 524281, 0, 65537, 524282, 0, 65537, 524283, 0, 65537, 524284, 0, 65537, 524285, 0, 65537, 524286, 0, 65537, 524287, 0, 65538, 458791, 0, 131072, 458792, 0, 131073, 458793, 0, 131073, 458794, 0, 4, 458795, 0, 5, 458796, 0, 65538, 589816, 0, 65541, 589817, 0, 65537, 589818, 0, 65537, 589819, 0, 65537, 589820, 0, 65537, 589821, 0, 65537, 589822, 0, 65537, 589823, 0, 65538, 524331, 0, 65541, 524332, 0, 65538, 655352, 0, 65536, 655353, 0, 65537, 655354, 0, 65537, 655355, 0, 65537, 655356, 0, 65537, 655357, 0, 65537, 655358, 0, 65537, 655359, 0, 65539, 589867, 0, 65541, 589868, 0, 65538, 720888, 0, 65541, 720889, 0, 65537, 720890, 0, 65537, 720891, 0, 65537, 720892, 0, 65537, 720893, 0, 65537, 720894, 0, 65537, 720895, 0, 131075, 655360, 0, 2, 655399, 0, 0, 655400, 0, 1, 655401, 0, 1, 655402, 0, 131076, 655403, 0, 131077, 655404, 0, 65539, 786424, 0, 65541, 786425, 0, 65537, 786426, 0, 65537, 786427, 0, 65537, 786428, 0, 65537, 786429, 0, 65537, 786430, 0, 65537, 786431, 0, 65537, 720896, 0, 131075, 720897, 0, 2, 720920, 0, 0, 720921, 0, 2, 720935, 0, 131072, 720936, 0, 131073, 720937, 0, 131073, 720938, 0, 4, 720939, 0, 4, 720940, 0, 131074, 851960, 0, 65536, 851961, 0, 65537, 851962, 0, 65537, 851963, 0, 65537, 851964, 0, 65537, 851965, 0, 65537, 851966, 0, 65537, 851967, 0, 65537, 786432, 0, 65537, 786433, 0, 131075, 786434, 0, 2, 786456, 0, 65541, 786457, 0, 65538, 786466, 0, 0, 786467, 0, 2, 917496, 0, 65541, 917497, 0, 65537, 917498, 0, 65537, 917499, 0, 65537, 917500, 0, 65537, 917501, 0, 65537, 917502, 0, 65537, 917503, 0, 65537, 851968, 0, 65537, 851969, 0, 65537, 851970, 0, 131075, 851971, 0, 2, 851987, 0, 0, 851988, 0, 2, 851992, 0, 65536, 851993, 0, 65539, 852002, 0, 65541, 852003, 0, 65539, 983032, 0, 65541, 983033, 0, 65537, 983034, 0, 65537, 983035, 0, 65537, 983036, 0, 65537, 983037, 0, 65537, 983038, 0, 65537, 983039, 0, 65537, 917504, 0, 65537, 917505, 0, 65537, 917506, 0, 65537, 917507, 0, 131075, 917508, 0, 1, 917509, 0, 131076, 917510, 0, 1, 917511, 0, 1, 917512, 0, 1, 917513, 0, 131076, 917514, 0, 131076, 917515, 0, 131076, 917516, 0, 131076, 917517, 0, 131076, 917518, 0, 1, 917519, 0, 131076, 917520, 0, 131076, 917521, 0, 1, 917522, 0, 1, 917523, 0, 131077, 917524, 0, 131075, 917525, 0, 1, 917526, 0, 131076, 917527, 0, 1, 917528, 0, 131077, 917529, 0, 131075, 917530, 0, 131076, 917531, 0, 1, 917532, 0, 1, 917533, 0, 131076, 917534, 0, 1, 917535, 0, 1, 917536, 0, 131076, 917537, 0, 131076, 917538, 0, 131077, 917539, 0, 131075, 917540, 0, 1, 917541, 0, 1, 917542, 0, 131076, 917543, 0, 1, 917544, 0, 1, 917545, 0, 1, 917546, 0, 1, 917547, 0, 1, 917548, 0, 2, 1048568, 0, 65536, 1048569, 0, 65537, 1048570, 0, 65537, 1048571, 0, 65537, 1048572, 0, 65537, 1048573, 0, 65537, 1048574, 0, 65537, 1048575, 0, 65537, 983040, 0, 65537, 983041, 0, 65537, 983042, 0, 65537, 983043, 0, 65537, 983044, 0, 65537, 983045, 0, 65537, 983046, 0, 65537, 983047, 0, 65537, 983048, 0, 65537, 983049, 0, 65537, 983050, 0, 65537, 983051, 0, 65537, 983052, 0, 65537, 983053, 0, 65537, 983054, 0, 65537, 983055, 0, 65537, 983056, 0, 65537, 983057, 0, 65537, 983058, 0, 65537, 983059, 0, 65537, 983060, 0, 65537, 983061, 0, 65537, 983062, 0, 65537, 983063, 0, 65537, 983064, 0, 65537, 983065, 0, 65537, 983066, 0, 65537, 983067, 0, 65537, 983068, 0, 65537, 983069, 0, 65537, 983070, 0, 65537, 983071, 0, 65537, 983072, 0, 65537, 983073, 0, 65537, 983074, 0, 65537, 983075, 0, 65537, 983076, 0, 65537, 983077, 0, 65537, 983078, 0, 65537, 983079, 0, 65537, 983080, 0, 65537, 983081, 0, 65537, 983082, 0, 65537, 983083, 0, 65537, 983084, 0, 65539, 1114104, 0, 131072, 1114105, 0, 131073, 1114106, 0, 131073, 1114107, 0, 131073, 1114108, 0, 131073, 1114109, 0, 131073, 1114110, 0, 131073, 1114111, 0, 4, 1048576, 0, 131073, 1048577, 0, 131073, 1048578, 0, 131073, 1048579, 0, 131073, 1048580, 0, 131073, 1048581, 0, 131073, 1048582, 0, 131073, 1048583, 0, 4, 1048584, 0, 131073, 1048585, 0, 131073, 1048586, 0, 131073, 1048587, 0, 4, 1048588, 0, 4, 1048589, 0, 131073, 1048590, 0, 4, 1048591, 0, 131073, 1048592, 0, 4, 1048593, 0, 4, 1048594, 0, 4, 1048595, 0, 131073, 1048596, 0, 131073, 1048597, 0, 131073, 1048598, 0, 131073, 1048599, 0, 4, 1048600, 0, 4, 1048601, 0, 131073, 1048602, 0, 4, 1048603, 0, 131073, 1048604, 0, 4, 1048605, 0, 131073, 1048606, 0, 131073, 1048607, 0, 4, 1048608, 0, 131073, 1048609, 0, 4, 1048610, 0, 131073, 1048611, 0, 4, 1048612, 0, 4, 1048613, 0, 131073, 1048614, 0, 131073, 1048615, 0, 4, 1048616, 0, 4, 1048617, 0, 131073, 1048618, 0, 4, 1048619, 0, 131073, 1048620, 0, 131074 )
[node name="WiseOldDude" parent="." instance=ExtResource( 8 )]
position = Vector2( 643, 161 )
[node name="CutsceneAreas" type="Node2D" parent="."]
[node name="OldDudeIntroArea" type="Area2D" parent="CutsceneAreas"]
position = Vector2( 560, 182 )
collision_layer = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="CutsceneAreas/OldDudeIntroArea"]
position = Vector2( 0, -27 )
shape = SubResource( 1 )
[node name="Player" parent="." instance=ExtResource( 3 )]
position = Vector2( 77, 218 )
abilities = {
"attack": true,
"dash": true,
"light_beam": true,
"wall_jump": true
}
[connection signal="body_entered" from="CutsceneAreas/OldDudeIntroArea" to="." method="_on_OldDudeIntroArea_body_entered"]