From 88c082ac2a1a7f2466da6cedb97bae2837f802e6 Mon Sep 17 00:00:00 2001 From: Ategon Date: Sun, 15 Sep 2024 07:03:24 -0400 Subject: [PATCH] Fix looping --- Main.tscn | 2 ++ heavy version.wav.import | 2 +- parts/globals.txt | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Main.tscn b/Main.tscn index 1d3cba9..008eb3e 100644 --- a/Main.tscn +++ b/Main.tscn @@ -444,6 +444,7 @@ tile_set = ExtResource("2_68wnv") script = ExtResource("9_8qp2o") [node name="WaterLevel5" type="TileMapLayer" parent="Node2D/Level5"] +visible = false y_sort_enabled = true tile_map_data = PackedByteArray("AAAjAAIAAwABAAMAAAAjAAMAAwABAAMAAAAjAAQAAwABAAMAAAAjAAUAAwABAAMAAAAjAAYAAwABAAMAAAAkAAIAAwABAAMAAAAkAAMAAwABAAMAAAAkAAQAAwABAAMAAAAkAAUAAwABAAMAAAAkAAYAAwABAAMAAAAlAAIAAwABAAMAAAAlAAMAAwABAAMAAAAlAAQAAwABAAMAAAAlAAUAAwABAAMAAAAlAAYAAwABAAMAAAAmAAIAAwABAAMAAAAmAAMAAwABAAMAAAAmAAQAAwABAAMAAAAmAAUAAwABAAMAAAAmAAYAAwABAAMAAAAnAAIAAwABAAMAAAAnAAMAAwABAAMAAAAnAAQAAwABAAMAAAAnAAUAAwABAAMAAAAnAAYAAwABAAMAAAAoAP3/AwABAAMAAAAoAP7/AwABAAMAAAAoAP//AwABAAMAAAAoAAAAAwABAAMAAAAoAAEAAwABAAMAAAAoAAIAAwABAAMAAAAoAAMAAwABAAMAAAAoAAQAAwABAAMAAAAoAAUAAwABAAMAAAAoAAYAAwABAAMAAAApAP3/AwABAAMAAAApAP7/AwABAAMAAAApAP//AwABAAMAAAApAAAAAwABAAMAAAApAAEAAwABAAMAAAApAAIAAwABAAMAAAApAAMAAwABAAMAAAApAAQAAwABAAMAAAApAAUAAwABAAMAAAApAAYAAwABAAMAAAAqAP3/AwABAAMAAAAqAP7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AAAeAAMAAwABAAMAAAAeAAIAAwABAAMAAAAeAAEAAwABAAMAAAAeAAAAAwABAAMAAAAeAP//AwABAAMAAAAeAP7/AwABAAMAAAAeAP3/AwABAAMAAAAeAPz/AwABAAMAAAAfAPz/AwABAAMAAAAeAPv/AwABAAMAAAAhAPj/AwABAAMAAAAiAPj/AwABAAMAAAAjAPj/AwABAAMAAAAkAPj/AwABAAMAAAAlAPj/AwABAAMAAAAoAPj/AwABAAMAAAAnAPj/AwABAAMAAAAmAPj/AwABAAMAAAAsAPj/AwABAAMAAAArAPj/AwABAAMAAAAqAPj/AwABAAMAAAApAPj/AwABAAMAAAAgAPv/AwABAAMAAAAhAPr/AwABAAMAAAAiAPr/AwABAAMAAAAiAPn/AwABAAMAAAAhAPn/AwABAAMAAAAjAPn/AwABAAMAAAAfAAYAAwABAAMAAAAeAAYAAwABAAMAAAAfAPr/AwABAAMAAAAfAPv/AwABAAMAAAAeAPr/AwABAAMAAAAgAPj/AwABAAMAAAAgAPn/AwABAAMAAAAgAPr/AwABAAMAAAA=") tile_set = ExtResource("2_68wnv") @@ -1023,4 +1024,5 @@ texture = ExtResource("7_bnuu0") [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] stream = SubResource("AudioStreamRandomizer_f4v2y") +volume_db = -10.0 autoplay = true diff --git a/heavy version.wav.import b/heavy version.wav.import index a19b641..f933023 100644 --- a/heavy version.wav.import +++ b/heavy version.wav.import @@ -18,7 +18,7 @@ force/max_rate=false force/max_rate_hz=44100 edit/trim=false edit/normalize=false -edit/loop_mode=0 +edit/loop_mode=2 edit/loop_begin=0 edit/loop_end=-1 compress/mode=0 diff --git a/parts/globals.txt b/parts/globals.txt index 260e736..3add872 100644 --- a/parts/globals.txt +++ b/parts/globals.txt @@ -1,4 +1,4 @@ -time_to_flood_change: 2 +time_to_flood_change: 25 flood_levels[] 0 1