From 3c52398a142ed2ce9bde67bb6c471e2088913cec Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Mon, 9 Jan 2023 18:12:04 +0000 Subject: [PATCH] Move old level 0A out of the way --- levels/Level0A.gd | 13 ------- levels/{Level0A.tscn => LevelOld0A.tscn} | 46 ++++++++++++------------ 2 files changed, 23 insertions(+), 36 deletions(-) delete mode 100644 levels/Level0A.gd rename levels/{Level0A.tscn => LevelOld0A.tscn} (92%) diff --git a/levels/Level0A.gd b/levels/Level0A.gd deleted file mode 100644 index df102aa..0000000 --- a/levels/Level0A.gd +++ /dev/null @@ -1,13 +0,0 @@ -extends Node2D - - -# Declare member variables here. Examples: -# var a: int = 2 -# var b: String = "text" - - - - -# Called every frame. 'delta' is the elapsed time since the previous frame. -#func _process(delta: float) -> void: -# pass diff --git a/levels/Level0A.tscn b/levels/LevelOld0A.tscn similarity index 92% rename from levels/Level0A.tscn rename to levels/LevelOld0A.tscn index b8abc7e..91a767d 100644 --- a/levels/Level0A.tscn +++ b/levels/LevelOld0A.tscn @@ -1,17 +1,17 @@ [gd_scene load_steps=14 format=2] -[ext_resource path="res://scenery/tiles/ohld_tileset.tres" type="TileSet" id=1] -[ext_resource path="res://characters/player/Player.tscn" type="PackedScene" id=2] -[ext_resource path="res://scenery/facilities/OliveTree.tscn" type="PackedScene" id=3] -[ext_resource path="res://scenery/facilities/Wheelbarrow.tscn" type="PackedScene" id=4] -[ext_resource path="res://scenery/facilities/Press.tscn" type="PackedScene" id=5] -[ext_resource path="res://scenery/tiles/road.png" type="Texture" id=6] -[ext_resource path="res://characters/pests/Slug.tscn" type="PackedScene" id=7] -[ext_resource path="res://ui/Hud.tscn" type="PackedScene" id=8] +[ext_resource path="res://scenery/tiles/road.png" type="Texture" id=1] +[ext_resource path="res://ui/Hud.tscn" type="PackedScene" id=2] +[ext_resource path="res://scenery/tiles/ohld_tileset.tres" type="TileSet" id=3] +[ext_resource path="res://scenery/facilities/Press.tscn" type="PackedScene" id=4] +[ext_resource path="res://scenery/facilities/OliveTree.tscn" type="PackedScene" id=5] +[ext_resource path="res://scenery/facilities/Wheelbarrow.tscn" type="PackedScene" id=6] +[ext_resource path="res://characters/player/Player.tscn" type="PackedScene" id=7] +[ext_resource path="res://characters/pests/Slug.tscn" type="PackedScene" id=8] [sub_resource type="TileSet" id=1] 0/name = "road.png 0" -0/texture = ExtResource( 6 ) +0/texture = ExtResource( 1 ) 0/tex_offset = Vector2( 0, 0 ) 0/modulate = Color( 1, 1, 1, 1 ) 0/region = Rect2( 0, 0, 256, 128 ) @@ -45,13 +45,13 @@ vertices = PoolVector2Array( 105, 569, 919, 570, 924, 707, 95, 695 ) polygons = [ PoolIntArray( 0, 1, 2, 3 ) ] outlines = [ PoolVector2Array( 105, 569, 919, 570, 924, 707, 95, 695 ) ] -[node name="Level0A" type="Node2D"] +[node name="LevelOld0A" type="Node2D"] [node name="World" type="Node2D" parent="."] [node name="TileMapGround" type="TileMap" parent="World"] z_index = -10 -tile_set = ExtResource( 1 ) +tile_set = ExtResource( 3 ) bake_navigation = true format = 1 tile_data = PoolIntArray( 0, 0, 0, 1, 0, 0, 2, 0, 0, 3, 0, 0, 4, 0, 0, 5, 0, 0, 6, 0, 0, 7, 0, 0, 8, 0, 0, 9, 0, 0, 10, 0, 0, 11, 0, 0, 12, 0, 0, 13, 0, 0, 14, 0, 0, 15, 0, 0, 16, 0, 0, 17, 0, 0, 18, 0, 0, 19, 0, 0, 20, 0, 0, 21, 0, 0, 22, 0, 0, 23, 0, 0, 24, 0, 0, 65536, 0, 0, 65537, 0, 0, 65538, 0, 0, 65539, 0, 0, 65540, 0, 0, 65541, 0, 0, 65542, 0, 0, 65543, 0, 0, 65544, 0, 0, 65545, 0, 0, 65546, 0, 0, 65547, 0, 0, 65548, 0, 0, 65549, 0, 0, 65550, 0, 0, 65551, 0, 0, 65552, 0, 0, 65553, 0, 0, 65554, 0, 0, 65555, 0, 0, 65556, 0, 0, 65557, 0, 0, 65558, 0, 0, 65559, 0, 0, 65560, 0, 0, 131072, 0, 0, 131073, 0, 0, 131074, 0, 0, 131075, 0, 0, 131076, 0, 0, 131077, 0, 0, 131078, 0, 0, 131079, 0, 0, 131080, 0, 0, 131081, 0, 0, 131082, 0, 0, 131083, 0, 0, 131084, 0, 0, 131085, 0, 0, 131086, 0, 0, 131087, 0, 0, 131088, 0, 0, 131089, 0, 0, 131090, 0, 0, 131091, 0, 0, 131092, 0, 0, 131093, 0, 0, 131094, 0, 0, 131095, 0, 0, 131096, 0, 0, 196608, 0, 0, 196609, 0, 0, 196610, 0, 0, 196611, 0, 0, 196612, 0, 0, 196613, 0, 0, 196614, 0, 0, 196615, 0, 0, 196616, 0, 0, 196617, 0, 0, 196618, 0, 0, 196619, 0, 0, 196620, 0, 0, 196621, 0, 0, 196622, 0, 0, 196623, 0, 0, 196624, 0, 0, 196625, 0, 0, 196626, 0, 0, 196627, 0, 0, 196628, 0, 0, 196629, 0, 0, 196630, 0, 0, 196631, 0, 0, 196632, 0, 0, 262144, 0, 0, 262145, 0, 0, 262146, 8, 0, 262147, 8, 0, 262148, 8, 0, 262149, 8, 0, 262150, 11, 0, 262151, 11, 0, 262152, 8, 0, 262153, 8, 0, 262154, 8, 0, 262155, 8, 0, 262156, 8, 0, 262157, 8, 0, 262158, 0, 0, 262159, 0, 0, 262160, 0, 0, 262161, 0, 0, 262162, 0, 0, 262163, 0, 0, 262164, 0, 0, 262165, 0, 0, 262166, 0, 0, 262167, 0, 0, 262168, 0, 0, 327680, 0, 0, 327681, 0, 0, 327682, 8, 0, 327683, 8, 0, 327684, 8, 0, 327685, 8, 0, 327686, 8, 0, 327687, 8, 0, 327688, 8, 0, 327689, 8, 0, 327690, 8, 0, 327691, 8, 0, 327692, 8, 0, 327693, 8, 0, 327694, 0, 0, 327695, 0, 0, 327696, 0, 0, 327697, 0, 0, 327698, 0, 0, 327699, 0, 0, 327700, 0, 0, 327701, 0, 0, 327702, 0, 0, 327703, 0, 0, 327704, 0, 0, 393216, 0, 0, 393217, 0, 0, 393218, 8, 0, 393219, 8, 0, 393220, 8, 0, 393221, 8, 0, 393222, 8, 0, 393223, 8, 0, 393224, 8, 0, 393225, 8, 0, 393226, 8, 0, 393227, 8, 0, 393228, 8, 0, 393229, 8, 0, 393230, 0, 0, 393231, 0, 0, 393232, 0, 0, 393233, 0, 0, 393234, 0, 0, 393235, 0, 0, 393236, 0, 0, 393237, 0, 0, 393238, 0, 0, 393239, 0, 0, 393240, 0, 0, 458752, 0, 0, 458753, 0, 0, 458754, 8, 0, 458755, 8, 0, 458756, 8, 0, 458757, 8, 0, 458758, 8, 0, 458759, 8, 0, 458760, 8, 0, 458761, 8, 0, 458762, 8, 0, 458763, 8, 0, 458764, 8, 0, 458765, 8, 0, 458766, 0, 0, 458767, 0, 0, 458768, 0, 0, 458769, 0, 0, 458770, 0, 0, 458771, 0, 0, 458772, 0, 0, 458773, 0, 0, 458774, 0, 0, 458775, 0, 0, 458776, 0, 0, 524288, 0, 0, 524289, 0, 0, 524290, 0, 0, 524291, 10, 0, 524292, 10, 0, 524293, 0, 0, 524294, 0, 0, 524295, 0, 0, 524296, 0, 0, 524297, 0, 0, 524298, 0, 0, 524299, 0, 0, 524300, 0, 0, 524301, 0, 0, 524302, 0, 0, 524303, 0, 0, 524304, 0, 0, 524305, 0, 0, 524306, 0, 0, 524307, 0, 0, 524308, 0, 0, 524309, 0, 0, 524310, 0, 0, 524311, 0, 0, 524312, 0, 0, 589824, 0, 0, 589825, 0, 0, 589826, 0, 0, 589827, 0, 0, 589828, 0, 0, 589829, 0, 0, 589830, 0, 0, 589831, 0, 0, 589832, 0, 0, 589833, 0, 0, 589834, 0, 0, 589835, 0, 0, 589836, 0, 0, 589837, 0, 0, 589838, 0, 0, 589839, 0, 0, 589840, 0, 0, 589841, 0, 0, 589842, 0, 0, 589843, 0, 0, 589844, 0, 0, 589845, 0, 0, 589846, 0, 0, 589847, 0, 0, 589848, 0, 0, 655360, 0, 0, 655361, 0, 0, 655362, 0, 0, 655363, 0, 0, 655364, 0, 0, 655365, 0, 0, 655366, 0, 0, 655367, 0, 0, 655368, 0, 0, 655369, 0, 0, 655370, 0, 0, 655371, 0, 0, 655372, 0, 0, 655373, 0, 0, 655374, 0, 0, 655375, 0, 0, 655376, 0, 0, 655377, 0, 0, 655378, 0, 0, 655379, 0, 0, 655380, 0, 0, 655381, 0, 0, 655382, 0, 0, 655383, 0, 0, 655384, 0, 0, 720896, 0, 0, 720897, 0, 0, 720898, 0, 0, 720899, 0, 0, 720900, 0, 0, 720901, 0, 0, 720902, 0, 0, 720903, 0, 0, 720904, 0, 0, 720905, 0, 0, 720906, 0, 0, 720907, 0, 0, 720908, 0, 0, 720909, 0, 0, 720910, 0, 0, 720911, 0, 0, 720912, 0, 0, 720913, 0, 0, 720914, 0, 0, 720915, 0, 0, 720916, 0, 0, 720917, 0, 0, 720918, 0, 0, 720919, 0, 0, 720920, 0, 0, 786432, 0, 0, 786433, 0, 0, 786434, 0, 0, 786435, 0, 0, 786436, 0, 0, 786437, 0, 0, 786438, 0, 0, 786439, 0, 0, 786440, 0, 0, 786441, 0, 0, 786442, 0, 0, 786443, 0, 0, 786444, 0, 0, 786445, 0, 0, 786446, 0, 0, 786447, 0, 0, 786448, 0, 0, 786449, 0, 0, 786450, 0, 0, 786451, 0, 0, 786452, 0, 0, 786453, 0, 0, 786454, 0, 0, 786455, 0, 0, 786456, 0, 0, 851968, 0, 0, 851969, 0, 0, 851970, 0, 0, 851971, 0, 0, 851972, 0, 0, 851973, 0, 0, 851974, 0, 0, 851975, 0, 0, 851976, 0, 0, 851977, 0, 0, 851978, 0, 0, 851979, 0, 0, 851980, 0, 0, 851981, 0, 0, 851982, 0, 0, 851983, 0, 0, 851984, 0, 0, 851985, 0, 0, 851986, 0, 0, 851987, 0, 0, 851988, 0, 0, 851989, 0, 0, 851990, 0, 0, 851991, 0, 0, 851992, 0, 0, 917504, 0, 0, 917505, 0, 0, 917506, 0, 0, 917507, 0, 0, 917508, 0, 0, 917509, 0, 0, 917510, 0, 0, 917511, 0, 0, 917512, 0, 0, 917513, 0, 0, 917514, 0, 0, 917515, 0, 0, 917516, 0, 0, 917517, 0, 0, 917518, 0, 0, 917519, 0, 0, 917520, 0, 0, 917521, 0, 0, 917522, 0, 0, 917523, 0, 0, 917524, 0, 0, 917525, 0, 0, 917526, 0, 0, 917527, 0, 0, 917528, 0, 0 ) @@ -66,7 +66,7 @@ tile_data = PoolIntArray( 851967, 0, 0, 786432, 0, 0, 786433, 0, 0, 786434, 0, 0 [node name="TileMapWalls" type="TileMap" parent="World"] position = Vector2( 0, 1 ) z_index = -1 -tile_set = ExtResource( 1 ) +tile_set = ExtResource( 3 ) bake_navigation = true format = 1 tile_data = PoolIntArray( 262145, 5, 0, 262146, 1, 0, 262147, 1, 0, 262148, 1, 0, 262149, 1, 0, 262150, 2, 0, 262151, 3, 0, 262152, 1, 0, 262153, 1, 0, 262154, 1, 0, 262155, 1, 0, 262156, 1, 0, 262157, 1, 0, 262158, 6, 0, 327681, 4, 0, 327694, 7, 0, 393217, 4, 0, 393226, 4, 0, 393227, 1, 0, 393228, 9, 0, 393229, 1, 0, 393230, 7, 0, 458753, 4, 0, 458762, 4, 0, 458766, 7, 0, 524289, 3, 0, 524290, 1, 0, 524291, 2, 0, 524292, 3, 0, 524293, 1, 0, 524294, 1, 0, 524295, 1, 0, 524296, 1, 0, 524297, 1, 0, 524298, 1, 0, 524299, 1, 0, 524300, 1, 0, 524301, 1, 0, 524302, 2, 0, 655374, 0, 0 ) @@ -74,34 +74,34 @@ tile_data = PoolIntArray( 262145, 5, 0, 262146, 1, 0, 262147, 1, 0, 262148, 1, 0 [node name="YSort" type="YSort" parent="World"] z_index = 5 -[node name="Press" parent="World/YSort" instance=ExtResource( 5 )] +[node name="Press" parent="World/YSort" instance=ExtResource( 4 )] position = Vector2( 247, 412 ) -[node name="Player" parent="World/YSort" instance=ExtResource( 2 )] +[node name="Player" parent="World/YSort" instance=ExtResource( 7 )] position = Vector2( 486, 154 ) -[node name="Node2D" parent="World/YSort" instance=ExtResource( 3 )] +[node name="Node2D" parent="World/YSort" instance=ExtResource( 5 )] position = Vector2( 1134, 649 ) -[node name="Node2D4" parent="World/YSort" instance=ExtResource( 3 )] +[node name="Node2D4" parent="World/YSort" instance=ExtResource( 5 )] position = Vector2( 1114, 493 ) -[node name="Node2D2" parent="World/YSort" instance=ExtResource( 3 )] +[node name="Node2D2" parent="World/YSort" instance=ExtResource( 5 )] position = Vector2( 574, 653 ) -[node name="Node2D3" parent="World/YSort" instance=ExtResource( 4 )] +[node name="Node2D3" parent="World/YSort" instance=ExtResource( 6 )] position = Vector2( 542, 475 ) -[node name="Slug" parent="World/YSort" instance=ExtResource( 7 )] +[node name="Slug" parent="World/YSort" instance=ExtResource( 8 )] position = Vector2( 184, 679 ) -[node name="Slug4" parent="World/YSort" instance=ExtResource( 7 )] +[node name="Slug4" parent="World/YSort" instance=ExtResource( 8 )] position = Vector2( 61, 628 ) -[node name="Slug2" parent="World/YSort" instance=ExtResource( 7 )] +[node name="Slug2" parent="World/YSort" instance=ExtResource( 8 )] position = Vector2( 184, 660 ) -[node name="Slug3" parent="World/YSort" instance=ExtResource( 7 )] +[node name="Slug3" parent="World/YSort" instance=ExtResource( 8 )] position = Vector2( 172, 689 ) [node name="MarkerRoadPoint" type="Node2D" parent="World"] @@ -119,5 +119,5 @@ navpoly = SubResource( 4 ) [node name="NavigationPolygonInstance2" type="NavigationPolygonInstance" parent="World"] navpoly = SubResource( 3 ) -[node name="Hud" parent="." instance=ExtResource( 8 )] +[node name="Hud" parent="." instance=ExtResource( 2 )] needed_coins = 20