aboutsummaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
Diffstat (limited to 'scenes')
-rw-r--r--scenes/level1.tscn18
1 files changed, 13 insertions, 5 deletions
diff --git a/scenes/level1.tscn b/scenes/level1.tscn
index bbe7b4a..e87deb0 100644
--- a/scenes/level1.tscn
+++ b/scenes/level1.tscn
@@ -1,11 +1,22 @@
-[gd_scene load_steps=4 format=2]
+[gd_scene load_steps=5 format=2]
[ext_resource path="res://entities/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]
[node name="Node2D" type="Node2D"]
+[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="Player" parent="." instance=ExtResource( 1 )]
position = Vector2( 77, 31 )
@@ -13,7 +24,7 @@ position = Vector2( 77, 31 )
tile_set = ExtResource( 2 )
cell_size = Vector2( 16, 16 )
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, 196657, 37, 0, 262144, 37, 0, 262193, 37, 0, 327680, 37, 0, 327729, 37, 0, 393216, 37, 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, 393265, 37, 0, 458752, 37, 0, 458754, 50, 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, 458801, 37, 0, 524288, 37, 0, 524303, 6, 0, 524304, 7, 0, 524305, 7, 0, 524306, 7, 0, 524307, 7, 0, 524308, 7, 0, 524309, 7, 0, 524310, 7, 0, 524311, 7, 0, 524312, 7, 0, 524313, 7, 0, 524314, 8, 0, 524337, 37, 0, 589824, 37, 0, 589839, 50, 0, 589840, 51, 0, 589841, 51, 0, 589842, 51, 0, 589843, 51, 0, 589844, 51, 0, 589845, 51, 0, 589846, 51, 0, 589847, 51, 0, 589848, 51, 0, 589849, 51, 0, 589850, 52, 0, 589858, 6, 0, 589859, 7, 0, 589860, 7, 0, 589861, 7, 0, 589862, 7, 0, 589863, 7, 0, 589864, 7, 0, 589865, 7, 0, 589866, 7, 0, 589867, 7, 0, 589868, 7, 0, 589869, 8, 0, 589873, 37, 0, 655360, 37, 0, 655394, 50, 0, 655395, 51, 0, 655396, 51, 0, 655397, 51, 0, 655398, 51, 0, 655399, 51, 0, 655400, 51, 0, 655401, 51, 0, 655402, 51, 0, 655403, 51, 0, 655404, 51, 0, 655405, 52, 0, 655409, 37, 0, 720896, 37, 0, 720945, 37, 0, 786432, 37, 0, 786481, 37, 0, 851968, 37, 0, 852017, 37, 0, 917504, 37, 0, 917553, 37, 0, 983040, 37, 0, 983089, 37, 0, 1048576, 37, 0, 1048625, 37, 0, 1114112, 37, 0, 1114134, 6, 0, 1114135, 7, 0, 1114136, 7, 0, 1114137, 7, 0, 1114138, 7, 0, 1114139, 7, 0, 1114140, 7, 0, 1114141, 7, 0, 1114142, 7, 0, 1114143, 7, 0, 1114144, 7, 0, 1114145, 8, 0, 1114161, 37, 0, 1179648, 37, 0, 1179653, 6, 0, 1179654, 7, 0, 1179655, 7, 0, 1179656, 7, 0, 1179657, 7, 0, 1179658, 7, 0, 1179659, 7, 0, 1179660, 7, 0, 1179661, 7, 0, 1179662, 7, 0, 1179663, 7, 0, 1179664, 8, 0, 1179670, 50, 0, 1179671, 51, 0, 1179672, 51, 0, 1179673, 51, 0, 1179674, 51, 0, 1179675, 51, 0, 1179676, 51, 0, 1179677, 51, 0, 1179678, 51, 0, 1179679, 51, 0, 1179680, 51, 0, 1179681, 52, 0, 1179697, 37, 0, 1245184, 37, 0, 1245189, 50, 0, 1245190, 51, 0, 1245191, 51, 0, 1245192, 51, 0, 1245193, 51, 0, 1245194, 51, 0, 1245195, 51, 0, 1245196, 51, 0, 1245197, 51, 0, 1245198, 51, 0, 1245199, 51, 0, 1245200, 52, 0, 1245233, 37, 0, 1310720, 37, 0, 1310758, 6, 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, 8, 0, 1310769, 37, 0, 1376256, 37, 0, 1376294, 28, 0, 1376295, 29, 0, 1376296, 29, 0, 1376297, 29, 0, 1376298, 29, 0, 1376299, 29, 0, 1376300, 29, 0, 1376301, 29, 0, 1376302, 29, 0, 1376303, 29, 0, 1376304, 30, 0, 1376305, 37, 0, 1441792, 37, 0, 1441830, 50, 0, 1441831, 51, 0, 1441832, 51, 0, 1441833, 51, 0, 1441834, 51, 0, 1441835, 51, 0, 1441836, 51, 0, 1441837, 51, 0, 1441838, 51, 0, 1441839, 51, 0, 1441840, 52, 0, 1441841, 37, 0, 1507328, 37, 0, 1507377, 37, 0, 1572864, 37, 0, 1572913, 37, 0, 1638400, 37, 0, 1638449, 37, 0, 1703936, 37, 0, 1703985, 37, 0, 1769472, 37, 0, 1769521, 37, 0, 1835008, 37, 0, 1835057, 37, 0, 1900544, 37, 0, 1900593, 37, 0, 1966080, 37, 0, 1966129, 37, 0, 2031616, 37, 0, 2031665, 37, 0, 2097152, 37, 0, 2097201, 37, 0, 2162688, 37, 0, 2162737, 37, 0, 2228224, 37, 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 )
+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, 196657, 37, 0, 262144, 37, 0, 262193, 37, 0, 327680, 37, 0, 327729, 37, 0, 393216, 37, 0, 393218, 6, 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, 393265, 37, 0, 458752, 37, 0, 458754, 50, 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, 458801, 37, 0, 524288, 37, 0, 524303, 6, 0, 524304, 7, 0, 524305, 7, 0, 524306, 7, 0, 524307, 7, 0, 524308, 7, 0, 524309, 7, 0, 524310, 7, 0, 524311, 7, 0, 524312, 7, 0, 524313, 7, 0, 524314, 8, 0, 524337, 37, 0, 589824, 37, 0, 589839, 50, 0, 589840, 51, 0, 589841, 51, 0, 589842, 51, 0, 589843, 51, 0, 589844, 51, 0, 589845, 51, 0, 589846, 51, 0, 589847, 51, 0, 589848, 51, 0, 589849, 51, 0, 589850, 52, 0, 589858, 6, 0, 589859, 7, 0, 589860, 7, 0, 589861, 7, 0, 589862, 7, 0, 589863, 7, 0, 589864, 7, 0, 589865, 7, 0, 589866, 7, 0, 589867, 7, 0, 589868, 7, 0, 589869, 8, 0, 589873, 37, 0, 655360, 37, 0, 655394, 50, 0, 655395, 51, 0, 655396, 51, 0, 655397, 51, 0, 655398, 51, 0, 655399, 51, 0, 655400, 51, 0, 655401, 51, 0, 655402, 51, 0, 655403, 51, 0, 655404, 51, 0, 655405, 52, 0, 655409, 37, 0, 720896, 37, 0, 720945, 37, 0, 786432, 37, 0, 786481, 37, 0, 851968, 37, 0, 852017, 37, 0, 917504, 37, 0, 917553, 37, 0, 983040, 37, 0, 983089, 37, 0, 1048576, 37, 0, 1048625, 37, 0, 1114112, 37, 0, 1114134, 6, 0, 1114135, 7, 0, 1114136, 7, 0, 1114137, 7, 0, 1114138, 7, 0, 1114139, 7, 0, 1114140, 7, 0, 1114141, 7, 0, 1114142, 7, 0, 1114143, 7, 0, 1114144, 7, 0, 1114145, 8, 0, 1114161, 37, 0, 1179648, 37, 0, 1179653, 6, 0, 1179654, 7, 0, 1179655, 7, 0, 1179656, 7, 0, 1179657, 7, 0, 1179658, 7, 0, 1179659, 7, 0, 1179660, 7, 0, 1179661, 7, 0, 1179662, 7, 0, 1179663, 7, 0, 1179664, 8, 0, 1179670, 50, 0, 1179671, 51, 0, 1179672, 51, 0, 1179673, 51, 0, 1179674, 51, 0, 1179675, 51, 0, 1179676, 51, 0, 1179677, 51, 0, 1179678, 51, 0, 1179679, 51, 0, 1179680, 51, 0, 1179681, 52, 0, 1179697, 37, 0, 1245184, 37, 0, 1245189, 50, 0, 1245190, 51, 0, 1245191, 51, 0, 1245192, 51, 0, 1245193, 51, 0, 1245194, 51, 0, 1245195, 51, 0, 1245196, 51, 0, 1245197, 51, 0, 1245198, 51, 0, 1245199, 51, 0, 1245200, 52, 0, 1245233, 37, 0, 1310720, 37, 0, 1310758, 6, 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, 8, 0, 1310769, 37, 0, 1376256, 37, 0, 1376294, 28, 0, 1376295, 29, 0, 1376296, 29, 0, 1376297, 29, 0, 1376298, 29, 0, 1376299, 29, 0, 1376300, 29, 0, 1376301, 29, 0, 1376302, 29, 0, 1376303, 29, 0, 1376304, 30, 0, 1376305, 37, 0, 1441792, 37, 0, 1441830, 50, 0, 1441831, 51, 0, 1441832, 51, 0, 1441833, 51, 0, 1441834, 51, 0, 1441835, 51, 0, 1441836, 51, 0, 1441837, 51, 0, 1441838, 51, 0, 1441839, 51, 0, 1441840, 52, 0, 1441841, 37, 0, 1507328, 37, 0, 1507377, 37, 0, 1572864, 37, 0, 1572913, 37, 0, 1638400, 37, 0, 1638449, 37, 0, 1703936, 37, 0, 1703985, 37, 0, 1769472, 37, 0, 1769521, 37, 0, 1835008, 37, 0, 1835057, 37, 0, 1900544, 37, 0, 1900593, 37, 0, 1966080, 37, 0, 1966129, 37, 0, 2031616, 37, 0, 2031665, 37, 0, 2097152, 37, 0, 2097201, 37, 0, 2162688, 37, 0, 2162737, 37, 0, 2228224, 37, 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="Camera2D" type="Camera2D" parent="."]
position = Vector2( 400, 300 )
@@ -50,9 +61,6 @@ position = Vector2( -6, -191 )
[node name="Apple9" parent="Apples" instance=ExtResource( 3 )]
position = Vector2( 14, -191 )
-[node name="Apple10" parent="Apples" instance=ExtResource( 3 )]
-position = Vector2( -307, -32 )
-
[node name="Apple11" parent="Apples" instance=ExtResource( 3 )]
position = Vector2( -287, -32 )