aboutsummaryrefslogtreecommitdiff
path: root/scenes/level1.tscn
blob: 92f6351ff554a505978b0cbf10330a1162138947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[gd_scene load_steps=10 format=2]

[ext_resource path="res://entities/player/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://tileset/main_tileset.tres" type="TileSet" id=2]
[ext_resource path="res://collectables/Apple.tscn" type="PackedScene" id=3]
[ext_resource path="res://backgrounds/Brown.png" type="Texture" id=4]
[ext_resource path="res://entities/chicken/chicken.tscn" type="PackedScene" id=5]
[ext_resource path="res://static/left.png" type="Texture" id=6]
[ext_resource path="res://static/x.png" type="Texture" id=7]
[ext_resource path="res://static/door/door.tscn" type="PackedScene" id=8]
[ext_resource path="res://scenes/level1.gd" type="Script" id=9]

[node name="Level1" type="Node2D"]
script = ExtResource( 9 )

[node name="ParallaxBackground" type="ParallaxBackground" parent="."]

[node name="ParallaxLayer" type="ParallaxLayer" parent="ParallaxBackground"]

[node name="TextureRect" type="TextureRect" parent="ParallaxBackground/ParallaxLayer"]
margin_right = 799.0
margin_bottom = 610.0
texture = ExtResource( 4 )
stretch_mode = 2

[node name="X" type="Sprite" parent="ParallaxBackground/ParallaxLayer/TextureRect"]
position = Vector2( 282, 90 )
texture = ExtResource( 7 )

[node name="Player" parent="." instance=ExtResource( 1 )]
position = Vector2( 58, 80 )

[node name="TileMap" type="TileMap" parent="."]
tile_set = ExtResource( 2 )
cell_size = Vector2( 16, 16 )
cell_custom_transform = Transform2D( 0, 0, 0, 0, 0, 0 )
collision_layer = 3
collision_mask = 3
format = 1
tile_data = PoolIntArray( 0, 12, 0, 1, 13, 0, 2, 13, 0, 3, 13, 0, 4, 13, 0, 5, 13, 0, 6, 13, 0, 7, 13, 0, 8, 13, 0, 9, 13, 0, 10, 13, 0, 11, 13, 0, 12, 13, 0, 13, 13, 0, 14, 13, 0, 15, 13, 0, 16, 13, 0, 17, 13, 0, 18, 13, 0, 19, 13, 0, 20, 13, 0, 21, 13, 0, 22, 13, 0, 23, 13, 0, 24, 13, 0, 25, 13, 0, 26, 13, 0, 27, 13, 0, 28, 13, 0, 29, 13, 0, 30, 13, 0, 31, 13, 0, 32, 13, 0, 33, 13, 0, 34, 13, 0, 35, 13, 0, 36, 13, 0, 37, 13, 0, 38, 13, 0, 39, 13, 0, 40, 13, 0, 41, 13, 0, 42, 13, 0, 43, 13, 0, 44, 13, 0, 45, 13, 0, 46, 13, 0, 47, 13, 0, 48, 13, 0, 49, 14, 0, 65536, 15, 0, 65585, 15, 0, 131072, 37, 0, 131121, 37, 0, 196608, 37, 0, 196643, 6, 0, 196644, 7, 0, 196645, 7, 0, 196646, 7, 0, 196647, 7, 0, 196648, 7, 0, 196649, 7, 0, 196650, 7, 0, 196651, 7, 0, 196652, 7, 0, 196653, 7, 0, 196654, 7, 0, 196655, 7, 0, 196656, 7, 0, 196657, 37, 0, 262144, 37, 0, 262179, 50, 0, 262180, 51, 0, 262181, 51, 0, 262182, 51, 0, 262183, 51, 0, 262184, 51, 0, 262185, 51, 0, 262186, 51, 0, 262187, 51, 0, 262188, 51, 0, 262189, 51, 0, 262190, 51, 0, 262191, 51, 0, 262192, 51, 0, 262193, 37, 0, 327680, 37, 0, 327729, 37, 0, 393216, 37, 0, 393217, 7, 0, 393218, 7, 0, 393219, 7, 0, 393220, 7, 0, 393221, 7, 0, 393222, 7, 0, 393223, 7, 0, 393224, 7, 0, 393225, 7, 0, 393226, 7, 0, 393227, 7, 0, 393228, 8, 0, 393241, 6, 0, 393242, 7, 0, 393243, 7, 0, 393244, 7, 0, 393245, 7, 0, 393246, 7, 0, 393247, 8, 0, 393265, 37, 0, 458752, 37, 0, 458753, 51, 0, 458754, 51, 0, 458755, 51, 0, 458756, 51, 0, 458757, 51, 0, 458758, 51, 0, 458759, 51, 0, 458760, 51, 0, 458761, 51, 0, 458762, 51, 0, 458763, 51, 0, 458764, 52, 0, 458777, 50, 0, 458778, 51, 0, 458779, 51, 0, 458780, 51, 0, 458781, 51, 0, 458782, 51, 0, 458783, 52, 0, 458801, 37, 0, 524288, 37, 0, 524303, 6, 0, 524304, 7, 0, 524305, 7, 0, 524306, 7, 0, 524307, 536870918, 0, 524323, 6, 0, 524324, 7, 0, 524325, 7, 0, 524326, 7, 0, 524327, 7, 0, 524328, 7, 0, 524329, 8, 0, 524337, 37, 0, 589824, 37, 0, 589839, 50, 0, 589840, 51, 0, 589841, 51, 0, 589842, 51, 0, 589843, 52, 0, 589859, 50, 0, 589860, 51, 0, 589861, 51, 0, 589862, 51, 0, 589863, 51, 0, 589864, 51, 0, 589865, 52, 0, 589873, 37, 0, 655360, 37, 0, 655409, 37, 0, 720896, 37, 0, 720922, 6, 0, 720923, 7, 0, 720924, 7, 0, 720925, 7, 0, 720926, 7, 0, 720927, 7, 0, 720928, 8, 0, 720945, 37, 0, 786432, 37, 0, 786458, 50, 0, 786459, 51, 0, 786460, 51, 0, 786461, 51, 0, 786462, 51, 0, 786463, 51, 0, 786464, 52, 0, 786481, 37, 0, 851968, 37, 0, 852017, 37, 0, 917504, 37, 0, 917507, 6, 0, 917508, 7, 0, 917509, 7, 0, 917510, 7, 0, 917511, 7, 0, 917512, 7, 0, 917513, 8, 0, 917515, 18, 0, 917516, 18, 0, 917517, 18, 0, 917518, 18, 0, 917520, 6, 0, 917521, 7, 0, 917522, 7, 0, 917523, 7, 0, 917524, 7, 0, 917525, 7, 0, 917526, 8, 0, 917553, 37, 0, 983040, 37, 0, 983043, 50, 0, 983044, 51, 0, 983045, 51, 0, 983046, 51, 0, 983047, 51, 0, 983048, 51, 0, 983049, 52, 0, 983056, 50, 0, 983057, 51, 0, 983058, 51, 0, 983059, 51, 0, 983060, 51, 0, 983061, 51, 0, 983062, 52, 0, 983072, 6, 0, 983073, 7, 0, 983074, 7, 0, 983075, 7, 0, 983076, 7, 0, 983077, 7, 0, 983078, 8, 0, 983089, 37, 0, 1048576, 37, 0, 1048608, 50, 0, 1048609, 51, 0, 1048610, 51, 0, 1048611, 51, 0, 1048612, 51, 0, 1048613, 51, 0, 1048614, 52, 0, 1048625, 37, 0, 1114112, 37, 0, 1114161, 37, 0, 1179648, 37, 0, 1179697, 37, 0, 1245184, 37, 0, 1245206, 6, 0, 1245207, 7, 0, 1245208, 7, 0, 1245209, 7, 0, 1245210, 7, 0, 1245211, 7, 0, 1245212, 8, 0, 1245233, 37, 0, 1310720, 37, 0, 1310742, 28, 0, 1310743, 29, 0, 1310744, 29, 0, 1310745, 29, 0, 1310746, 29, 0, 1310747, 29, 0, 1310748, 30, 0, 1310757, 6, 0, 1310758, 7, 0, 1310759, 7, 0, 1310760, 7, 0, 1310761, 7, 0, 1310762, 7, 0, 1310763, 7, 0, 1310764, 7, 0, 1310765, 7, 0, 1310766, 7, 0, 1310767, 7, 0, 1310768, 7, 0, 1310769, 37, 0, 1376256, 37, 0, 1376257, 7, 0, 1376258, 7, 0, 1376259, 7, 0, 1376260, 7, 0, 1376261, 7, 0, 1376262, 8, 0, 1376271, 6, 0, 1376272, 7, 0, 1376273, 7, 0, 1376274, 7, 0, 1376275, 7, 0, 1376276, 7, 0, 1376277, 7, 0, 1376278, 29, 0, 1376279, 29, 0, 1376280, 29, 0, 1376281, 29, 0, 1376282, 29, 0, 1376283, 29, 0, 1376284, 30, 0, 1376293, 50, 0, 1376294, 51, 0, 1376295, 51, 0, 1376296, 51, 0, 1376297, 51, 0, 1376298, 51, 0, 1376299, 51, 0, 1376300, 51, 0, 1376301, 51, 0, 1376302, 51, 0, 1376303, 51, 0, 1376304, 51, 0, 1376305, 37, 0, 1441792, 37, 0, 1441793, 51, 0, 1441794, 51, 0, 1441795, 51, 0, 1441796, 51, 0, 1441797, 51, 0, 1441798, 52, 0, 1441807, 50, 0, 1441808, 51, 0, 1441809, 51, 0, 1441810, 51, 0, 1441811, 51, 0, 1441812, 51, 0, 1441813, 51, 0, 1441814, 51, 0, 1441815, 51, 0, 1441816, 51, 0, 1441817, 51, 0, 1441818, 51, 0, 1441819, 51, 0, 1441820, 52, 0, 1441841, 37, 0, 1507328, 37, 0, 1507377, 37, 0, 1572864, 37, 0, 1572913, 37, 0, 1638400, 37, 0, 1638404, 6, 0, 1638405, 7, 0, 1638406, 7, 0, 1638407, 7, 0, 1638408, 7, 0, 1638409, 7, 0, 1638410, 8, 0, 1638449, 37, 0, 1703936, 37, 0, 1703940, 50, 0, 1703941, 51, 0, 1703942, 51, 0, 1703943, 51, 0, 1703944, 51, 0, 1703945, 51, 0, 1703946, 52, 0, 1703985, 37, 0, 1769472, 37, 0, 1769487, 6, 0, 1769488, 7, 0, 1769489, 7, 0, 1769490, 7, 0, 1769491, 7, 0, 1769492, 7, 0, 1769493, 8, 0, 1769521, 37, 0, 1835008, 37, 0, 1835023, 50, 0, 1835024, 51, 0, 1835025, 51, 0, 1835026, 51, 0, 1835027, 51, 0, 1835028, 51, 0, 1835029, 52, 0, 1835033, 6, 0, 1835034, 7, 0, 1835035, 7, 0, 1835036, 7, 0, 1835037, 7, 0, 1835038, 7, 0, 1835039, 8, 0, 1835057, 37, 0, 1900544, 37, 0, 1900569, 50, 0, 1900570, 51, 0, 1900571, 51, 0, 1900572, 51, 0, 1900573, 51, 0, 1900574, 51, 0, 1900575, 52, 0, 1900578, 6, 0, 1900579, 7, 0, 1900580, 7, 0, 1900581, 7, 0, 1900582, 7, 0, 1900583, 7, 0, 1900584, 8, 0, 1900593, 37, 0, 1966080, 37, 0, 1966114, 50, 0, 1966115, 51, 0, 1966116, 51, 0, 1966117, 51, 0, 1966118, 51, 0, 1966119, 51, 0, 1966120, 52, 0, 1966129, 37, 0, 2031616, 37, 0, 2031665, 37, 0, 2097152, 37, 0, 2097201, 37, 0, 2162688, 37, 0, 2162694, 6, 0, 2162695, 7, 0, 2162696, 7, 0, 2162697, 7, 0, 2162698, 7, 0, 2162699, 7, 0, 2162700, 8, 0, 2162711, 6, 0, 2162712, 7, 0, 2162713, 7, 0, 2162714, 7, 0, 2162715, 7, 0, 2162716, 7, 0, 2162717, 8, 0, 2162729, 6, 0, 2162730, 7, 0, 2162731, 7, 0, 2162732, 7, 0, 2162733, 7, 0, 2162734, 7, 0, 2162735, 8, 0, 2162737, 37, 0, 2228224, 37, 0, 2228230, 50, 0, 2228231, 51, 0, 2228232, 51, 0, 2228233, 51, 0, 2228234, 51, 0, 2228235, 51, 0, 2228236, 52, 0, 2228247, 50, 0, 2228248, 51, 0, 2228249, 51, 0, 2228250, 51, 0, 2228251, 51, 0, 2228252, 51, 0, 2228253, 52, 0, 2228265, 50, 0, 2228266, 51, 0, 2228267, 51, 0, 2228268, 51, 0, 2228269, 51, 0, 2228270, 51, 0, 2228271, 52, 0, 2228273, 37, 0, 2293760, 37, 0, 2293809, 37, 0, 2359296, 59, 0, 2359345, 59, 0, 2424832, 12, 0, 2424833, 13, 0, 2424834, 13, 0, 2424835, 13, 0, 2424836, 13, 0, 2424837, 13, 0, 2424838, 13, 0, 2424839, 13, 0, 2424840, 13, 0, 2424841, 13, 0, 2424842, 13, 0, 2424843, 13, 0, 2424844, 13, 0, 2424845, 13, 0, 2424846, 13, 0, 2424847, 13, 0, 2424848, 13, 0, 2424849, 13, 0, 2424850, 13, 0, 2424851, 13, 0, 2424852, 13, 0, 2424853, 13, 0, 2424854, 13, 0, 2424855, 13, 0, 2424856, 13, 0, 2424857, 13, 0, 2424858, 13, 0, 2424859, 13, 0, 2424860, 13, 0, 2424861, 13, 0, 2424862, 13, 0, 2424863, 13, 0, 2424864, 13, 0, 2424865, 13, 0, 2424866, 13, 0, 2424867, 13, 0, 2424868, 13, 0, 2424869, 13, 0, 2424870, 13, 0, 2424871, 13, 0, 2424872, 13, 0, 2424873, 13, 0, 2424874, 13, 0, 2424875, 13, 0, 2424876, 13, 0, 2424877, 13, 0, 2424878, 13, 0, 2424879, 13, 0, 2424880, 13, 0, 2424881, 14, 0 )

[node name="Left" type="Sprite" parent="TileMap"]
position = Vector2( 61, 60 )
texture = ExtResource( 6 )

[node name="Right" type="Sprite" parent="TileMap"]
position = Vector2( 109, 60 )
scale = Vector2( -1, 1 )
texture = ExtResource( 6 )

[node name="Camera2D" type="Camera2D" parent="."]
position = Vector2( 400, 305 )
current = true
zoom = Vector2( 1, 1.01 )

[node name="Apples" type="Node2D" parent="."]
position = Vector2( 400, 300 )

[node name="Apple" parent="Apples" instance=ExtResource( 3 )]
position = Vector2( -328, 189 )

[node name="Apple2" parent="Apples" instance=ExtResource( 3 )]
position = Vector2( 307, 278 )

[node name="Apple3" parent="Apples" instance=ExtResource( 3 )]
position = Vector2( -329, -91 )

[node name="Apple4" parent="Apples" instance=ExtResource( 3 )]
position = Vector2( 281, 0 )

[node name="Apple5" parent="Apples" instance=ExtResource( 3 )]
position = Vector2( 95, -136 )

[node name="Apple6" parent="Apples" instance=ExtResource( 3 )]
position = Vector2( -146, -192 )

[node name="Chicken" parent="." instance=ExtResource( 5 )]
position = Vector2( 729, 32 )

[node name="Chicken2" parent="." instance=ExtResource( 5 )]
position = Vector2( 394, 284 )

[node name="Door" parent="." instance=ExtResource( 8 )]
position = Vector2( 770, 32 )
scale = Vector2( 0.6, 0.6 )