From 0e7a03da824002293a0c5b691770e6dc75dc3d71 Mon Sep 17 00:00:00 2001 From: Ategon Date: Fri, 13 Sep 2024 23:00:13 -0400 Subject: [PATCH] Tween water levels --- Main.tscn | 75 ++++++++++++++++++++++++++++++++++++++--------- TIleSet.tres | 12 ++++++++ parts/globals.txt | 2 +- water_level.gd | 38 ++++++++++++++++++++++++ 4 files changed, 112 insertions(+), 15 deletions(-) create mode 100644 water_level.gd diff --git a/Main.tscn b/Main.tscn index 1c99172..b1025c9 100644 --- a/Main.tscn +++ b/Main.tscn @@ -1,9 +1,10 @@ -[gd_scene load_steps=10 format=4 uid="uid://5ske2hm55rce"] +[gd_scene load_steps=11 format=4 uid="uid://5ske2hm55rce"] [ext_resource type="PackedScene" uid="uid://n2lpy72tkyc8" path="res://storm/StormManager.tscn" id="1_gcxt1"] [ext_resource type="PackedScene" uid="uid://bxctpr0tfqidf" path="res://ui/UI.tscn" id="1_ve2mn"] [ext_resource type="Theme" uid="uid://d035h7upxrw3h" path="res://theme.tres" id="1_xbn5h"] [ext_resource type="TileSet" uid="uid://dhy53lakrlutm" path="res://TIleSet.tres" id="2_68wnv"] +[ext_resource type="Script" path="res://water_level.gd" id="4_vc41k"] [ext_resource type="PackedScene" uid="uid://dykc1mgg5uopw" path="res://components/Cursor/MouseHandler.tscn" id="5_6lpdu"] [ext_resource type="Script" path="res://tile_map.gd" id="5_v47eg"] [ext_resource type="PackedScene" uid="uid://byyyhq3x8t2d8" path="res://InfoWindow.tscn" id="7_f4xfy"] @@ -23,29 +24,75 @@ offset_right = 40.0 offset_bottom = 40.0 theme = ExtResource("1_xbn5h") -[node name="A5" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAAiAAQAAwABAAMAAAAjAAQAAwABAAMAAAAkAAQAAwABAAMAAAAlAAQAAwABAAMAAAAmAAQAAwABAAMAAAAnAAQAAwABAAMAAAAnAAMAAwABAAMAAAAoAAMAAwABAAMAAAAoAAQAAwABAAMAAAAoAAIAAwABAAMAAAA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AAAwAAUAAwABAAMAAAAwAAYAAwABAAMAAAAwAAcAAwABAAMAAAAwAAgAAwABAAMAAAAwAAkAAwABAAMAAAAwAAoAAwABAAMAAAAwAAsAAwABAAMAAAAwAAwAAwABAAMAAAA=") +[node name="Level0" type="TileMapLayer" parent="."] +y_sort_enabled = true +tile_map_data = PackedByteArray("AAAjAP3/AwABAAMAAAAjAP7/AwABAAMAAAAjAP//AwABAAMAAAAjAAAAAwABAAMAAAAjAAEAAwABAAMAAAAjAAIAAwABAAMAAAAjAAMAAwABAAMAAAAjAAQAAwABAAMAAAAjAAUAAwABAAMAAAAjAAYAAwABAAMAAAAjAAcAAwABAAMAAAAjAAgAAwABAAMAAAAjAAkAAwABAAMAAAAjAAoAAwABAAMAAAAjAAsAAwABAAMAAAAkAP3/AwABAAMAAAAkAP7/AwABAAMAAAAkAP//AwABAAMAAAAkAAAAAwABAAMAAAAkAAEAAwABAAMAAAAkAAIAAwABAAMAAAAkAAMAAwABAAMAAAAkAAQAAwABAAMAAAAkAAUAAwABAAMAAAAkAAYAAwABAAMAAAAkAAcAAwABAAMAAAAkAAgAAwABAAMAAAAkAAkAAwABAAMAAAAkAAoAAwABAAMAAAAkAAsAAwABAAMAAAAlAP3/AwABAAMAAAAlAP7/AwABAAMAAAAlAP//AwABAAMAAAAlAAAAAwABAAMAAAAlAAEAAwABAAMAAAAlAAIAAwABAAMAAAAlAAMAAwABAAMAAAAlAAQAAwABAAMAAAAlAAUAAwABAAMAAAAlAAYAAwABAAMAAAAlAAcAAwABAAMAAAAlAAgAAwABAAMAAAAlAAkAAwABAAMAAAAlAAoAAwABAAMAAAAlAAsAAwABAAMAAAAmAP3/AwABAAMAAAAmAP7/AwABAAMAAAAmAP//AwABAAMAAAAmAAAAAwABAAMAAAAmAAEAAwABAAMAAAAmAAIAAwABAAMAAAAmAAMAAwABAAMAAAAmAAQAAwABAAMAAAAmAAUAAwABAAMAAAAmAAYAAwABAAMAAAAmAAcAAwABAAMAAAAmAAgAAwABA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AAAAwAP7/AwABAAMAAAAwAP//AwABAAMAAAAwAAAAAwABAAMAAAAwAAEAAwABAAMAAAAwAAIAAwABAAMAAAAwAAMAAwABAAMAAAAwAAQAAwABAAMAAAAwAAUAAwABAAMAAAAwAAYAAwABAAMAAAAwAAcAAwABAAMAAAAwAAgAAwABAAMAAAAwAAkAAwABAAMAAAAwAAoAAwABAAMAAAAwAAsAAwABAAMAAAAxAP3/AwABAAMAAAAxAP7/AwABAAMAAAAxAP//AwABAAMAAAAxAAAAAwABAAMAAAAxAAEAAwABAAMAAAAxAAIAAwABAAMAAAAxAAMAAwABAAMAAAAxAAQAAwABAAMAAAAxAAUAAwABAAMAAAAxAAYAAwABAAMAAAAxAAcAAwABAAMAAAAxAAgAAwABAAMAAAAxAAkAAwABAAMAAAAxAAoAAwABAAMAAAAxAAsAAwABAAMAAAA=") tile_set = ExtResource("2_68wnv") -[node name="A4" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAAgAP//AwADAAEAAAAhAP//AwADAAEAAAAiAP//AwADAAEAAAAjAP//AwADAAEAAAAjAP7/AwADAAEAAAAjAP3/AwADAAEAAAAjAPz/AwADAAEAAAAgAAAAAwADAAEAAAAhAAAAAwADAAEAAAAiAAAAAwADAAEAAAAjAAAAAwADAAEAAAAkAP//AwADAAEAAAAkAP7/AwADAAEAAAAkAP3/AwADAAEAAAAkAPz/AwADAAEAAAAiAPz/AwADAAEAAAAiAP3/AwADAAEAAAAiAP7/AwADAAEAAAAkAAAAAwADAAEAAAAhAAIAAwADAAEAAAAiAAIAAwADAAEAAAAjAAIAAwADAAEAAAAkAAIAAwADAAEAAAAkAAEAAwADAAEAAAAlAAEAAwADAAEAAAAlAAIAAwADAAEAAAAmAAIAAwADAAEAAAAmAAEAAwADAAEAAAAmAAAAAwADAAEAAAAmAP//AwADAAEAAAAmAP7/AwADAAEAAAAmAP3/AwADAAEAAAA=") +[node name="Level1" type="TileMapLayer" parent="."] +y_sort_enabled = true +tile_map_data = PackedByteAr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AApAAMAAwADAAEAAAApAAQAAwADAAEAAAAoAAQAAwADAAEAAAAoAAUAAwADAAEAAAAnAAUAAwADAAEAAAAoAAYAAwADAAEAAAApAAYAAwADAAEAAAApAAUAAwADAAEAAAAqAAUAAwADAAEAAAAqAAQAAwADAAEAAAAqAAMAAwADAAEAAAAqAAIAAwADAAEAAAAqAAEAAwADAAEAAAArAAIAAwADAAEAAAArAAMAAwADAAEAAAArAAQAAwADAAEAAAArAAUAAwADAAEAAAAsAAQAAwADAAEAAAAsAAMAAwADAAEAAAAtAAQAAwADAAEAAAArAPz/AwADAAEAAAArAP3/AwADAAEAAAArAP7/AwADAAEAAAAsAPz/AwADAAEAAAAqAP//AwADAAMAAAAiAAEAAwADAAEAAAAjAAEAAwADAAEAAAAlAAAAAwADAAEAAAAlAP//AwADAAEAAAAlAP7/AwADAAEAAAAlAP3/AwADAAEAAAA=") tile_set = ExtResource("2_68wnv") -[node name="A3" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAAgAP7/AwAFAAEAAAAhAP7/AwAFAAEAAAAiAP7/AwAFAAEAAAAiAP3/AwAFAAEAAAAiAPz/AwAFAAEAAAAgAPz/AwAFAAEAAAAgAP3/AwAFAAEAAAAhAP3/AwAFAAEAAAAhAPz/AwAFAAEAAAAgAP//AwAFAAEAAAAhAP//AwAFAAEAAAAiAP//AwAFAAEAAAAjAP//AwAFAAEAAAAjAP7/AwAFAAEAAAAjAP3/AwAFAAEAAAAjAPz/AwAFAAEAAAAkAPz/AwAFAAEAAAAkAP3/AwAFAAEAAAAkAP7/AwAFAAEAAAAkAP//AwAFAAEAAAAjAAAAAwAFAAEAAAAiAAAAAwAFAAEAAAAhAAAAAwAFAAEAAAAgAAAAAwAFAAEAAAAkAAAAAwAFAAEAAAA=") +[node name="WaterLevel1" type="TileMapLayer" parent="."] +visible = false +y_sort_enabled = true +tile_map_data = PackedByteArray("AAAjAAcAAwABAAMAAAAjAAgAAwABAAMAAAAjAAkAAwABAAMAAAAjAA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wAAgAAwABAAMAAAAwAAkAAwABAAMAAAAwAAoAAwABAAMAAAAiAAcAAwABAAMAAAAiAAgAAwABAAMAAAAiAAkAAwABAAMAAAAiAAoAAwABAAMAAAAuAPz/AwABAAMAAAAvAPz/AwABAAMAAAAwAPz/AwABAAMAAAAmAAoAAwABAAMAAAAnAAoAAwABAAMAAAAoAAoAAwABAAMAAAApAAoAAwABAAMAAAAwAAQAAwABAAMAAAAwAAUAAwABAAMAAAAjAAYAAwABAAMAAAAkAAUAAwABAAMAAAAmAAUAAwABAAMAAAAnAAYAAwABAAMAAAAmAAYAAwABAAMAAAAmAAcAAwABAAMAAAAnAAcAAwABAAMAAAAoAAcAAwABAAMAAAApAAcAAwABAAMAAAAqAAcAAwABAAMAAAAqAAYAAwABAAMAAAArAAYAAwABAAMAAAArAAcAAwABAAMAAAAsAAcAAwABAAMAAAAsAAYAAwABAAMAAAAsAAUAAwABAAMAAAAtAAYAAwABAAMAAAAtAAcAAwABAAMAAAAtAAUAAwABAAMAAAAtAAMAAwABAAMAAAAtAAIAAwABAAMAAAAsAAIAAwABAAMAAAAsAAEAAwABAAMAAAArAAEAAwABAAMAAAArAAAAAwABAAMAAAAqAAAAAwABAAMAAAArAP//AwABAAMAAAAtAPz/AwABAAMAAAAtAP3/AwABAAMAAAAsAP3/AwABAAMAAAAsAP7/AwABAAMAAAAsAP//AwABAAMAAAAsAAAAAwABAAMAAAAtAAEAAwABAAMAAAAtAAAAAwABAAMAAAAtAP//AwABAAMAAAAtAP7/AwABAAMAAAA=") +tile_set = ExtResource("2_68wnv") +script = ExtResource("4_vc41k") +level = 1 + +[node name="Level2" type="TileMapLayer" parent="."] +y_sort_enabled = true +tile_map_data = PackedByteArray("AAAhAP7/AwAFAAEAAAAiAP7/AwAFAAEAAAAiAP3/AwAFAAEAAAAiAPz/AwAFAAEAAAAhAP3/AwAFAAEAAAAhAPz/AwAFAAEAAAAhAP//AwAFAAEAAAAiAP//AwAFAAEAAAAjAP//AwAFAAEAAAA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AAEAAAAiAPz/AwAHAAEAAAAiAPv/AwAHAAEAAAAfAPz/AwAHAAEAAAAfAPv/AwAHAAEAAAAgAPv/AwAHAAEAAAAgAPz/AwAHAAEAAAA=") +[node name="WaterLevel2" type="TileMapLayer" parent="."] +visible = false +y_sort_enabled = true +tile_map_data = PackedByteArray("AAAjAAUAAwABAAMAAAAjAAYAAwABAAMAAAAjAAcAAwABAAMAAAAjAAgAAwABAAMAAAAjAAkAAwABAAMAAAAkAAUAAwABAAMAAAAkAAYAAwABAAMAAAAkAAcAAwABAAMAAAAkAAgAAwABAAMAAAAkAAkAAwABAAMAAAAlAAUAAwABAAMAAAAlAAYAAwABAAMAAAAlAAcAAwABAAMAAAAlAAgAAwABAAMAAAAlAAkAAwABAAMAAAAmAAUAAwABAAMAAAAmAAYAAwABAAMAAAAmAAcAAwABAAMAAAAmAAgAAwABAAMAAAAmAAkAAwABAAMAAAAnAAUAAwABAAMAAAAnAAYAAwABAAMAAAAnAAcAAwABAAMAAAAnAAgAAwABAAMAAAAoAAUAAwABAAMAAAAoAAYAAwABAAMAAAAoAAcAAwABAAMAAAAoAAgAAwABAAMAAAAoAAkAAwABAAMAAAApAAUAAwABAAMAAAApAAYAAwABAAMAAAApAAcAAwABAAMAAAApAAgAAwABAAMAAAApAAkAAwABAAMAAAAqAAUAAwABAAMAAAAqAAYAAwABAAMAAAAqAAcAAwABAAMAAAAqAAgAAwABAAMAAAAqAAkAAwABAAMAAAArAAUAAwABAAMAAAArAAYAAwABAAMAAAArAAcAAwABAAMAAAArAAgAAwABAAMAAAArAAkAAwABAAMAAAAsAP3/AwABAAMAAAAsAP7/AwABAAMAAAAsAP//AwABAAMAAAAsAAAAAwABAAMAAAAsAAEAAwABAAMAAAAsAAIAAwABAAMAAAAsAAMAAwABAAMAAAAsAAQAAwABAAMAAAAsAAUAAwABAAMAAAAsAAYAAwABAAMAAAAsAAcAAwABAAMAAAAsAAgAAwABAAMAAAAsAAkAAwABAAMAAAAtAP3/AwABAAMA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AAwABAAMAAAAlAAMAAwABAAMAAAAmAAMAAwABAAMAAAAnAAMAAwABAAMAAAAoAAMAAwABAAMAAAAnAAQAAwABAAMAAAAoAAQAAwABAAMAAAAmAAQAAwABAAMAAAAlAAQAAwABAAMAAAAoAAEAAwABAAMAAAAoAAIAAwABAAMAAAApAAIAAwABAAMAAAApAAMAAwABAAMAAAApAAQAAwABAAMAAAAqAAQAAwABAAMAAAAqAAMAAwABAAMAAAAqAAIAAwABAAMAAAArAAIAAwABAAMAAAArAAMAAwABAAMAAAArAAQAAwABAAMAAAApAAEAAwABAAMAAAApAAAAAwABAAMAAAApAP//AwABAAMAAAAqAP//AwABAAMAAAAqAP7/AwABAAMAAAArAP7/AwABAAMAAAArAP3/AwABAAMAAAAqAP3/AwABAAMAAAApAPv/AwABAAMAAAApAPz/AwABAAMAAAAqAPz/AwABAAMAAAArAPz/AwABAAMAAAArAPv/AwABAAMAAAAqAPv/AwABAAMAAAArAP//AwABAAMAAAArAAAAAwABAAMAAAArAAEAAwABAAMAAAAqAAEAAwABAAMAAAAqAAAAAwABAAMAAAA=") +tile_set = ExtResource("2_68wnv") +script = ExtResource("4_vc41k") +level = 2 + +[node name="Level3" type="TileMapLayer" parent="."] +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="A" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAAfAPz/AwAJAAEAAAAgAPz/AwAJAAEAAAAgAPv/AwAJAAEAAAAgAPr/AwAJAAEAAAAeAPr/AwAJAAEAAAAeAPv/AwAJAAEAAAAfAPr/AwAJAAEAAAAeAPz/AwAJAAEAAAAfAPv/AwAJAAEAAAA=") +[node name="WaterLevel3" type="TileMapLayer" parent="."] +visible = false +y_sort_enabled = true +tile_map_data = PackedByteArray("AAAjAAUAAwABAAMAAAAjAAYAAwABAAMAAAAjAAcAAwABAAMAAAAjAAgAAwABAAMAAAAkAAUAAwABAAMAAAAkAAYAAwABAAMAAAAkAAcAAwABAAMAAAAkAAgAAwABAAMAAAAlAAUAAwABAAMAAAAlAAYAAwABAAMAAAAlAAcAAwABAAMAAAAlAAgAAwABAAMAAAAmAAUAAwABAAMAAAAmAAYAAwABAAMAAAAmAAcAAwABAAMAAAAmAAgAAwABAAMAAAAnAAUAAwABAAMAAAAnAAYAAwABAAMAAAAnAAcAAwABAAMAAAAnAAgAAwABAAMAAAAoAAUAAwABAAMAAAAoAAYAAwABAAMAAAAoAAcAAwABAAMAAAAoAAgAAwABAAMAAAApAAUAAwABAAMAAAApAAYAAwABAAMAAAApAAcAAwABAAMAAAApAAgAAwABAAMAAAAqAAUAAwABAAMAAAAqAAYAAwABAAMAAAAqAAcAAwABAAMAAAAqAAgAAwABAAMAAAArAP3/AwABAAMAAAArAP7/AwABAAMAAAArAP//AwABAAMAAAArA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AwABAAMAAAApAAQAAwABAAMAAAAoAAIAAwABAAMAAAAoAAEAAwABAAMAAAAnAAEAAwABAAMAAAAnAAAAAwABAAMAAAAnAP//AwABAAMAAAAoAP//AwABAAMAAAAnAP7/AwABAAMAAAAoAP7/AwABAAMAAAAoAAAAAwABAAMAAAApAAEAAwABAAMAAAAqAP//AwABAAMAAAAqAAQAAwABAAMAAAA=") +tile_set = ExtResource("2_68wnv") +script = ExtResource("4_vc41k") +level = 3 + +[node name="Level4" type="TileMapLayer" parent="."] +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="TopLevel" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAAdAPn/AwALAAEAAAAdAPr/AwALAAEAAAAeAPr/AwALAAEAAAAeAPn/AwALAAEAAAA=") +[node name="WaterLevel4" type="TileMapLayer" parent="."] +visible = false +y_sort_enabled = true +tile_map_data = PackedByteArray("AAAjAAIAAwABAAMAAAAjAAMAAwABAAMAAAAjAAQAAwABAAMAAAAjAAUAAwABAAMAAAAjAAYAAwABAAMAAAAjAAcAAwABAAMAAAAkAAIAAwABAAMAAAAkAAMAAwABAAMAAAAkAAQAAwABAAMAAAAkAAUAAwABAAMAAAAkAAYAAwABAAMAAAAkAAcAAwABAAMAAAAlAAIAAwABAAMAAAAlAAMAAwABAAMAAAAlAAQAAwABAAMAAAAlAAUAAwABAAMAAAAlAAYAAwABAAMAAAAlAAcAAwABAAMAAAAmAAIAAwABAAMAAAAmAAMAAwABAAMAAAAmAAQAAwABAAMAAAAmAAUAAwABAAMAAAAmAAYAAwABAAMAAA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lAPn/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=") tile_set = ExtResource("2_68wnv") +script = ExtResource("4_vc41k") +level = 4 + +[node name="Level5" type="TileMapLayer" parent="."] +y_sort_enabled = true +tile_map_data = PackedByteArray("AAAeAPj/AwALAAEAAAAeAPn/AwALAAEAAAAfAPj/AwALAAEAAAA=") +tile_set = ExtResource("2_68wnv") + +[node name="WaterLevel5" type="TileMapLayer" parent="."] +visible = false +y_sort_enabled = true +tile_map_data = PackedByteArray("AAAjAAIAAwABAAMAAAAjAAMAAwABAAMAAAAjAAQAAwABA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wABAAMAAAAhAPn/AwABAAMAAAAjAPn/AwABAAMAAAAfAAYAAwABAAMAAAAeAAYAAwABAAMAAAAfAPn/AwABAAMAAAAfAPr/AwABAAMAAAAfAPv/AwABAAMAAAAeAPr/AwABAAMAAAAgAPj/AwABAAMAAAAgAPn/AwABAAMAAAAgAPr/AwABAAMAAAA=") +tile_set = ExtResource("2_68wnv") +script = ExtResource("4_vc41k") +level = 5 [node name="TileMap" type="TileMap" parent="."] visible = false @@ -68,13 +115,13 @@ rotation = 0.750492 shape = SubResource("RectangleShape2D_57goo") [node name="CanvasLayer" type="CanvasLayer" parent="."] +visible = false [node name="UI" parent="CanvasLayer" instance=ExtResource("1_ve2mn")] anchors_preset = 15 anchor_bottom = 1.0 offset_bottom = 0.0 grow_vertical = 2 -theme = ExtResource("1_xbn5h") [node name="InfoWindow" parent="CanvasLayer" instance=ExtResource("7_f4xfy")] pivot_offset = Vector2(114, 128) diff --git a/TIleSet.tres b/TIleSet.tres index 69e2264..66eacda 100644 --- a/TIleSet.tres +++ b/TIleSet.tres @@ -32,17 +32,29 @@ texture = ExtResource("3_rchy6") [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_5o051"] texture = ExtResource("4_p6xw0") 1:1/0 = 0 +1:1/0/texture_origin = Vector2i(0, 4) 1:3/0 = 0 +1:3/0/texture_origin = Vector2i(0, 4) 3:3/0 = 0 +3:3/0/texture_origin = Vector2i(0, 4) 3:1/0 = 0 +3:1/0/texture_origin = Vector2i(0, 4) 5:1/0 = 0 +5:1/0/texture_origin = Vector2i(0, 4) 5:3/0 = 0 +5:3/0/texture_origin = Vector2i(0, 4) 11:3/0 = 0 +11:3/0/texture_origin = Vector2i(0, 4) 11:1/0 = 0 +11:1/0/texture_origin = Vector2i(0, 4) 9:1/0 = 0 +9:1/0/texture_origin = Vector2i(0, 4) 7:1/0 = 0 +7:1/0/texture_origin = Vector2i(0, 4) 7:3/0 = 0 +7:3/0/texture_origin = Vector2i(0, 4) 9:3/0 = 0 +9:3/0/texture_origin = Vector2i(0, 4) [resource] tile_shape = 1 diff --git a/parts/globals.txt b/parts/globals.txt index aeeeeef..1108356 100644 --- a/parts/globals.txt +++ b/parts/globals.txt @@ -1,4 +1,4 @@ -time_to_flood_change: 5 +time_to_flood_change: 3 flood_levels[] 0 1 diff --git a/water_level.gd b/water_level.gd new file mode 100644 index 0000000..a4bdcb6 --- /dev/null +++ b/water_level.gd @@ -0,0 +1,38 @@ +extends TileMapLayer + +var movement_tween +var last_level = 0 + +@export var level: int + +func _ready() -> void: + Triggerer.listen("flood_level", _on_flood_level) + + +func _on_flood_level(data): + var value = int(data.value) + var oldvalue = last_level + + if value < level: + 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.tween_callback(func(): + visible = false + ) + else: + if movement_tween: + movement_tween.kill() + + movement_tween = create_tween() + movement_tween.tween_interval((level - oldvalue) * 0.5) + movement_tween.tween_callback(func(): + position.y = 8 + visible = true + ) + movement_tween.tween_property(self, "position:y", 0, 0.5) + + last_level = value