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

79 lines
10 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=9 format=2]
[ext_resource path="res://src/GameWorld/Levels/WorldHub.gd" type="Script" id=1]
[ext_resource path="res://src/Scripts/WarpZone.tscn" type="PackedScene" id=2]
[ext_resource path="res://src/GameWorld/AmbiantLighting.tscn" type="PackedScene" id=3]
[ext_resource path="res://assets/Levels/Test/bg_0.png" type="Texture" id=4]
[ext_resource path="res://assets/Tiles/TrapTiles.tscn" type="PackedScene" id=5]
[ext_resource path="res://assets/Tiles/SolidsTileMap.tscn" type="PackedScene" id=6]
[ext_resource path="res://assets/Levels/Test/bg_2.png" type="Texture" id=7]
[ext_resource path="res://assets/Levels/Test/bg_1.png" type="Texture" id=8]
[node name="WorldHub" type="Node2D"]
script = ExtResource( 1 )
level_entry_point = Vector2( 20, 220 )
enter_area_2d_path = NodePath("EnterLevelArea")
camer_limits = {
"bottom": 260,
"left": 0,
"right": 800,
"top": 0
}
[node name="World" type="Node2D" parent="."]
[node name="ParallaxBackground" type="ParallaxBackground" parent="World"]
[node name="ParallaxLayer" type="ParallaxLayer" parent="World/ParallaxBackground"]
z_index = -1
motion_scale = Vector2( 0.6, 1 )
motion_mirroring = Vector2( 480, 0 )
[node name="Sprite" type="Sprite" parent="World/ParallaxBackground/ParallaxLayer"]
modulate = Color( 0.435294, 0.34902, 0.34902, 1 )
light_mask = 16
position = Vector2( 240, 115 )
scale = Vector2( 2, 2 )
texture = ExtResource( 4 )
[node name="ParallaxLayer2" type="ParallaxLayer" parent="World/ParallaxBackground"]
motion_scale = Vector2( 0.8, 1 )
motion_mirroring = Vector2( 480, 0 )
[node name="Sprite" type="Sprite" parent="World/ParallaxBackground/ParallaxLayer2"]
modulate = Color( 0.47451, 0.498039, 0.47451, 1 )
position = Vector2( 241, 110 )
scale = Vector2( 2, 2 )
texture = ExtResource( 8 )
[node name="ParallaxLayer3" type="ParallaxLayer" parent="World/ParallaxBackground"]
motion_scale = Vector2( 0.9, 1 )
motion_mirroring = Vector2( 480, 0 )
[node name="Sprite" type="Sprite" parent="World/ParallaxBackground/ParallaxLayer3"]
modulate = Color( 0.631373, 0.627451, 0.623529, 1 )
light_mask = 8
position = Vector2( 239, 147 )
scale = Vector2( 2, 2 )
texture = ExtResource( 7 )
[node name="TrapTiles" parent="World" instance=ExtResource( 5 )]
[node name="SolidsTileMap" parent="World" instance=ExtResource( 6 )]
tile_data = PoolIntArray( -327680, 0, 0, -327679, 0, 131076, -327678, 0, 1, -327677, 0, 131076, -327676, 0, 131076, -327675, 0, 131076, -327674, 0, 131076, -327673, 0, 131076, -327672, 0, 1, -327671, 0, 1, -327670, 0, 131076, -327669, 0, 1, -327668, 0, 131076, -327667, 0, 1, -327666, 0, 1, -327665, 0, 131076, -327664, 0, 131076, -327663, 0, 131076, -327662, 0, 1, -327661, 0, 131076, -327660, 0, 1, -327659, 0, 131076, -327658, 0, 1, -327657, 0, 1, -327656, 0, 1, -327655, 0, 1, -327654, 0, 1, -327653, 0, 131076, -327652, 0, 1, -327651, 0, 1, -327650, 0, 2, -262144, 0, 65536, -262143, 0, 3, -262142, 0, 4, -262141, 0, 4, -262140, 0, 131073, -262139, 0, 131073, -262138, 0, 131073, -262137, 0, 4, -262136, 0, 131073, -262135, 0, 4, -262134, 0, 4, -262133, 0, 4, -262132, 0, 131073, -262131, 0, 4, -262130, 0, 131073, -262129, 0, 131073, -262128, 0, 131073, -262127, 0, 131073, -262126, 0, 4, -262125, 0, 131073, -262124, 0, 4, -262123, 0, 131073, -262122, 0, 131073, -262121, 0, 4, -262120, 0, 131073, -262119, 0, 4, -262118, 0, 4, -262117, 0, 5, -262116, 0, 65537, -262115, 0, 3, -262114, 0, 131074, -196608, 0, 65541, -196607, 0, 65539, -196581, 0, 65541, -196580, 0, 65537, -196579, 0, 65538, -131072, 0, 65536, -131071, 0, 65538, -131045, 0, 65536, -131044, 0, 65537, -131043, 0, 65538, -65536, 0, 65541, -65535, 0, 65538, -65509, 0, 65536, -65508, 0, 65537, -65507, 0, 65538, 0, 0, 65536, 1, 0, 65538, 27, 0, 65536, 28, 0, 65537, 29, 0, 65539, 65536, 0, 65541, 65537, 0, 65539, 65563, 0, 65541, 65564, 0, 65537, 65565, 0, 65539, 131072, 0, 65536, 131073, 0, 65539, 131099, 0, 65536, 131100, 0, 65537, 131101, 0, 65539, 196608, 0, 65536, 196609, 0, 65539, 196614, 0, 0, 196615, 0, 131076, 196616, 0, 2, 196635, 0, 65536, 196636, 0, 65537, 196637, 0, 65539, 262144, 0, 65536, 262145, 0, 65539, 262150, 0, 65541, 262151, 0, 65537, 262152, 0, 65539, 262171, 0, 65541, 262172, 0, 65537, 262173, 0, 65538, 327680, 0, 65541, 327681, 0, 65539, 327686, 0, 65536, 327687, 0, 65537, 327688, 0, 65538, 327707, 0, 65536, 327708, 0, 65537, 327709, 0, 65539, 393216, 0, 65536, 393217, 0, 65538, 393222, 0, 65541, 393223, 0, 65537, 393224, 0, 65539, 393229, 0, 0, 393230, 0, 1, 393231, 0, 1, 393232, 0, 2, 393237, 0, 0, 393238, 0, 1, 393239, 0, 2, 393243, 0, 65536, 393244, 0, 65537, 393245, 0, 65538, 393254, 0, 0, 393255, 0, 131076, 393256, 0, 1, 393257, 0, 131076, 393258, 0, 1, 393259, 0, 131076, 393260, 0, 1, 393261, 0, 1, 393262, 0, 131076, 393263, 0, 131076, 393264, 0, 131076, 393265, 0, 2, 458752, 0, 65536, 458753, 0, 65538, 458758, 0, 131072, 458759, 0, 131073, 458760, 0, 131074, 458765, 0, 65536, 458766, 0, 65537, 458767, 0, 65537, 458768, 0, 65538, 458773, 0, 65541, 458774, 0, 65537, 458775, 0, 65538, 458779, 0, 65536, 458780, 0, 65537, 458781, 0, 65539, 458790, 0, 131072, 458791, 0, 4, 458792, 0, 4, 458793, 0, 5, 458794, 0, 65537, 458795, 0, 65537, 458796, 0, 65537, 458797, 0, 65537, 458798, 0, 65537, 458799, 0, 65537, 458800, 0, 65537, 458801, 0, 65539, 524288, 0, 65541, 524289, 0, 65538, 524301, 0, 131072, 524302, 0, 131073, 524303, 0, 4, 524304, 0, 131074, 524309, 0, 131072, 524310, 0, 4, 524311, 0, 131074, 524315, 0, 65536, 524316, 0, 65537, 524317, 0, 65538, 524329, 0, 65541, 524330, 0, 65537, 524331, 0, 65537, 524332, 0, 65537, 524333, 0, 65537, 524334, 0, 65537, 524335, 0, 65537, 524336, 0, 65537, 524337, 0, 65539, 589824, 0, 65541, 589825, 0, 65539, 589851, 0, 65541, 589852, 0, 65537, 589853, 0, 131075, 589854, 0, 1, 589855, 0, 131076, 589856, 0, 131076, 589857, 0, 131076, 589858, 0, 1, 589859, 0, 1, 589860, 0, 2, 589865, 0, 65536, 589866, 0, 65537, 589867, 0, 65537, 589868, 0, 65537, 589869, 0, 65537, 589870, 0, 65537, 589871, 0, 65537, 589872, 0, 65537, 589873, 0, 65539, 655360, 0, 65536, 655361, 0, 65539, 655377, 0, 0, 655378, 0, 131076, 655379, 0, 2, 655387, 0, 65541, 655388, 0, 65537, 655389, 0, 3, 655390, 0, 4, 655391, 0, 4, 655392, 0, 4, 655393, 0, 4, 655394, 0, 4, 655395, 0, 4, 655396, 0, 131074, 655401, 0, 65541, 655402, 0, 65537, 655403, 0, 65537, 655404, 0, 65537, 655405, 0, 65537, 655406, 0, 65537, 655407, 0, 65537, 655408, 0, 65537, 6554
[node name="EnterLevelArea" parent="." instance=ExtResource( 2 )]
position = Vector2( -2, 224 )
[node name="AmbiantLighting" parent="." instance=ExtResource( 3 )]
[node name="WarpZone" parent="." instance=ExtResource( 2 )]
position = Vector2( 360, 97 )
zone = 1
[node name="WarpZone2" parent="." instance=ExtResource( 2 )]
position = Vector2( 240, 96 )
zone = 2
[connection signal="player_entered" from="WarpZone" to="." method="_on_WarpZone_player_entered"]
[connection signal="player_entered" from="WarpZone2" to="." method="_on_WarpZone_player_entered"]