diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-01-22 16:40:46 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2021-01-22 16:40:46 +0100 |
commit | 3f4c07d2cf57bd364af6b09a3d5381d148aa713e (patch) | |
tree | 4fe53d2f627237e70a24ff7ec3d3815d07523c62 /Levels | |
parent | 485cd463b22e12394cd232812e2c3789ef37ab1c (diff) |
New Characters! New Levels!
Diffstat (limited to 'Levels')
-rw-r--r-- | Levels/Level_0001.tscn | 16 | ||||
-rw-r--r-- | Levels/Level_0002.gd | 5 | ||||
-rw-r--r-- | Levels/Level_0002.tscn | 297 | ||||
-rw-r--r-- | Levels/Level_0003.gd | 5 | ||||
-rw-r--r-- | Levels/Level_0003.tscn | 297 |
5 files changed, 612 insertions, 8 deletions
diff --git a/Levels/Level_0001.tscn b/Levels/Level_0001.tscn index bcb4d7b..5a234ca 100644 --- a/Levels/Level_0001.tscn +++ b/Levels/Level_0001.tscn @@ -15,10 +15,10 @@ cell_size = Vector2( 16, 16 ) collision_layer = 2 collision_mask = 15 format = 1 -tile_data = PoolIntArray( 327692, 0, 6, 327693, 0, 8, 393228, 0, 65542, 393229, 0, 65545, 458764, 0, 65542, 458765, 0, 65545, 524295, 0, 0, 524296, 0, 1, 524297, 0, 1, 524298, 0, 1, 524299, 0, 1, 524300, 0, 65542, 524301, 0, 65545, 524302, 0, 1, 524303, 0, 1, 524304, 0, 1, 524305, 0, 1, 524306, 0, 1, 524307, 0, 2, 589836, 0, 131078, 589837, 0, 131080, 720918, 0, 0, 720919, 0, 1, 720920, 0, 1, 720921, 0, 1, 720922, 0, 1, 720923, 0, 1, 720924, 0, 1, 720925, 0, 1, 720926, 0, 1, 720927, 0, 1, 720928, 0, 1, 720929, 0, 1, 720930, 0, 1, 720931, 0, 1, 720932, 0, 1, 720933, 0, 1, 720934, 0, 1, 720935, 0, 1, 720936, 0, 1, 720937, 0, 2, 917518, 0, 6, 917519, 0, 8, 917523, 0, 6, 917524, 0, 8, 983054, 0, 65542, 983055, 0, 65545, 983059, 0, 65542, 983060, 0, 65545, 1048590, 0, 65542, 1048591, 0, 65545, 1048595, 0, 65542, 1048596, 0, 65545, 1114126, 0, 65542, 1114127, 0, 65545, 1114131, 0, 65542, 1114132, 0, 65545, 1179662, 0, 65542, 1179663, 0, 65545, 1179667, 0, 65542, 1179668, 0, 65545, 1245198, 0, 65542, 1245199, 0, 65545, 1245203, 0, 65542, 1245204, 0, 65545, 1310734, 0, 65542, 1310735, 0, 65545, 1310739, 0, 65542, 1310740, 0, 65545, 1376270, 0, 65542, 1376271, 0, 65545, 1376275, 0, 65542, 1376276, 0, 65545, 1441806, 0, 65542, 1441807, 0, 65545, 1441811, 0, 65542, 1441812, 0, 65545, 1507342, 0, 65542, 1507343, 0, 65545, 1507347, 0, 65542, 1507348, 0, 65545, 1572878, 0, 65542, 1572879, 0, 65545, 1572883, 0, 65542, 1572884, 0, 65545, 1638414, 0, 65542, 1638415, 0, 65545, 1638419, 0, 65542, 1638420, 0, 65545, 1703950, 0, 131078, 1703951, 0, 131080, 1703955, 0, 131078, 1703956, 0, 131080, 1900544, 0, 0, 1900545, 0, 1, 1900546, 0, 1, 1900547, 0, 1, 1900548, 0, 1, 1900549, 0, 1, 1900550, 0, 1, 1900551, 0, 1, 1900552, 0, 1, 1900553, 0, 1, 1900554, 0, 1, 1900555, 0, 1, 1900556, 0, 1, 1900557, 0, 1, 1900558, 0, 1, 1900559, 0, 1, 1900560, 0, 1, 1900561, 0, 1, 1900562, 0, 1, 1900563, 0, 1, 1900564, 0, 1, 1900565, 0, 2 ) +tile_data = PoolIntArray( -983036, 4, 0, -983035, 4, 2, -917500, 4, 65536, -917499, 4, 65538, -851964, 4, 65536, -851963, 4, 65538, -786428, 4, 65536, -786427, 4, 65538, -720892, 4, 65536, -720891, 4, 65538, -655356, 4, 65536, -655355, 4, 65538, -589820, 4, 65536, -589819, 4, 65538, -524284, 4, 65536, -524283, 4, 65538, -458748, 4, 65536, -458747, 4, 65538, -393212, 4, 65536, -393211, 4, 65538, -327676, 4, 65536, -327675, 4, 65538, -262140, 4, 65536, -262139, 4, 65538, -196604, 4, 65536, -196603, 4, 65538, -131068, 4, 65536, -131067, 4, 65538, -65532, 4, 65536, -65531, 4, 65538, 4, 4, 65536, 5, 4, 65538, 65540, 4, 65536, 65541, 4, 65538, 131076, 4, 65536, 131077, 4, 65538, 196612, 4, 65536, 196613, 4, 65538, 262148, 4, 65536, 262149, 4, 65538, 327684, 4, 65536, 327685, 4, 65538, 327693, 4, 0, 327694, 4, 2, 393220, 4, 65536, 393221, 4, 65538, 393222, 0, 0, 393229, 4, 65536, 393230, 4, 65538, 393236, 5, 0, 393240, 5, 0, 393310, 0, 0, 458756, 4, 65536, 458757, 4, 65538, 458765, 4, 65536, 458766, 4, 65538, 524292, 4, 65536, 524293, 4, 65538, 524294, 1, 0, 524295, 2, 0, 524296, 2, 0, 524297, 2, 0, 524298, 2, 0, 524299, 2, 0, 524300, 3, 0, 524301, 4, 65536, 524302, 4, 65538, 524303, 1, 0, 524304, 2, 0, 524305, 2, 0, 524306, 2, 0, 524307, 2, 0, 524308, 2, 0, 524309, 3, 0, 524312, 1, 0, 524313, 2, 0, 524314, 3, 0, 524382, 1, 0, 524383, 3, 0, 524392, 4, 65537, 524393, 4, 65537, 589828, 4, 131072, 589829, 4, 131074, 589837, 4, 65536, 589838, 4, 65538, 589849, 4, 0, 589850, 4, 2, 589928, 4, 65537, 589929, 4, 65537, 655373, 4, 131072, 655374, 4, 131074, 655385, 4, 65536, 655386, 4, 65538, 655464, 4, 65537, 655465, 4, 65537, 720921, 4, 65536, 720922, 4, 65538, 720981, 0, 0, 721000, 4, 65537, 721001, 4, 65537, 786457, 4, 65536, 786458, 4, 65538, 786536, 4, 65537, 786537, 4, 65537, 851993, 4, 65536, 851994, 4, 65538, 852040, 4, 0, 852041, 4, 2, 852053, 1, 0, 852054, 3, 0, 852072, 4, 65537, 852073, 4, 65537, 983038, 5, 0, 917506, 5, 0, 917517, 4, 0, 917518, 4, 2, 917521, 0, 0, 917529, 4, 65536, 917530, 4, 65538, 917576, 4, 65536, 917577, 4, 65538, 917606, 4, 65537, 917607, 4, 65537, 917608, 4, 65537, 917609, 4, 65537, 917610, 4, 65537, 917611, 4, 65537, 983053, 4, 65536, 983054, 4, 65538, 983065, 4, 131072, 983066, 4, 131074, 983112, 4, 65536, 983113, 4, 65538, 983143, 4, 65537, 983144, 4, 65537, 983145, 4, 65537, 983146, 4, 65537, 1114109, 1, 0, 1114110, 2, 0, 1114111, 3, 0, 1048578, 1, 0, 1048579, 2, 0, 1048580, 2, 0, 1048581, 2, 0, 1048582, 2, 0, 1048583, 2, 0, 1048584, 2, 0, 1048585, 2, 0, 1048586, 2, 0, 1048587, 2, 0, 1048588, 3, 0, 1048589, 4, 65536, 1048590, 4, 65538, 1048591, 1, 0, 1048592, 2, 0, 1048593, 2, 0, 1048594, 2, 0, 1048595, 2, 0, 1048596, 2, 0, 1048597, 2, 0, 1048598, 2, 0, 1048599, 2, 0, 1048600, 2, 0, 1048601, 2, 0, 1048602, 3, 0, 1048648, 4, 65536, 1048649, 4, 65538, 1048680, 4, 65537, 1048681, 4, 65537, 1114125, 4, 65536, 1114126, 4, 65538, 1114132, 0, 0, 1114138, 4, 0, 1114139, 6, 131073, 1114140, 6, 131073, 1114141, 6, 131073, 1114142, 6, 131073, 1114143, 6, 131073, 1114144, 6, 131073, 1114145, 6, 131073, 1114146, 6, 131073, 1114147, 6, 131073, 1114148, 6, 131073, 1114149, 4, 2, 1114184, 4, 65536, 1114185, 4, 65538, 1114189, 4, 0, 1114190, 4, 2, 1179661, 4, 65536, 1179662, 4, 65538, 1179674, 4, 131072, 1179675, 6, 1, 1179676, 6, 1, 1179677, 6, 1, 1179678, 6, 1, 1179679, 6, 1, 1179680, 6, 1, 1179681, 6, 1, 1179682, 6, 1, 1179683, 6, 1, 1179684, 6, 2, 1179685, 6, 65536, 1179720, 4, 65536, 1179721, 4, 65538, 1179725, 4, 65536, 1179726, 4, 65538, 1245197, 4, 65536, 1245198, 4, 65538, 1245204, 4, 0, 1245205, 4, 2, 1245220, 4, 65536, 1245221, 6, 65536, 1245256, 4, 65536, 1245257, 4, 65538, 1245261, 4, 65536, 1245262, 4, 65538, 1310728, 4, 0, 1310729, 4, 2, 1310733, 4, 131072, 1310734, 4, 131074, 1310740, 4, 65536, 1310741, 4, 65538, 1310756, 4, 65536, 1310757, 6, 65536, 1310792, 4, 65536, 1310793, 4, 65538, 1310797, 4, 65536, 1310798, 4, 65538, 1376264, 4, 65536, 1376265, 4, 65538, 1376276, 4, 65536, 1376277, 4, 65538, 1376292, 4, 65536, 1376293, 6, 65536, 1376328, 4, 65536, 1376329, 4, 65538, 1376333, 4, 65536, 1376334, 4, 65538, 1441800, 4, 65536, 1441801, 4, 65538, 1441812, 4, 65536, 1441813, 4, 65538, 1441828, 4, 65536, 1441829, 6, 65536, 1441864, 4, 65536, 1441865, 4, 65538, 1441869, 4, 65536, 1441870, 4, 65538, 1507336, 4, 65536, 1507337, 4, 65538, 1507348, 4, 65536, 1507349, 4, 65538, 1507364, 4, 65536, 1507365, 6, 65536, 1507400, 4, 65536, 1507401, 4, 65538, 1507405, 4, 65536, 1507406, 4, 65538, 1572872, 4, 65536, 1572873, 4, 65538, 1572877, 5, 0, 1572884, 4, 65536, 1572885, 4, 65538, 1572893, 5, 0, 1572897, 5, 0, 1572900, 4, 65536, 1572901, 6, 65536, 1572936, 4, 65536, 1572937, 4, 65538, 1572941, 4, 65536, 1572942, 4, 65538, 1638408, 4, 65536, 1638409, 4, 65538, 1638420, 4, 65536, 1638421, 4, 65538, 1638436, 4, 65536, 1638437, 6, 65536, 1638472, 4, 65536, 1638473, 4, 65538, 1638477, 4, 65536, 1638478, 4, 65538, 1703937, 1, 0, 1703938, 2, 0, 1703939, 2, 0, 1703940, 2, 0, 1703941, 2, 0, 1703942, 2, 0, 1703943, 3, 0, 1703944, 4, 65536, 1703945, 4, 65538, 1703946, 1, 0, 1703947, 2, 0, 1703948, 2, 0, 1703949, 2, 0, 1703950, 2, 0, 1703951, 2, 0, 1703952, 2, 0, 1703953, 2, 0, 1703954, 2, 0, 1703955, 3, 0, 1703956, 4, 65536, 1703957, 4, 65538, 1703958, 1, 0, 1703959, 2, 0, 1703960, 2, 0, 1703961, 2, 0, 1703962, 2, 0, 1703963, 2, 0, 1703964, 2, 0, 1703965, 2, 0, 1703966, 3, 0, 1703969, 1, 0, 1703970, 2, 0, 1703971, 3, 0, 1703972, 4, 65536, 1703973, 6, 65536, 1704008, 4, 65536, 1704009, 4, 65538, 1704013, 4, 65536, 1704014, 4, 65538, 1769480, 4, 131072, 1769481, 4, 131074, 1769492, 4, 131072, 1769493, 4, 131074, 1769508, 4, 65536, 1769509, 6, 65536, 1769544, 4, 65536, 1769545, 4, 65538, 1769549, 4, 65536, 1769550, 4, 65538, 1835044, 4, 131072, 1835045, 4, 131074, 1835080, 4, 65536, 1835081, 4, 65538, 1835085, 4, 65536, 1835086, 4, 65538, 1900616, 4, 65536, 1900617, 4, 65538, 1900621, 4, 65536, 1900622, 4, 65538, 1966152, 4, 131072, 1966153, 4, 131074, 1966157, 4, 65536, 1966158, 4, 65538, 2031688, 0, 0, 2031693, 4, 65536, 2031694, 4, 65538, 2097229, 4, 65536, 2097230, 4, 65538, 2162760, 4, 0, 2162761, 4, 2, 2162765, 4, 65536, 2162766, 4, 65538, 2228296, 4, 65536, 2228297, 4, 65538, 2228301, 6, 65538, 2228302, 4, 65538, 2293832, 4, 65536, 2293833, 4, 65538, 2293837, 6, 65538, 2293838, 4, 65538, 2359368, 4, 65536, 2359369, 4, 65538, 2359373, 6, 65538, 2359374, 4, 65538, 2424904, 4, 65536, 2424905, 4, 65538, 2424909, 6, 65538, 2424910, 4, 65538, 2490440, 4, 65536, 2490441, 4, 65538, 2490445, 6, 65538, 2490446, 4, 65538, 2555941, 1, 0, 2555942, 2, 0, 2555943, 2, 0, 2555944, 2, 0, 2555945, 2, 0, 2555946, 2, 0, 2555947, 2, 0, 2555948, 2, 0, 2555949, 2, 0, 2555950, 2, 0, 2555951, 2, 0, 2555952, 2, 0, 2555953, 2, 0, 2555954, 2, 0, 2555955, 2, 0, 2555956, 2, 0, 2555957, 2, 0, 2555958, 2, 0, 2555959, 2, 0, 2555960, 2, 0, 2555961, 2, 0, 2555962, 2, 0, 2555963, 2, 0, 2555964, 2, 0, 2555965, 2, 0, 2555966, 2, 0, 2555967, 2, 0, 2555968, 2, 0, 2555969, 2, 0, 2555970, 2, 0, 2555971, 2, 0, 2555972, 2, 0, 2555973, 2, 0, 2555974, 2, 0, 2555975, 3, 0, 2555976, 4, 65536, 2555977, 4, 65538, 2555981, 6, 65538, 2555982, 4, 65538, 2621512, 4, 65536, 2621513, 4, 65538, 2621517, 6, 65538, 2621518, 4, 65538, 2687048, 4, 65536, 2687049, 4, 65538, 2687053, 6, 65538, 2687054, 4, 65538, 2687077, 1, 0, 2687078, 2, 0, 2687079, 2, 0, 2687080, 2, 0, 2687081, 2, 0, 2687082, 2, 0, 2687083, 2, 0, 2687084, 2, 0, 2687085, 3, 0, 2752584, 4, 65536, 2752585, 6, 131072, 2752586, 6, 131073, 2752587, 6, 131073, 2752588, 6, 131073, 2752589, 6, 131074, 2752590, 4, 65538, 2818120, 4, 131072, 2818121, 6, 1, 2818122, 6, 1, 2818123, 6, 1, 2818124, 6, 1, 2818125, 6, 1, 2818126, 4, 131074 ) [node name="Flag" parent="." instance=ExtResource( 3 )] -position = Vector2( 640, 144 ) +position = Vector2( 1688, 624 ) scale = Vector2( 2, 2 ) [node name="Character" parent="." instance=ExtResource( 2 )] @@ -27,14 +27,14 @@ position = Vector2( 144.471, 115.947 ) [node name="Camera2D" type="Camera2D" parent="Character"] current = true zoom = Vector2( 0.5, 0.5 ) -limit_left = 0 -limit_top = 0 -limit_right = 700 -limit_bottom = 500 +limit_left = -100 +limit_top = -250 +limit_right = 1800 +limit_bottom = 750 drag_margin_h_enabled = true drag_margin_v_enabled = true editor_draw_limits = true [node name="CheckFall" parent="." instance=ExtResource( 5 )] -position = Vector2( 320, 520 ) -scale = Vector2( 2, 1 ) +position = Vector2( 1096, 768 ) +scale = Vector2( 4, 1 ) diff --git a/Levels/Level_0002.gd b/Levels/Level_0002.gd new file mode 100644 index 0000000..3fffc27 --- /dev/null +++ b/Levels/Level_0002.gd @@ -0,0 +1,5 @@ +extends "res://Levels/Level.gd" + + +func _ready(): + pass diff --git a/Levels/Level_0002.tscn b/Levels/Level_0002.tscn new file mode 100644 index 0000000..b74847c --- /dev/null +++ b/Levels/Level_0002.tscn @@ -0,0 +1,297 @@ +[gd_scene load_steps=26 format=2] + +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/1.png" type="Texture" id=1] +[ext_resource path="res://Characters/Character.tscn" type="PackedScene" id=2] +[ext_resource path="res://Objects/Flag.tscn" type="PackedScene" id=3] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/3.png" type="Texture" id=4] +[ext_resource path="res://Objects/CheckFall.tscn" type="PackedScene" id=5] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/2.png" type="Texture" id=6] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/15.png" type="Texture" id=7] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/16.png" type="Texture" id=8] +[ext_resource path="res://Levels/Level_0002.gd" type="Script" id=9] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/14.png" type="Texture" id=10] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/6.png" type="Texture" id=11] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/4.png" type="Texture" id=12] +[ext_resource path="res://Assets/Environment/WinterTileset/Object/Tree_2.png" type="Texture" id=13] +[ext_resource path="res://Assets/Environment/WinterTileset/Object/Igloo.png" type="Texture" id=14] +[ext_resource path="res://Assets/Environment/WinterTileset/Object/Tree_1.png" type="Texture" id=15] + +[sub_resource type="ConvexPolygonShape2D" id=1] +points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=2] +points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=3] +points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=5] +points = PoolVector2Array( 128, 96, 0, 32, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=6] +points = PoolVector2Array( 128, 96, 0, 96, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=7] +points = PoolVector2Array( 128, 32, 0, 96, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=8] +points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=9] +points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=10] +points = PoolVector2Array( 512, 192, 0, 192, 96, 64, 384, 0 ) + +[sub_resource type="TileSet" id=4] +0/name = "1.png 0" +0/texture = ExtResource( 1 ) +0/tex_offset = Vector2( 0, 0 ) +0/modulate = Color( 1, 1, 1, 1 ) +0/region = Rect2( 0, 0, 128, 128 ) +0/tile_mode = 0 +0/occluder_offset = Vector2( 0, 0 ) +0/navigation_offset = Vector2( 0, 0 ) +0/shape_offset = Vector2( 0, 0 ) +0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +0/shape = SubResource( 1 ) +0/shape_one_way = false +0/shape_one_way_margin = 1.0 +0/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 1 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +0/z_index = 0 +1/name = "2.png 1" +1/texture = ExtResource( 6 ) +1/tex_offset = Vector2( 0, 0 ) +1/modulate = Color( 1, 1, 1, 1 ) +1/region = Rect2( 0, 0, 128, 128 ) +1/tile_mode = 0 +1/occluder_offset = Vector2( 0, 0 ) +1/navigation_offset = Vector2( 0, 0 ) +1/shape_offset = Vector2( 0, 0 ) +1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +1/shape = SubResource( 2 ) +1/shape_one_way = false +1/shape_one_way_margin = 1.0 +1/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 2 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +1/z_index = 0 +2/name = "3.png 2" +2/texture = ExtResource( 4 ) +2/tex_offset = Vector2( 0, 0 ) +2/modulate = Color( 1, 1, 1, 1 ) +2/region = Rect2( 0, 0, 128, 128 ) +2/tile_mode = 0 +2/occluder_offset = Vector2( 0, 0 ) +2/navigation_offset = Vector2( 0, 0 ) +2/shape_offset = Vector2( 0, 0 ) +2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +2/shape = SubResource( 3 ) +2/shape_one_way = false +2/shape_one_way_margin = 1.0 +2/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 3 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +2/z_index = 0 +3/name = "14.png 3" +3/texture = ExtResource( 10 ) +3/tex_offset = Vector2( 0, 0 ) +3/modulate = Color( 1, 1, 1, 1 ) +3/region = Rect2( 0, 0, 128, 96 ) +3/tile_mode = 0 +3/occluder_offset = Vector2( 0, 0 ) +3/navigation_offset = Vector2( 0, 0 ) +3/shape_offset = Vector2( 0, 0 ) +3/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +3/shape = SubResource( 5 ) +3/shape_one_way = false +3/shape_one_way_margin = 1.0 +3/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 5 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +3/z_index = 0 +4/name = "15.png 4" +4/texture = ExtResource( 7 ) +4/tex_offset = Vector2( 0, 0 ) +4/modulate = Color( 1, 1, 1, 1 ) +4/region = Rect2( 0, 0, 128, 96 ) +4/tile_mode = 0 +4/occluder_offset = Vector2( 0, 0 ) +4/navigation_offset = Vector2( 0, 0 ) +4/shape_offset = Vector2( 0, 0 ) +4/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +4/shape = SubResource( 6 ) +4/shape_one_way = false +4/shape_one_way_margin = 1.0 +4/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 6 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +4/z_index = 0 +5/name = "16.png 5" +5/texture = ExtResource( 8 ) +5/tex_offset = Vector2( 0, 0 ) +5/modulate = Color( 1, 1, 1, 1 ) +5/region = Rect2( 0, 0, 128, 96 ) +5/tile_mode = 0 +5/occluder_offset = Vector2( 0, 0 ) +5/navigation_offset = Vector2( 0, 0 ) +5/shape_offset = Vector2( 0, 0 ) +5/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +5/shape = SubResource( 7 ) +5/shape_one_way = false +5/shape_one_way_margin = 1.0 +5/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 7 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +5/z_index = 0 +6/name = "4.png 6" +6/texture = ExtResource( 12 ) +6/tex_offset = Vector2( 0, 0 ) +6/modulate = Color( 1, 1, 1, 1 ) +6/region = Rect2( 0, 0, 128, 128 ) +6/tile_mode = 0 +6/occluder_offset = Vector2( 0, 0 ) +6/navigation_offset = Vector2( 0, 0 ) +6/shape_offset = Vector2( 0, 0 ) +6/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +6/shape = SubResource( 8 ) +6/shape_one_way = false +6/shape_one_way_margin = 1.0 +6/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 8 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +6/z_index = 0 +7/name = "6.png 7" +7/texture = ExtResource( 11 ) +7/tex_offset = Vector2( 0, 0 ) +7/modulate = Color( 1, 1, 1, 1 ) +7/region = Rect2( 0, 0, 128, 128 ) +7/tile_mode = 0 +7/occluder_offset = Vector2( 0, 0 ) +7/navigation_offset = Vector2( 0, 0 ) +7/shape_offset = Vector2( 0, 0 ) +7/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +7/shape = SubResource( 9 ) +7/shape_one_way = false +7/shape_one_way_margin = 1.0 +7/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 9 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +7/z_index = 0 +8/name = "Igloo.png 8" +8/texture = ExtResource( 14 ) +8/tex_offset = Vector2( 0, 0 ) +8/modulate = Color( 1, 1, 1, 1 ) +8/region = Rect2( 0, 0, 512, 224 ) +8/tile_mode = 0 +8/occluder_offset = Vector2( 0, 0 ) +8/navigation_offset = Vector2( 0, 0 ) +8/shape_offset = Vector2( 0, 0 ) +8/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +8/shape = SubResource( 10 ) +8/shape_one_way = false +8/shape_one_way_margin = 1.0 +8/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 10 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +8/z_index = 0 +9/name = "Tree_2.png 9" +9/texture = ExtResource( 13 ) +9/tex_offset = Vector2( 0, 0 ) +9/modulate = Color( 1, 1, 1, 1 ) +9/region = Rect2( 0, 0, 224, 256 ) +9/tile_mode = 0 +9/occluder_offset = Vector2( 0, 0 ) +9/navigation_offset = Vector2( 0, 0 ) +9/shape_offset = Vector2( 0, 0 ) +9/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +9/shape_one_way = false +9/shape_one_way_margin = 0.0 +9/shapes = [ ] +9/z_index = 0 +10/name = "Tree_1.png 10" +10/texture = ExtResource( 15 ) +10/tex_offset = Vector2( 0, 0 ) +10/modulate = Color( 1, 1, 1, 1 ) +10/region = Rect2( 0, 0, 352, 256 ) +10/tile_mode = 0 +10/occluder_offset = Vector2( 0, 0 ) +10/navigation_offset = Vector2( 0, 0 ) +10/shape_offset = Vector2( 0, 0 ) +10/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +10/shape_one_way = false +10/shape_one_way_margin = 0.0 +10/shapes = [ ] +10/z_index = 0 + +[node name="Level_0002" type="Node2D"] +script = ExtResource( 9 ) + +[node name="TileMap" type="TileMap" parent="."] +scale = Vector2( 0.2, 0.2 ) +tile_set = SubResource( 4 ) +cell_quadrant_size = 64 +collision_layer = 2 +collision_mask = 15 +format = 1 +tile_data = PoolIntArray( -1441784, 7, 0, -1310712, 7, 0, -1179640, 7, 0, -1048568, 7, 0, -917496, 7, 0, -786424, 7, 0, -786377, 10, 0, -655352, 7, 0, -655294, 3, 0, -655292, 5, 0, -589777, 10, 0, -524280, 7, 0, -524232, 3, 0, -524230, 5, 0, -393208, 7, 0, -327632, 3, 0, -327630, 5, 0, -262136, 7, 0, -262130, 9, 0, -196570, 8, 0, -131064, 7, 0, 8, 7, 0, 14, 0, 0, 16, 1, 0, 18, 1, 0, 20, 1, 0, 22, 1, 0, 24, 1, 0, 26, 1, 0, 28, 1, 0, 30, 1, 0, 32, 1, 0, 34, 1, 0, 36, 1, 0, 38, 1, 0, 40, 1, 0, 42, 1, 0, 44, 1, 0, 131080, 7, 0, 131086, 6, 0, 262152, 7, 0, 262158, 6, 0, 393224, 7, 0, 393230, 6, 0, 524296, 7, 0, 524302, 6, 0, 655368, 7, 0, 655374, 6, 0, 786440, 7, 0, 786446, 6, 0, 917512, 7, 0, 917518, 6, 0, 1048584, 7, 0, 1048603, 9, 0, 1179656, 7, 0, 1310728, 0, 0, 1310730, 1, 0, 1310732, 1, 0, 1310734, 1, 0, 1310736, 1, 0, 1310738, 1, 0, 1310740, 1, 0, 1310742, 1, 0, 1310744, 1, 0, 1310746, 1, 0, 1310748, 1, 0 ) + +[node name="Flag" parent="." instance=ExtResource( 3 )] +position = Vector2( 888, -160 ) +scale = Vector2( 2, 2 ) + +[node name="Character" parent="." instance=ExtResource( 2 )] +position = Vector2( 328, 240 ) + +[node name="Camera2D" type="Camera2D" parent="Character"] +current = true +zoom = Vector2( 0.5, 0.5 ) +limit_left = 75 +limit_top = -300 +limit_right = 950 +limit_bottom = 300 +drag_margin_h_enabled = true +drag_margin_v_enabled = true +editor_draw_limits = true + +[node name="CheckFall" parent="." instance=ExtResource( 5 )] +position = Vector2( 472, 320 ) +scale = Vector2( 3, 1 ) diff --git a/Levels/Level_0003.gd b/Levels/Level_0003.gd new file mode 100644 index 0000000..3fffc27 --- /dev/null +++ b/Levels/Level_0003.gd @@ -0,0 +1,5 @@ +extends "res://Levels/Level.gd" + + +func _ready(): + pass diff --git a/Levels/Level_0003.tscn b/Levels/Level_0003.tscn new file mode 100644 index 0000000..ef443c7 --- /dev/null +++ b/Levels/Level_0003.tscn @@ -0,0 +1,297 @@ +[gd_scene load_steps=26 format=2] + +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/1.png" type="Texture" id=1] +[ext_resource path="res://Characters/Character.tscn" type="PackedScene" id=2] +[ext_resource path="res://Objects/Flag.tscn" type="PackedScene" id=3] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/3.png" type="Texture" id=4] +[ext_resource path="res://Objects/CheckFall.tscn" type="PackedScene" id=5] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/2.png" type="Texture" id=6] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/15.png" type="Texture" id=7] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/16.png" type="Texture" id=8] +[ext_resource path="res://Levels/Level_0003.gd" type="Script" id=9] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/14.png" type="Texture" id=10] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/6.png" type="Texture" id=11] +[ext_resource path="res://Assets/Environment/WinterTileset/Tiles/4.png" type="Texture" id=12] +[ext_resource path="res://Assets/Environment/WinterTileset/Object/Tree_2.png" type="Texture" id=13] +[ext_resource path="res://Assets/Environment/WinterTileset/Object/Igloo.png" type="Texture" id=14] +[ext_resource path="res://Assets/Environment/WinterTileset/Object/Tree_1.png" type="Texture" id=15] + +[sub_resource type="ConvexPolygonShape2D" id=1] +points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=2] +points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=3] +points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=4] +points = PoolVector2Array( 128, 96, 0, 32, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=5] +points = PoolVector2Array( 128, 96, 0, 96, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=6] +points = PoolVector2Array( 128, 32, 0, 96, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=7] +points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=8] +points = PoolVector2Array( 128, 128, 0, 128, 0, 0, 128, 0 ) + +[sub_resource type="ConvexPolygonShape2D" id=9] +points = PoolVector2Array( 512, 192, 0, 192, 96, 64, 384, 0 ) + +[sub_resource type="TileSet" id=10] +0/name = "1.png 0" +0/texture = ExtResource( 1 ) +0/tex_offset = Vector2( 0, 0 ) +0/modulate = Color( 1, 1, 1, 1 ) +0/region = Rect2( 0, 0, 128, 128 ) +0/tile_mode = 0 +0/occluder_offset = Vector2( 0, 0 ) +0/navigation_offset = Vector2( 0, 0 ) +0/shape_offset = Vector2( 0, 0 ) +0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +0/shape = SubResource( 1 ) +0/shape_one_way = false +0/shape_one_way_margin = 1.0 +0/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 1 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +0/z_index = 0 +1/name = "2.png 1" +1/texture = ExtResource( 6 ) +1/tex_offset = Vector2( 0, 0 ) +1/modulate = Color( 1, 1, 1, 1 ) +1/region = Rect2( 0, 0, 128, 128 ) +1/tile_mode = 0 +1/occluder_offset = Vector2( 0, 0 ) +1/navigation_offset = Vector2( 0, 0 ) +1/shape_offset = Vector2( 0, 0 ) +1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +1/shape = SubResource( 2 ) +1/shape_one_way = false +1/shape_one_way_margin = 1.0 +1/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 2 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +1/z_index = 0 +2/name = "3.png 2" +2/texture = ExtResource( 4 ) +2/tex_offset = Vector2( 0, 0 ) +2/modulate = Color( 1, 1, 1, 1 ) +2/region = Rect2( 0, 0, 128, 128 ) +2/tile_mode = 0 +2/occluder_offset = Vector2( 0, 0 ) +2/navigation_offset = Vector2( 0, 0 ) +2/shape_offset = Vector2( 0, 0 ) +2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +2/shape = SubResource( 3 ) +2/shape_one_way = false +2/shape_one_way_margin = 1.0 +2/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 3 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +2/z_index = 0 +3/name = "14.png 3" +3/texture = ExtResource( 10 ) +3/tex_offset = Vector2( 0, 0 ) +3/modulate = Color( 1, 1, 1, 1 ) +3/region = Rect2( 0, 0, 128, 96 ) +3/tile_mode = 0 +3/occluder_offset = Vector2( 0, 0 ) +3/navigation_offset = Vector2( 0, 0 ) +3/shape_offset = Vector2( 0, 0 ) +3/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +3/shape = SubResource( 4 ) +3/shape_one_way = false +3/shape_one_way_margin = 1.0 +3/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 4 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +3/z_index = 0 +4/name = "15.png 4" +4/texture = ExtResource( 7 ) +4/tex_offset = Vector2( 0, 0 ) +4/modulate = Color( 1, 1, 1, 1 ) +4/region = Rect2( 0, 0, 128, 96 ) +4/tile_mode = 0 +4/occluder_offset = Vector2( 0, 0 ) +4/navigation_offset = Vector2( 0, 0 ) +4/shape_offset = Vector2( 0, 0 ) +4/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +4/shape = SubResource( 5 ) +4/shape_one_way = false +4/shape_one_way_margin = 1.0 +4/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 5 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +4/z_index = 0 +5/name = "16.png 5" +5/texture = ExtResource( 8 ) +5/tex_offset = Vector2( 0, 0 ) +5/modulate = Color( 1, 1, 1, 1 ) +5/region = Rect2( 0, 0, 128, 96 ) +5/tile_mode = 0 +5/occluder_offset = Vector2( 0, 0 ) +5/navigation_offset = Vector2( 0, 0 ) +5/shape_offset = Vector2( 0, 0 ) +5/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +5/shape = SubResource( 6 ) +5/shape_one_way = false +5/shape_one_way_margin = 1.0 +5/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 6 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +5/z_index = 0 +6/name = "4.png 6" +6/texture = ExtResource( 12 ) +6/tex_offset = Vector2( 0, 0 ) +6/modulate = Color( 1, 1, 1, 1 ) +6/region = Rect2( 0, 0, 128, 128 ) +6/tile_mode = 0 +6/occluder_offset = Vector2( 0, 0 ) +6/navigation_offset = Vector2( 0, 0 ) +6/shape_offset = Vector2( 0, 0 ) +6/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +6/shape = SubResource( 7 ) +6/shape_one_way = false +6/shape_one_way_margin = 1.0 +6/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 7 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +6/z_index = 0 +7/name = "6.png 7" +7/texture = ExtResource( 11 ) +7/tex_offset = Vector2( 0, 0 ) +7/modulate = Color( 1, 1, 1, 1 ) +7/region = Rect2( 0, 0, 128, 128 ) +7/tile_mode = 0 +7/occluder_offset = Vector2( 0, 0 ) +7/navigation_offset = Vector2( 0, 0 ) +7/shape_offset = Vector2( 0, 0 ) +7/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +7/shape = SubResource( 8 ) +7/shape_one_way = false +7/shape_one_way_margin = 1.0 +7/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 8 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +7/z_index = 0 +8/name = "Igloo.png 8" +8/texture = ExtResource( 14 ) +8/tex_offset = Vector2( 0, 0 ) +8/modulate = Color( 1, 1, 1, 1 ) +8/region = Rect2( 0, 0, 512, 224 ) +8/tile_mode = 0 +8/occluder_offset = Vector2( 0, 0 ) +8/navigation_offset = Vector2( 0, 0 ) +8/shape_offset = Vector2( 0, 0 ) +8/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +8/shape = SubResource( 9 ) +8/shape_one_way = false +8/shape_one_way_margin = 1.0 +8/shapes = [ { +"autotile_coord": Vector2( 0, 0 ), +"one_way": false, +"one_way_margin": 1.0, +"shape": SubResource( 9 ), +"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) +} ] +8/z_index = 0 +9/name = "Tree_2.png 9" +9/texture = ExtResource( 13 ) +9/tex_offset = Vector2( 0, 0 ) +9/modulate = Color( 1, 1, 1, 1 ) +9/region = Rect2( 0, 0, 224, 256 ) +9/tile_mode = 0 +9/occluder_offset = Vector2( 0, 0 ) +9/navigation_offset = Vector2( 0, 0 ) +9/shape_offset = Vector2( 0, 0 ) +9/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +9/shape_one_way = false +9/shape_one_way_margin = 0.0 +9/shapes = [ ] +9/z_index = 0 +10/name = "Tree_1.png 10" +10/texture = ExtResource( 15 ) +10/tex_offset = Vector2( 0, 0 ) +10/modulate = Color( 1, 1, 1, 1 ) +10/region = Rect2( 0, 0, 352, 256 ) +10/tile_mode = 0 +10/occluder_offset = Vector2( 0, 0 ) +10/navigation_offset = Vector2( 0, 0 ) +10/shape_offset = Vector2( 0, 0 ) +10/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) +10/shape_one_way = false +10/shape_one_way_margin = 0.0 +10/shapes = [ ] +10/z_index = 0 + +[node name="Level_0003" type="Node2D"] +script = ExtResource( 9 ) + +[node name="TileMap" type="TileMap" parent="."] +scale = Vector2( 0.2, 0.2 ) +tile_set = SubResource( 10 ) +cell_quadrant_size = 64 +collision_layer = 2 +collision_mask = 15 +format = 1 +tile_data = PoolIntArray( -1441723, 10, 0, -1376196, 8, 0, -1179590, 3, 0, -1179588, 4, 0, -1179586, 4, 0, -1179584, 4, 0, -1179582, 4, 0, -1179580, 4, 0, -1179578, 4, 0, -1179576, 4, 0, -1179574, 4, 0, -1179572, 4, 0, -1179570, 4, 0, -1179568, 4, 0, -1179566, 4, 0, -1179564, 4, 0, -1179562, 4, 0, -1179560, 5, 0, -917454, 3, 0, -917452, 5, 0, -720865, 9, 0, -655320, 3, 0, -655318, 5, 0, -458721, 3, 0, -458719, 5, 0, -196588, 3, 0, -196586, 5, 0, 65550, 10, 0, 327695, 3, 0, 327697, 5, 0, 655387, 3, 0, 655389, 5, 0, 983078, 3, 0, 983080, 5, 0, 1310769, 3, 0, 1310771, 5, 0, 1376321, 9, 0, 1376346, 10, 0, 1376357, 9, 0, 1376389, 9, 0, 1441917, 8, 0, 1638460, 0, 0, 1638462, 1, 0, 1638464, 1, 0, 1638466, 1, 0, 1638468, 1, 0, 1638470, 1, 0, 1638472, 1, 0, 1638474, 1, 0, 1638476, 1, 0, 1638478, 1, 0, 1638480, 1, 0, 1638482, 1, 0, 1638484, 1, 0, 1638486, 1, 0, 1638488, 1, 0, 1638490, 1, 0, 1638492, 1, 0, 1638494, 1, 0, 1638496, 1, 0, 1638498, 1, 0, 1638500, 1, 0, 1638502, 1, 0, 1638504, 1, 0, 1638506, 1, 0, 1638508, 1, 0, 1638510, 1, 0, 1638512, 1, 0, 1638514, 1, 0, 1638516, 1, 0, 1638518, 1, 0, 1638520, 1, 0, 1638522, 1, 0, 1638524, 1, 0, 1638526, 1, 0, 1638528, 1, 0, 1638530, 1, 0, 1638532, 1, 0, 1638534, 2, 0 ) + +[node name="Flag" parent="." instance=ExtResource( 3 )] +position = Vector2( 1144, -264 ) +scale = Vector2( 2, 2 ) + +[node name="Character" parent="." instance=ExtResource( 2 )] +position = Vector2( 1520, 296 ) + +[node name="Camera2D" type="Camera2D" parent="Character"] +current = true +zoom = Vector2( 0.5, 0.5 ) +limit_left = -1000 +limit_top = -1000 +limit_right = 2000 +limit_bottom = 1000 +drag_margin_h_enabled = true +drag_margin_v_enabled = true +editor_draw_limits = true + +[node name="CheckFall" parent="." instance=ExtResource( 5 )] +position = Vector2( 1024, 408 ) +scale = Vector2( 3, 1 ) |