diff --git a/Main.tscn b/Main.tscn index b1025c9..659d3a2 100644 --- a/Main.tscn +++ b/Main.tscn @@ -34,7 +34,7 @@ y_sort_enabled = true tile_map_data = PackedByteArray("AAAqAP7/AwADAAEAAAAqAP3/AwADAAEAAAAqAPz/AwADAAEAAAApAPz/AwADAAEAAAAoAPz/AwADAAEAAAAnAPz/AwADAAEAAAAmAPz/AwADAAEAAAAlAPz/AwADAAEAAAAkAPz/AwADAAEAAAAjAPz/AwADAAEAAAAiAPz/AwADAAEAAAAiAP3/AwADAAEAAAAiAP7/AwADAAEAAAAiAP//AwADAAEAAAAiAAAAAwADAAEAAAAjAAAAAwADAAEAAAAjAP//AwADAAEAAAAjAP7/AwADAAEAAAAjAP3/AwADAAEAAAAkAP3/AwADAAEAAAAkAP7/AwADAAEAAAAkAP//AwADAAEAAAAkAAAAAwADAAEAAAAkAAEAAwADAAEAAAAkAAIAAwADAAEAAAAjAAIAAwADAAEAAAAiAAIAAwADAAEAAAAiAAMAAwADAAEAAAAiAAQAAwADAAEAAAAiAAUAAwADAAEAAAAiAAYAAwADAAEAAAAjAAUAAwADAAEAAAAjAAQAAwADAAEAAAAjAAMAAwADAAEAAAAkAAMAAwADAAEAAAAkAAQAAwADAAEAAAAlAAQAAwADAAEAAAAlAAMAAwADAAEAAAAlAAIAAwADAAEAAAAlAAEAAwADAAEAAAAmAAEAAwADAAEAAAAmAAAAAwADAAEAAAAmAP//AwADAAEAAAAmAP7/AwADAAEAAAAmAP3/AwADAAEAAAAnAP3/AwADAAEAAAAnAP7/AwADAAEAAAAnAP//AwADAAEAAAAnAAAAAwADAAEAAAAnAAEAAwADAAEAAAAnAAIAAwADAAMAAAAmAAIAAwADAAEAAAAmAAMAAwADAAEAAAAmAAQAAwADAAEAAAAnAAQAAwADAAEAAAAnAAMAAwADAAEAAAAoAAMAAwADAAEAAAAoAAIAAwADAAMAAAAoAAEAAwADAAMAAAAoAAAAAwADAAEAAAAoAP//AwADAAEAAAAoAP7/AwADAAEAAAAoAP3/AwADAAEAAAApAP3/AwADAAEAAAApAP7/AwADAAEAAAApAP//AwADAAMAAAApAAAAAwADAAMAAAApAAEAAwADAAMAAAApAAIAAwADAAEAAAApAAMAAwADAAEAAAApAAQAAwADAAEAAAAoAAQAAwADAAEAAAAoAAUAAwADAAEAAAAnAAUAAwADAAEAAAAoAAYAAwADAAEAAAApAAYAAwADAAEAAAApAAUAAwADAAEAAAAqAAUAAwADAAEAAAAqAAQAAwADAAEAAAAqAAMAAwADAAEAAAAqAAIAAwADAAEAAAAqAAEAAwADAAEAAAArAAIAAwADAAEAAAArAAMAAwADAAEAAAArAAQAAwADAAEAAAArAAUAAwADAAEAAAAsAAQAAwADAAEAAAAsAAMAAwADAAEAAAAtAAQAAwADAAEAAAArAPz/AwADAAEAAAArAP3/AwADAAEAAAArAP7/AwADAAEAAAAsAPz/AwADAAEAAAAqAP//AwADAAMAAAAiAAEAAwADAAEAAAAjAAEAAwADAAEAAAAlAAAAAwADAAEAAAAlAP//AwADAAEAAAAlAP7/AwADAAEAAAAlAP3/AwADAAEAAAA=") tile_set = ExtResource("2_68wnv") -[node name="WaterLevel1" type="TileMapLayer" parent="."] +[node name="WaterLevel1" type="TileMapLayer" parent="Level1"] visible = false y_sort_enabled = true tile_map_data = PackedByteArray("AAAjAAcAAwABAAMAAAAjAAgAAwABAAMAAAAjAAkAAwABAAMAAAAjAAoAAwABAAMAAAAkAAYAAwABAAMAAAAkAAcAAwABAAMAAAAkAAgAAwABAAMAAAAkAAkAAwABAAMAAAAkAAoAAwABAAMAAAAlAAUAAwABAAMAAAAlAAYAAwABAAMAAAAlAAcAAwABAAMAAAAlAAgAAwABAAMAAAAlAAkAAwABAAMAAAAlAAoAAwABAAMAAAAmAAgAAwABAAMAAAAmAAkAAwABAAMAAAAnAAgAAwABAAMAAAAnAAkAAwABAAMAAAAoAAgAAwABAAMAAAAoAAkAAwABAAMAAAApAAgAAwABAAMAAAApAAkAAwABAAMAAAAqAAgAAwABAAMAAAAqAAkA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nAAIAAwAFAAEAAAAnAAEAAwAFAAEAAAAmAAAAAwAFAAMAAAAlAP//AwAFAAMAAAAlAP3/AwAFAAEAAAAlAP7/AwAFAAEAAAAmAP7/AwAFAAEAAAAmAP//AwAFAAEAAAAnAP//AwAFAAEAAAAoAP//AwAFAAEAAAAoAAAAAwAFAAEAAAAnAAAAAwAFAAEAAAAnAP7/AwAFAAEAAAAmAP3/AwAFAAEAAAAoAP7/AwAFAAEAAAApAP7/AwAFAAEAAAApAP3/AwAFAAEAAAAoAPv/AwAFAAEAAAAoAPz/AwAFAAEAAAAnAPz/AwAFAAEAAAAnAPv/AwAFAAEAAAAmAPv/AwAFAAMAAAAmAPz/AwAFAAMAAAAlAPv/AwAFAAMAAAAlAPz/AwAFAAMAAAAnAP3/AwAFAAEAAAAoAP3/AwAFAAEAAAAlAAIAAwAFAAMAAAA=") tile_set = ExtResource("2_68wnv") -[node name="WaterLevel2" type="TileMapLayer" parent="."] +[node name="WaterLevel2" type="TileMapLayer" parent="Level2"] visible = false y_sort_enabled = true tile_map_data = PackedByteArray("AAAjAAUAAwABAAMAAAAjAAYAAwABAAMAAAAjAAcAAwABAAMAAAAjAAgAAwABAAMAAAAjAAkAAwABAAMAAAAkAAUAAwABAAMAAAAkAAYAAwABAAMAAAAkAAcAAwABAAMAAAAkAAgAAwABAAMAAAAkAAkAAwABAAMAAAAlAAUAAwABAAMAAAAlAAYAAwABAAMAAAAlAAcAAwABAAMAAAAlAAgAAwABAAMAAAAlAAkAAwABAAMAAAAmAAUAAwABAAMAAAAmAAYAAwABAAMAAAAmAAcAAwABAAMAAAAmAAgAAwABAAMAAAAmAAkAAwABAAMAAAAnAAUAAwABAAMAAAAnAAYAAwABAAMAAAAnAAcAAwABAAMAAAAnAAgAAwABAAMAAAAoAAUAAwABAAMAAAAoAAYAAwABAAMAAAAoAAcAAwABAAMAAAAoAAgAAwABAAMAAAAoAAkAAwABAAMAAAApAAUAAwABAAMAAAApAAYAAwABAAMAAAApAAcAAwABA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AMAAAAsAPz/AwABAAMAAAAtAPz/AwABAAMAAAAuAPz/AwABAAMAAAAvAPz/AwABAAMAAAAhAAkAAwABAAMAAAAhAAgAAwABAAMAAAAhAAcAAwABAAMAAAAhAAYAAwABAAMAAAAhAAUAAwABAAMAAAAsAPv/AwABAAMAAAAtAPv/AwABAAMAAAAuAPv/AwABAAMAAAAvAPv/AwABAAMAAAAnAAkAAwABAAMAAAAhAAMAAwABAAMAAAAhAAQAAwABAAMAAAAiAAEAAwABAAMAAAAiAAIAAwABAAMAAAAiAAMAAwABAAMAAAAiAAQAAwABAAMAAAAjAAIAAwABAAMAAAAjAAMAAwABAAMAAAAjAAQAAwABAAMAAAAkAAIAAwABAAMAAAAkAAMAAwABAAMAAAAkAAQAAwABAAMAAAAlAAMAAwABAAMAAAAmAAMAAwABAAMAAAAnAAMAAwABAAMAAAAoAAMAAwABAAMAAAAnAAQAAwABAAMAAAAoAAQAAwABAAMAAAAmAAQAAwABAAMAAAAlAAQAAwABAAMAAAAoAAEAAwABAAMAAAAoAAIAAwABAAMAAAApAAIAAwABAAMAAAApAAMAAwABAAMAAAApAAQAAwABAAMAAAAqAAQAAwABAAMAAAAqAAMAAwABAAMAAAAqAAIAAwABAAMAAAArAAIAAwABAAMAAAArAAMAAwABAAMAAAArAAQAAwABAAMAAAApAAEAAwABAAMAAAApAAAAAwABAAMAAAApAP//AwABAAMAAAAqAP//AwABAAMAAAAqAP7/AwABAAMAAAArAP7/AwABAAMAAAArAP3/AwABAAMAAAAqAP3/AwABAAMAAAApAPv/AwABAAMAAAApAPz/AwABAAMAAAAqAPz/AwABAAMAAAArAPz/AwABAAMAAAArAPv/AwABAAMAAAAqAPv/AwABAAMAAAArAP//AwABAAMAAAArAAAAAwABAAMAAAArAAEAAwABAAMAAAAqAAEAAwABAAMAAAAqAAAAAwABAAMAAAA=") @@ -60,7 +60,7 @@ y_sort_enabled = true tile_map_data = PackedByteArray("AAAgAP3/AwAHAAEAAAAhAP3/AwAHAAEAAAAhAPz/AwAHAAEAAAAhAPv/AwAHAAEAAAAgAP7/AwAHAAEAAAAhAP7/AwAHAAEAAAAiAP7/AwAHAAEAAAAiAP3/AwAHAAEAAAAiAPz/AwAHAAEAAAAiAPv/AwAHAAEAAAAgAPv/AwAHAAEAAAAgAPz/AwAHAAEAAAAgAPr/AwAHAAEAAAAhAPr/AwAHAAEAAAAjAPv/AwAHAAEAAAAiAPr/AwAHAAEAAAAjAP//AwAHAAEAAAAkAP//AwAHAAEAAAAjAP7/AwAHAAEAAAAjAP3/AwAHAAEAAAAjAPz/AwAHAAEAAAAkAP7/AwAHAAEAAAAlAPv/AwAHAAEAAAAkAPv/AwAHAAEAAAAlAPr/AwAHAAEAAAAkAPr/AwAHAAEAAAAjAPr/AwAHAAEAAAAlAP//AwAHAAEAAAAmAPr/AwAHAAEAAAAiAP//AwAHAAEAAAAhAP//AwAHAAEAAAAgAP//AwAHAAEAAAAgAAAAAwAHAAEAAAAkAAAAAwAHAAEAAAAjAAAAAwAHAAEAAAAkAAEAAwAHAAEAAAAiAAAAAwAHAAEAAAAgAAEAAwAHAAEAAAA=") tile_set = ExtResource("2_68wnv") -[node name="WaterLevel3" type="TileMapLayer" parent="."] +[node name="WaterLevel3" type="TileMapLayer" parent="Level3"] visible = false y_sort_enabled = true tile_map_data = PackedByteArray("AAAjAAUAAwABAAMAAAAjAAYAAwABAAMAAAAjAAcAAwABAAMAAAAjAAgAAwABAAMAAAAkAAUAAwABAAMAAAAkAAYAAwABAAMAAAAkAAcAAwABAAMAAAAkAAgAAwABAAMAAAAlAAUAAwABAAMAAAAlAAYAAwABAAMAAAAlAAcAAwABAAMAAAAlAAgAAwABAAMAAAAmAAUAAwABAAMAAAAmAAYAAwABAAMAAAAmAAcAAwABAAMAAAAmAAgAAwABAAMAAAAnAAUAAwABAAMAAAAnAAYAAwABAAMAAAAnAAcAAwABAAMAAAAnAAgAAwABAAMAAAAoAAUAAwABAAMAAAAoAAYAAwABAAMAAAAoAAcAAwABAAMAAA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AMAAAApAAIAAwABAAMAAAApAAMAAwABAAMAAAAoAAMAAwABAAMAAAAnAAMAAwABAAMAAAAnAAQAAwABAAMAAAAmAAQAAwABAAMAAAAmAAMAAwABAAMAAAAlAAMAAwABAAMAAAAnAAIAAwABAAMAAAAlAAQAAwABAAMAAAAoAAQAAwABAAMAAAAqAAMAAwABAAMAAAApAAQAAwABAAMAAAAoAAIAAwABAAMAAAAoAAEAAwABAAMAAAAnAAEAAwABAAMAAAAnAAAAAwABAAMAAAAnAP//AwABAAMAAAAoAP//AwABAAMAAAAnAP7/AwABAAMAAAAoAP7/AwABAAMAAAAoAAAAAwABAAMAAAApAAEAAwABAAMAAAAqAP//AwABAAMAAAAqAAQAAwABAAMAAAA=") @@ -73,7 +73,7 @@ y_sort_enabled = true tile_map_data = PackedByteArray("AAAgAPv/AwAJAAEAAAAfAPr/AwAJAAEAAAAfAPv/AwAJAAEAAAAfAPn/AwAJAAEAAAAgAPn/AwAJAAEAAAAgAPr/AwAJAAEAAAAhAPr/AwAJAAEAAAAhAPn/AwAJAAEAAAAfAPz/AwAJAAEAAAAiAPn/AwAJAAEAAAAiAPr/AwAJAAEAAAAjAPn/AwAJAAEAAAA=") tile_set = ExtResource("2_68wnv") -[node name="WaterLevel4" type="TileMapLayer" parent="."] +[node name="WaterLevel4" type="TileMapLayer" parent="Level4"] visible = false y_sort_enabled = true tile_map_data = PackedByteArray("AAAjAAIAAwABAAMAAAAjAAMAAwABAAMAAAAjAAQAAwABAAMAAAAjAAUAAwABAAMAAAAjAAYAAwABAAMAAAAjAAcAAwABAAMAAAAkAAIAAwABAAMAAAAkAAMAAwABAAMAAAAkAAQAAwABAAMAAAAkAAUAAwABAAMAAAAkAAYAAwABAAMAAAAkAAcAAwABAAMAAAAlAAIAAwABAAMAAAAlAAMAAwABAAMAAAAlAAQAAwABAAMAAAAlAAUAAwABAAMAAAAlAAYAAwABAAMAAAAlAAcAAwABAAMAAAAmAAIAAwABAAMAAAAmAAMAAwABAAMAAAAm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Pr/AwABAAMAAAAkAPr/AwABAAMAAAAkAPn/AwABAAMAAAAlAPn/AwABAAMAAAAmAPn/AwABAAMAAAAnAPn/AwABAAMAAAAnAPr/AwABAAMAAAAnAPv/AwABAAMAAAAnAPz/AwABAAMAAAAnAP3/AwABAAMAAAAmAP3/AwABAAMAAAAmAP7/AwABAAMAAAAmAP//AwABAAMAAAAmAAAAAwABAAMAAAAlAAAAAwABAAMAAAAlAAEAAwABAAMAAAAkAAEAAwABAAMAAAAkAAAAAwABAAMAAAAjAAAAAwABAAMAAAAiAAAAAwABAAMAAAAiAP//AwABAAMAAAAiAP7/AwABAAMAAAAiAP3/AwABAAMAAAAiAPz/AwABAAMAAAAjAPz/AwABAAMAAAAjAP3/AwABAAMAAAAkAP3/AwABAAMAAAAkAP7/AwABAAMAAAAjAP//AwABAAMAAAAiAAEAAwABAAMAAAAhAAEAAwABAAMAAAAhAAAAAwABAAMAAAAhAP//AwABAAMAAAAhAP7/AwABAAMAAAAhAP3/AwABAAMAAAAjAP7/AwABAAMAAAAkAP//AwABAAMAAAAjAAEAAwABAAMAAAAlAP3/AwABAAMAAAAnAP7/AwABAAMAAAAnAP//AwABAAMAAAAnAAAAAwABAAMAAAAmAAEAAwABAAMAAAAlAP7/AwABAAMAAAAlAP//AwABAAMAAAAnAAEAAwABAAMAAAAlAPz/AwABAAMAAAAkAPz/AwABAAMAAAAkAPv/AwABAAMAAAAlAPr/AwABAAMAAAAmAPr/AwABAAMAAAAmAPv/AwABAAMAAAAmAPz/AwABAAMAAAAlAPv/AwABAAMAAAA=") @@ -86,7 +86,7 @@ y_sort_enabled = true tile_map_data = PackedByteArray("AAAeAPj/AwALAAEAAAAeAPn/AwALAAEAAAAfAPj/AwALAAEAAAA=") tile_set = ExtResource("2_68wnv") -[node name="WaterLevel5" type="TileMapLayer" parent="."] +[node name="WaterLevel5" type="TileMapLayer" parent="Level5"] visible = false y_sort_enabled = true tile_map_data = PackedByteArray("AAAjAAIAAwABAAMAAAAjAAMAA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r/AwABAAMAAAAiAPn/AwABAAMAAAAhAPn/AwABAAMAAAAjAPn/AwABAAMAAAAfAAYAAwABAAMAAAAeAAYAAwABAAMAAAAfAPn/AwABAAMAAAAfAPr/AwABAAMAAAAfAPv/AwABAAMAAAAeAPr/AwABAAMAAAAgAPj/AwABAAMAAAAgAPn/AwABAAMAAAAgAPr/AwABAAMAAAA=") diff --git a/TIleSet.tres b/TIleSet.tres index 66eacda..7dbb2ec 100644 --- a/TIleSet.tres +++ b/TIleSet.tres @@ -33,28 +33,40 @@ texture = ExtResource("3_rchy6") texture = ExtResource("4_p6xw0") 1:1/0 = 0 1:1/0/texture_origin = Vector2i(0, 4) +1:1/0/y_sort_origin = 3 1:3/0 = 0 1:3/0/texture_origin = Vector2i(0, 4) +1:3/0/y_sort_origin = 3 3:3/0 = 0 3:3/0/texture_origin = Vector2i(0, 4) +3:3/0/y_sort_origin = 3 3:1/0 = 0 3:1/0/texture_origin = Vector2i(0, 4) +3:1/0/y_sort_origin = 3 5:1/0 = 0 5:1/0/texture_origin = Vector2i(0, 4) +5:1/0/y_sort_origin = 3 5:3/0 = 0 5:3/0/texture_origin = Vector2i(0, 4) +5:3/0/y_sort_origin = 3 11:3/0 = 0 11:3/0/texture_origin = Vector2i(0, 4) +11:3/0/y_sort_origin = 3 11:1/0 = 0 11:1/0/texture_origin = Vector2i(0, 4) +11:1/0/y_sort_origin = 3 9:1/0 = 0 9:1/0/texture_origin = Vector2i(0, 4) +9:1/0/y_sort_origin = 3 7:1/0 = 0 7:1/0/texture_origin = Vector2i(0, 4) +7:1/0/y_sort_origin = 3 7:3/0 = 0 7:3/0/texture_origin = Vector2i(0, 4) +7:3/0/y_sort_origin = 3 9:3/0 = 0 9:3/0/texture_origin = Vector2i(0, 4) +9:3/0/y_sort_origin = 3 [resource] tile_shape = 1 diff --git a/parts/globals.txt b/parts/globals.txt index 1108356..c31d553 100644 --- a/parts/globals.txt +++ b/parts/globals.txt @@ -1,15 +1,20 @@ time_to_flood_change: 3 flood_levels[] - 0 - 1 0 2 - 1 + 4 + 5 3 1 0 2 - 1 4 - 2 5 + 3 + 1 + 0 + 2 + 4 + 5 + 3 + 1 diff --git a/water_level.gd b/water_level.gd index a4bdcb6..761378a 100644 --- a/water_level.gd +++ b/water_level.gd @@ -13,26 +13,30 @@ func _on_flood_level(data): var value = int(data.value) var oldvalue = last_level - if value < level: + if value < level and visible: if movement_tween: movement_tween.kill() movement_tween = create_tween() - movement_tween.tween_interval(((oldvalue - level)) * 0.5) - movement_tween.tween_property(self, "position:y", 8, 0.5) + movement_tween.set_ease(Tween.EASE_OUT) + movement_tween.set_trans(Tween.TRANS_BACK) + movement_tween.tween_interval(((oldvalue - level)) * 0.1) + movement_tween.tween_property(self, "position:y", 8, 0.1) movement_tween.tween_callback(func(): visible = false ) - else: + elif value >= level and not visible: if movement_tween: movement_tween.kill() movement_tween = create_tween() - movement_tween.tween_interval((level - oldvalue) * 0.5) + movement_tween.set_ease(Tween.EASE_OUT) + movement_tween.set_trans(Tween.TRANS_BACK) + movement_tween.tween_interval((level - oldvalue) * 0.1) movement_tween.tween_callback(func(): position.y = 8 visible = true ) - movement_tween.tween_property(self, "position:y", 0, 0.5) + movement_tween.tween_property(self, "position:y", 0, 0.1) last_level = value