[gd_scene format=3 uid="uid://m87tvwartvc6"] [ext_resource type="PackedScene" uid="uid://ct16vr66fn58d" path="res://shark.tscn" id="1_a68s1"] [ext_resource type="PackedScene" uid="uid://drmwx05dw5d3c" path="res://boat.tscn" id="2_4l5f2"] [sub_resource type="Gradient" id="Gradient_a68s1"] colors = PackedColorArray(0.06666667, 0.06666667, 0.07058824, 1, 0.07058824, 0.6666667, 0.7764706, 1) [sub_resource type="GradientTexture2D" id="GradientTexture2D_4l5f2"] gradient = SubResource("Gradient_a68s1") width = 3840 height = 2160 fill_from = Vector2(1, 1) [sub_resource type="Gradient" id="Gradient_jmyjl"] colors = PackedColorArray(0.3529412, 0.29803923, 0.4392157, 1, 0.897154, 0.4827388, 0.4083181, 1) [sub_resource type="GradientTexture2D" id="GradientTexture2D_1hbw6"] gradient = SubResource("Gradient_jmyjl") width = 3840 height = 1080 fill_to = Vector2(0, 1) [sub_resource type="Gradient" id="Gradient_4l5f2"] interpolation_mode = 2 colors = PackedColorArray(0, 0, 0, 0, 0.6392157, 0.8117647, 0.87058824, 0.06666667) [sub_resource type="FastNoiseLite" id="FastNoiseLite_8hhxv"] noise_type = 2 frequency = 0.005 fractal_octaves = 1 [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_jmyjl"] width = 3840 height = 2160 noise = SubResource("FastNoiseLite_8hhxv") color_ramp = SubResource("Gradient_4l5f2") seamless = true [sub_resource type="Gradient" id="Gradient_8hhxv"] offsets = PackedFloat32Array(0.64718616, 0.95887446) colors = PackedColorArray(0, 0, 0, 0, 0.5137255, 0.74509805, 0.72156864, 0.07058824) [sub_resource type="FastNoiseLite" id="FastNoiseLite_jmyjl"] [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_a68s1"] width = 2160 height = 2160 noise = SubResource("FastNoiseLite_jmyjl") color_ramp = SubResource("Gradient_8hhxv") seamless = true [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_4l5f2"] [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_a68s1"] [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_8hhxv"] [sub_resource type="WorldBoundaryShape2D" id="WorldBoundaryShape2D_jmyjl"] [node name="Main2D" type="Node2D" unique_id=1396228864] [node name="BackgroundLayer" type="Parallax2D" parent="." unique_id=1376556356] scroll_offset = Vector2(0, 1080) repeat_size = Vector2(3840, 0) repeat_times = 10 [node name="OceanBackground" type="Sprite2D" parent="BackgroundLayer" unique_id=2137941191] texture = SubResource("GradientTexture2D_4l5f2") [node name="SkyBackground" type="Sprite2D" parent="BackgroundLayer" unique_id=1592430551] position = Vector2(0, -1620) texture = SubResource("GradientTexture2D_1hbw6") [node name="MidgroundLayer" type="Parallax2D" parent="." unique_id=2049755198] scroll_offset = Vector2(0, 1080) repeat_size = Vector2(3840, 0) autoscroll = Vector2(-100, 0) repeat_times = 10 [node name="Sprite2D" type="Sprite2D" parent="MidgroundLayer" unique_id=1680715438] texture = SubResource("NoiseTexture2D_jmyjl") [node name="ForegroundLayer" type="Parallax2D" parent="." unique_id=603516260] z_index = 100 scroll_scale = Vector2(2, 1) scroll_offset = Vector2(0, 1080) repeat_size = Vector2(2160, 0) autoscroll = Vector2(-200, 0) repeat_times = 10 [node name="Sprite2D" type="Sprite2D" parent="ForegroundLayer" unique_id=904849640] texture = SubResource("NoiseTexture2D_a68s1") [node name="Shark" parent="." unique_id=868425079 instance=ExtResource("1_a68s1")] position = Vector2(0, 1080) [node name="WaterLevel" type="StaticBody2D" parent="." unique_id=1297570319] collision_layer = 4 collision_mask = 8 [node name="CollisionShape2D" type="CollisionShape2D" parent="WaterLevel" unique_id=1033306709] shape = SubResource("WorldBoundaryShape2D_4l5f2") [node name="Boat" parent="." unique_id=441622829 instance=ExtResource("2_4l5f2")] position = Vector2(0, -109) movement_speed = 1000.0 [node name="Boundaries" type="Node" parent="." unique_id=406655667] [node name="Bottom" type="StaticBody2D" parent="Boundaries" unique_id=1567577642] position = Vector2(0, 2160) [node name="CollisionShape2D" type="CollisionShape2D" parent="Boundaries/Bottom" unique_id=2143383673] shape = SubResource("WorldBoundaryShape2D_a68s1") [node name="Left" type="StaticBody2D" parent="Boundaries" unique_id=1447638927] position = Vector2(-21000, 0) collision_layer = 2 collision_mask = 9 [node name="CollisionShape2D" type="CollisionShape2D" parent="Boundaries/Left" unique_id=563328830] rotation = 1.5707964 shape = SubResource("WorldBoundaryShape2D_8hhxv") [node name="Right" type="StaticBody2D" parent="Boundaries" unique_id=1086854750] position = Vector2(21000, 0) collision_layer = 2 collision_mask = 9 [node name="CollisionShape2D" type="CollisionShape2D" parent="Boundaries/Right" unique_id=978843810] rotation = -1.5707964 shape = SubResource("WorldBoundaryShape2D_jmyjl")