181 lines
13 KiB
Plaintext
181 lines
13 KiB
Plaintext
[gd_scene load_steps=11 format=3 uid="uid://cxni03aowykty"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cwhk7ysxws0s0" path="res://scenes/Game/Player/player.tscn" id="1_ol65m"]
|
|
[ext_resource type="Texture2D" uid="uid://cyn664h8v4yjq" path="res://assets/Sunny Land Collection Files/Sunny Land Collection Files/Assets/Environments/Day-Platformer/PNG/tileset.png" id="2_2shen"]
|
|
[ext_resource type="PackedScene" uid="uid://5bcs7peqaotp" path="res://scenes/Game/Background/parallax_background.tscn" id="2_7th7e"]
|
|
[ext_resource type="Script" path="res://scenes/Game/killinzone.gd" id="4_rly4c"]
|
|
[ext_resource type="PackedScene" uid="uid://cwwrv2mwnu2q3" path="res://scenes/Game/Enemy/enemy.tscn" id="6_0idbk"]
|
|
|
|
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_650cm"]
|
|
texture = ExtResource("2_2shen")
|
|
0:0/0 = 0
|
|
1:0/0 = 0
|
|
2:0/0 = 0
|
|
3:0/0 = 0
|
|
4:0/0 = 0
|
|
5:0/0 = 0
|
|
6:0/0 = 0
|
|
7:0/0 = 0
|
|
8:0/0 = 0
|
|
9:0/0 = 0
|
|
10:0/0 = 0
|
|
11:0/0 = 0
|
|
12:0/0 = 0
|
|
13:0/0 = 0
|
|
14:0/0 = 0
|
|
15:0/0 = 0
|
|
16:0/0 = 0
|
|
17:0/0 = 0
|
|
18:0/0 = 0
|
|
19:0/0 = 0
|
|
20:0/0 = 0
|
|
21:0/0 = 0
|
|
22:0/0 = 0
|
|
23:0/0 = 0
|
|
0:1/0 = 0
|
|
0:2/0 = 0
|
|
19:2/0 = 0
|
|
21:2/0 = 0
|
|
0:3/0 = 0
|
|
0:4/0 = 0
|
|
3:4/0 = 0
|
|
3:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
14:4/0 = 0
|
|
14:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
15:4/0 = 0
|
|
15:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
17:4/0 = 0
|
|
17:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
19:4/0 = 0
|
|
19:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
20:4/0 = 0
|
|
20:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
0:5/0 = 0
|
|
3:5/0 = 0
|
|
3:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
14:5/0 = 0
|
|
14:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
15:5/0 = 0
|
|
15:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
19:5/0 = 0
|
|
19:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
20:5/0 = 0
|
|
20:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
22:5/0 = 0
|
|
22:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
0:6/0 = 0
|
|
3:6/0 = 0
|
|
3:6/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
0:7/0 = 0
|
|
14:7/0 = 0
|
|
14:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
15:7/0 = 0
|
|
15:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
16:7/0 = 0
|
|
16:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
17:7/0 = 0
|
|
17:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
18:7/0 = 0
|
|
18:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
20:7/0 = 0
|
|
20:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
22:7/0 = 0
|
|
22:7/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
0:8/0 = 0
|
|
14:8/0 = 0
|
|
14:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
15:8/0 = 0
|
|
15:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
16:8/0 = 0
|
|
16:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
17:8/0 = 0
|
|
17:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
18:8/0 = 0
|
|
18:8/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
0:9/0 = 0
|
|
8:9/0 = 0
|
|
9:9/0 = 0
|
|
10:9/0 = 0
|
|
11:9/0 = 0
|
|
12:9/0 = 0
|
|
14:9/0 = 0
|
|
14:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
15:9/0 = 0
|
|
15:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
16:9/0 = 0
|
|
16:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
17:9/0 = 0
|
|
17:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
18:9/0 = 0
|
|
18:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
20:9/0 = 0
|
|
20:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
22:9/0 = 0
|
|
22:9/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -8, 8, -8, 8, 8, -8, 8)
|
|
0:10/0 = 0
|
|
5:4/0 = 0
|
|
7:2/size_in_atlas = Vector2i(4, 6)
|
|
7:2/0 = 0
|
|
2:8/size_in_atlas = Vector2i(4, 2)
|
|
2:8/0 = 0
|
|
13:2/size_in_atlas = Vector2i(2, 1)
|
|
13:2/0 = 0
|
|
16:2/size_in_atlas = Vector2i(2, 1)
|
|
16:2/0 = 0
|
|
|
|
[sub_resource type="TileSet" id="TileSet_qj71j"]
|
|
physics_layer_0/collision_layer = 1
|
|
sources/0 = SubResource("TileSetAtlasSource_650cm")
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_wvjjf"]
|
|
size = Vector2(1170, 20)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5wtle"]
|
|
size = Vector2(683, 24)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_igtsr"]
|
|
size = Vector2(1284, 20)
|
|
|
|
[node name="World" type="Node2D"]
|
|
|
|
[node name="ParallaxBackground" parent="." instance=ExtResource("2_7th7e")]
|
|
|
|
[node name="TileMap" type="TileMap" parent="."]
|
|
tile_set = SubResource("TileSet_qj71j")
|
|
format = 2
|
|
layer_0/tile_data = PackedInt32Array(1507360, 196608, 4, 1507361, 196608, 4, 1507362, 196608, 4, 1507363, 196608, 4, 1310756, 196608, 4, 1310757, 196608, 4, 1310758, 196608, 4, 1310759, 196608, 4, 1310760, 196608, 4, 1310745, 196608, 4, 1310746, 196608, 4, 1310747, 196608, 4, 1310748, 196608, 4, 1114129, 196608, 4, 1114130, 196608, 4, 1114131, 196608, 4, 1114132, 196608, 4, 1114128, 196608, 4, 917513, 196608, 4, 917514, 196608, 4, 917515, 196608, 4, 917516, 196608, 4, 917517, 196608, 4, 720918, 196608, 4, 720919, 196608, 4, 720920, 196608, 4, 720921, 196608, 4, 720922, 196608, 4, 524290, 196608, 4, 524291, 196608, 4, 524292, 196608, 4, 524293, 196608, 4, 524294, 196608, 4, 524295, 196608, 4, 393249, 196608, 4, 393250, 196608, 4, 393251, 196608, 4, 393252, 196608, 4, 393253, 196608, 4, 393254, 196608, 4, 2097151, 196608, 6, 2162687, 196608, 6, 2228223, 196608, 6, 2293759, 196608, 6, 2359295, 196608, 6, 2424831, 196608, 6, 2490367, 196608, 6, 2555903, 196608, 6, 524312, 458752, 2, 1114151, 458752, 2, 851979, 1048576, 2, 851978, 1048576, 2, 458755, 1048576, 2, 327717, 1048576, 2, 327713, 1245184, 2, 327714, 1245184, 2, 327715, 1245184, 2, 327716, 1245184, 2, 655382, 1245184, 2, 655383, 1245184, 2, 655385, 1245184, 2, 655386, 1245184, 2, 851981, 1245184, 2, 1048596, 1376256, 2, 1048595, 1376256, 2, 1048594, 1376256, 2, 1048593, 1376256, 2, 1048592, 1114112, 4, 983084, 196608, 4, 983085, 196608, 4, 983086, 196608, 4, 983087, 196608, 4, 983088, 196608, 4, 983089, 196608, 4, 524334, 196608, 4, 524335, 196608, 4, 524336, 196608, 4, 524337, 196608, 4, 524338, 196608, 4, 524339, 196608, 4, 852024, 196608, 4, 852025, 196608, 4, 852026, 196608, 4, 852027, 196608, 4, 852028, 196608, 4, 1310779, 196608, 4, 1310780, 196608, 4, 1310781, 196608, 4, 1310782, 196608, 4, 1310783, 196608, 4, 1310784, 196608, 4, 1638467, 196608, 4, 1638468, 196608, 4, 1638469, 196608, 4, 1638470, 196608, 4, 1441862, 458752, 2, 1245247, 1048576, 2, 786489, 1048576, 2, 458801, 1048576, 2, 2293760, 196608, 4, 2293761, 196608, 4, 2293762, 196608, 4, 2293763, 196608, 4, 2293764, 196608, 4, 2293765, 196608, 4, 2293766, 196608, 4, 2293767, 196608, 4, 2293768, 196608, 4, 2293769, 196608, 4, 2293770, 196608, 4, 2293771, 196608, 4, 2293772, 196608, 4, 2293773, 196608, 4, 2293774, 196608, 4, 2293775, 196608, 4, 2293776, 196608, 4, 2293777, 196608, 4, 2293778, 196608, 4, 2293779, 196608, 4, 2293780, 196608, 4, 2293781, 196608, 4, 2293782, 196608, 4, 2097156, 458752, 2, 2097165, 458752, 2, 2228246, 1245184, 2, 2228245, 1245184, 2, 2228244, 1245184, 2, 2228243, 1245184, 2, 2228242, 1245184, 2, 2228241, 1245184, 2, 2228240, 1245184, 2, 2228239, 1245184, 2, 2228238, 1245184, 2, 2228236, 1245184, 2, 2228235, 1245184, 2, 2228234, 1245184, 2, 2228233, 1245184, 2, 2228232, 1245184, 2, 2228231, 1245184, 2, 2228230, 1245184, 2, 2228229, 1245184, 2, 2228227, 1245184, 2, 2228226, 1245184, 2, 2228225, 1245184, 2, 2228224, 1245184, 2, 2359296, 196608, 6, 2424832, 196608, 6, 2490368, 196608, 6, 2555904, 196608, 6, 2621440, 196608, 6, 2359297, 196608, 6, 2424833, 196608, 6, 2490369, 196608, 6, 2555905, 196608, 6, 2621441, 196608, 6, 2359298, 196608, 6, 2424834, 196608, 6, 2490370, 196608, 6, 2555906, 196608, 6, 2621442, 196608, 6, 2359299, 196608, 6, 2424835, 196608, 6, 2490371, 196608, 6, 2555907, 196608, 6, 2621443, 196608, 6, 2359300, 196608, 6, 2424836, 196608, 6, 2490372, 196608, 6, 2555908, 196608, 6, 2621444, 196608, 6, 2359301, 196608, 6, 2424837, 196608, 6, 2490373, 196608, 6, 2555909, 196608, 6, 2621445, 196608, 6, 2359302, 196608, 6, 2424838, 196608, 6, 2490374, 196608, 6, 2555910, 196608, 6, 2621446, 196608, 6, 2359303, 196608, 6, 2424839, 196608, 6, 2490375, 196608, 6, 2555911, 196608, 6, 2621447, 196608, 6, 2359304, 196608, 6, 2424840, 196608, 6, 2490376, 196608, 6, 2555912, 196608, 6, 2621448, 196608, 6, 2359305, 196608, 6, 2424841, 196608, 6, 2490377, 196608, 6, 2555913, 196608, 6, 2621449, 196608, 6, 2359306, 196608, 6, 2424842, 196608, 6, 2490378, 196608, 6, 2555914, 196608, 6, 2621450, 196608, 6, 2359307, 196608, 6, 2424843, 196608, 6, 2490379, 196608, 6, 2555915, 196608, 6, 2621451, 196608, 6, 2359308, 196608, 6, 2424844, 196608, 6, 2490380, 196608, 6, 2555916, 196608, 6, 2621452, 196608, 6, 2359309, 196608, 6, 2424845, 196608, 6, 2490381, 196608, 6, 2555917, 196608, 6, 2621453, 196608, 6, 2359310, 196608, 6, 2424846, 196608, 6, 2490382, 196608, 6, 2555918, 196608, 6, 2621454, 196608, 6, 2359311, 196608, 6, 2424847, 196608, 6, 2490383, 196608, 6, 2555919, 196608, 6, 2621455, 196608, 6, 2359312, 196608, 6, 2424848, 196608, 6, 2490384, 196608, 6, 2555920, 196608, 6, 2621456, 196608, 6, 2359313, 196608, 6, 2424849, 196608, 6, 2490385, 196608, 6, 2555921, 196608, 6, 2621457, 196608, 6, 2359314, 196608, 6, 2424850, 196608, 6, 2490386, 196608, 6, 2555922, 196608, 6, 2621458, 196608, 6, 2359315, 196608, 6, 2424851, 196608, 6, 2490387, 196608, 6, 2555923, 196608, 6, 2621459, 196608, 6, 2359316, 196608, 6, 2424852, 196608, 6, 2490388, 196608, 6, 2555924, 196608, 6, 2621460, 196608, 6, 2359317, 196608, 6, 2424853, 196608, 6, 2490389, 196608, 6, 2555925, 196608, 6, 2621461, 196608, 6, 2359318, 196608, 6, 2424854, 196608, 6, 2490390, 196608, 6, 2555926, 196608, 6, 2621462, 196608, 6, 2097176, 196608, 4, 2097177, 196608, 4, 2097178, 196608, 4, 2097179, 196608, 4, 2097180, 196608, 4, 1769491, 196608, 4, 1769492, 196608, 4, 1769493, 196608, 4, 1769494, 196608, 4, 1572870, 196608, 4, 1572871, 196608, 4, 1572872, 196608, 4, 1572873, 196608, 4, 1572874, 196608, 4, 1572875, 196608, 4, 1310720, 196608, 4, 1310721, 196608, 4, 1310722, 196608, 4, 1310723, 196608, 4, 1638428, 196608, 4, 1900583, 196608, 4, 1900584, 196608, 4, 1900585, 196608, 4, 1900586, 196608, 4, 1900587, 196608, 4, 2031667, 196608, 4, 2031668, 196608, 4, 2031669, 196608, 4, 2228284, 196608, 4, 2228285, 196608, 4, 2228286, 196608, 4, 2424899, 196608, 4, 2424900, 196608, 4, 2424901, 196608, 4, 1769528, 196608, 4, 1441841, 196608, 4, 1441842, 196608, 4, 1441843, 196608, 4, 1441844, 196608, 4, 2424870, 196608, 4, 2424871, 196608, 4, 2424872, 196608, 4, 2424873, 196608, 4, 2424874, 196608, 4, 2424875, 196608, 4, 2424876, 196608, 4, 2359336, 1048576, 2, 1966132, 1048576, 2, 1835048, 1048576, 2, 1703956, 1048576, 2, 1245210, 1048576, 2, 2359365, 1048576, 2, 1507336, 851968, 2, 2031643, 851968, 2, 2359338, 851968, 2, 1441826, 851968, 2, 1835050, 1245184, 2, 1835051, 1245184, 2, 2162748, 1245184, 2, 2162749, 1245184, 2, 2162750, 1245184, 2, 2359334, 1245184, 2, 2359340, 1245184, 2, 2359363, 1245184, 2, 1245243, 1245184, 2, 1245244, 1245184, 2, 1245245, 1245184, 2, 1245246, 1245184, 2, 1572931, 1245184, 2, 1572932, 1245184, 2, 1572933, 1245184, 2, 1572934, 1245184, 2, 917548, 1245184, 2, 917549, 1245184, 2, 917550, 1245184, 2, 917551, 1245184, 2, 917552, 1245184, 2, 917553, 1245184, 2, 458798, 1245184, 2, 458799, 1245184, 2, 458800, 1245184, 2, 458802, 1245184, 2, 458803, 1245184, 2, 786490, 1245184, 2, 786491, 1245184, 2, 786492, 1245184, 2)
|
|
|
|
[node name="Player" parent="." instance=ExtResource("1_ol65m")]
|
|
position = Vector2(131, 104)
|
|
|
|
[node name="StaticBody2D" type="StaticBody2D" parent="."]
|
|
|
|
[node name="roof" type="CollisionShape2D" parent="StaticBody2D"]
|
|
position = Vector2(575, -9)
|
|
shape = SubResource("RectangleShape2D_wvjjf")
|
|
|
|
[node name="right" type="CollisionShape2D" parent="StaticBody2D"]
|
|
position = Vector2(1163, 322.5)
|
|
rotation = 1.5708
|
|
shape = SubResource("RectangleShape2D_5wtle")
|
|
|
|
[node name="left" type="CollisionShape2D" parent="StaticBody2D"]
|
|
position = Vector2(-9, 322.5)
|
|
rotation = 1.5708
|
|
shape = SubResource("RectangleShape2D_5wtle")
|
|
|
|
[node name="Area2D" type="Area2D" parent="StaticBody2D"]
|
|
position = Vector2(602, 751)
|
|
script = ExtResource("4_rly4c")
|
|
|
|
[node name="floor" type="CollisionShape2D" parent="StaticBody2D/Area2D"]
|
|
shape = SubResource("RectangleShape2D_igtsr")
|
|
|
|
[node name="mobs" type="Node" parent="."]
|
|
|
|
[node name="enemy" parent="mobs" instance=ExtResource("6_0idbk")]
|
|
position = Vector2(439, 456)
|
|
|
|
[connection signal="body_entered" from="StaticBody2D/Area2D" to="StaticBody2D/Area2D" method="_on_body_entered"]
|
|
[connection signal="hurt" from="mobs/enemy" to="Player" method="_on_enemy_hurt"]
|