From ca68c7cf8c16cacb81dc59e62b336b73ef31af37 Mon Sep 17 00:00:00 2001 From: rassv453 Date: Thu, 24 Oct 2024 14:27:26 +0200 Subject: [PATCH] Update level_select_world_2.tscn --- scenes/menus/level_select_world_2.tscn | 452 ++++++++++++++++++++++++- 1 file changed, 450 insertions(+), 2 deletions(-) diff --git a/scenes/menus/level_select_world_2.tscn b/scenes/menus/level_select_world_2.tscn index 1563171..2f4e36d 100644 --- a/scenes/menus/level_select_world_2.tscn +++ b/scenes/menus/level_select_world_2.tscn @@ -1,8 +1,247 @@ -[gd_scene load_steps=4 format=3 uid="uid://ipb3wj586xgu"] +[gd_scene load_steps=12 format=3 uid="uid://ipb3wj586xgu"] [ext_resource type="Script" path="res://scripts/menus/level_select.gd" id="1_t04jg"] +[ext_resource type="FontFile" uid="uid://ds3381o4qrqj1" path="res://assets/tools/fonts/PixelOperator8-Bold.ttf" id="1_yh0p5"] [ext_resource type="PackedScene" uid="uid://xkbgidfk0x0m" path="res://scenes/menus/level_icon.tscn" id="2_qaot5"] [ext_resource type="PackedScene" uid="uid://beqv3mlfudjby" path="res://scenes/menus/player_icon.tscn" id="3_aofpu"] +[ext_resource type="Texture2D" uid="uid://ur0u78ntq45r" path="res://assets/testlevel/world_background_cloud_1.png" id="4_07de0"] +[ext_resource type="Texture2D" uid="uid://daq48hiq402xr" path="res://assets/testlevel/world_background_cloud_2.png" id="5_lew4y"] + +[sub_resource type="Animation" id="Animation_aw4gv"] +length = 0.001 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("clouds/cloud_1:position") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(168, 192)] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("clouds/cloud_2:position") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(496, 112)] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("clouds/cloud_3:position") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(904, 200)] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("clouds/cloud_4:position") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(256, 208)] +} +tracks/4/type = "value" +tracks/4/imported = false +tracks/4/enabled = true +tracks/4/path = NodePath("clouds/cloud_5:position") +tracks/4/interp = 1 +tracks/4/loop_wrap = true +tracks/4/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(632, 160)] +} +tracks/5/type = "value" +tracks/5/imported = false +tracks/5/enabled = true +tracks/5/path = NodePath("clouds/cloud_6:position") +tracks/5/interp = 1 +tracks/5/loop_wrap = true +tracks/5/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(1264, 120)] +} +tracks/6/type = "value" +tracks/6/imported = false +tracks/6/enabled = true +tracks/6/path = NodePath("clouds/cloud_7:position") +tracks/6/interp = 1 +tracks/6/loop_wrap = true +tracks/6/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(-184, 112)] +} +tracks/7/type = "value" +tracks/7/imported = false +tracks/7/enabled = true +tracks/7/path = NodePath("clouds/cloud_8:position") +tracks/7/interp = 1 +tracks/7/loop_wrap = true +tracks/7/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(-48, 168)] +} +tracks/8/type = "value" +tracks/8/imported = false +tracks/8/enabled = true +tracks/8/path = NodePath("clouds/cloud_9:position") +tracks/8/interp = 1 +tracks/8/loop_wrap = true +tracks/8/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(1120, 72)] +} + +[sub_resource type="Animation" id="Animation_d3vwq"] +resource_name = "cloud" +loop_mode = 1 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("clouds/cloud_1:position") +tracks/0/interp = 2 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Vector2(168, 192), Vector2(168, 183), Vector2(168, 192)] +} +tracks/1/type = "value" +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/path = NodePath("clouds/cloud_2:position") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/keys = { +"times": PackedFloat32Array(0, 0.5, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Vector2(496, 112), Vector2(496, 130), Vector2(496, 112)] +} +tracks/2/type = "value" +tracks/2/imported = false +tracks/2/enabled = true +tracks/2/path = NodePath("clouds/cloud_3:position") +tracks/2/interp = 1 +tracks/2/loop_wrap = true +tracks/2/keys = { +"times": PackedFloat32Array(0, 0.5, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Vector2(904, 200), Vector2(904, 177), Vector2(904, 200)] +} +tracks/3/type = "value" +tracks/3/imported = false +tracks/3/enabled = true +tracks/3/path = NodePath("clouds/cloud_4:position") +tracks/3/interp = 1 +tracks/3/loop_wrap = true +tracks/3/keys = { +"times": PackedFloat32Array(0, 0.5, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Vector2(256, 208), Vector2(256, 194), Vector2(256, 208)] +} +tracks/4/type = "value" +tracks/4/imported = false +tracks/4/enabled = true +tracks/4/path = NodePath("clouds/cloud_5:position") +tracks/4/interp = 1 +tracks/4/loop_wrap = true +tracks/4/keys = { +"times": PackedFloat32Array(0, 0.5, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Vector2(632, 160), Vector2(632, 172), Vector2(632, 160)] +} +tracks/5/type = "value" +tracks/5/imported = false +tracks/5/enabled = true +tracks/5/path = NodePath("clouds/cloud_6:position") +tracks/5/interp = 1 +tracks/5/loop_wrap = true +tracks/5/keys = { +"times": PackedFloat32Array(0, 0.5, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Vector2(1264, 120), Vector2(1264, 143), Vector2(1264, 120)] +} +tracks/6/type = "value" +tracks/6/imported = false +tracks/6/enabled = true +tracks/6/path = NodePath("clouds/cloud_7:position") +tracks/6/interp = 1 +tracks/6/loop_wrap = true +tracks/6/keys = { +"times": PackedFloat32Array(0, 0.5, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Vector2(-184, 112), Vector2(-184, 137), Vector2(-184, 112)] +} +tracks/7/type = "value" +tracks/7/imported = false +tracks/7/enabled = true +tracks/7/path = NodePath("clouds/cloud_8:position") +tracks/7/interp = 1 +tracks/7/loop_wrap = true +tracks/7/keys = { +"times": PackedFloat32Array(0, 0.5, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Vector2(-48, 168), Vector2(-48, 182), Vector2(-48, 168)] +} +tracks/8/type = "value" +tracks/8/imported = false +tracks/8/enabled = true +tracks/8/path = NodePath("clouds/cloud_9:position") +tracks/8/interp = 1 +tracks/8/loop_wrap = true +tracks/8/keys = { +"times": PackedFloat32Array(0, 0.5, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Vector2(1120, 72), Vector2(1120, 91), Vector2(1120, 72)] +} + +[sub_resource type="AnimationLibrary" id="AnimationLibrary_ypkah"] +_data = { +"RESET": SubResource("Animation_aw4gv"), +"cloud": SubResource("Animation_d3vwq") +} + +[sub_resource type="Gradient" id="Gradient_rovui"] +interpolation_mode = 2 +colors = PackedColorArray(0.289074, 0.383136, 0.856045, 1, 0.460825, 0.895118, 0.985488, 1) + +[sub_resource type="GradientTexture1D" id="GradientTexture1D_i4m4y"] +gradient = SubResource("Gradient_rovui") [node name="level_select" type="Control"] layout_mode = 3 @@ -10,6 +249,8 @@ anchors_preset = 0 script = ExtResource("1_t04jg") [node name="level_icon1" parent="." node_paths=PackedStringArray("next_level_right") instance=ExtResource("2_qaot5")] +visible = false +layout_mode = 1 offset_left = 128.0 offset_top = 320.0 offset_right = 192.0 @@ -17,6 +258,8 @@ offset_bottom = 384.0 next_level_right = NodePath("../level_icon2") [node name="level_icon2" parent="." node_paths=PackedStringArray("next_level_left", "next_level_right") instance=ExtResource("2_qaot5")] +visible = false +layout_mode = 1 offset_left = 320.0 offset_top = 192.0 offset_right = 384.0 @@ -26,6 +269,8 @@ next_level_left = NodePath("../level_icon1") next_level_right = NodePath("../level_icon3") [node name="level_icon3" parent="." node_paths=PackedStringArray("next_level_left", "next_level_right") instance=ExtResource("2_qaot5")] +visible = false +layout_mode = 1 offset_left = 512.0 offset_top = 320.0 offset_right = 576.0 @@ -35,6 +280,8 @@ next_level_left = NodePath("../level_icon2") next_level_right = NodePath("../level_icon4") [node name="level_icon4" parent="." node_paths=PackedStringArray("next_level_left") instance=ExtResource("2_qaot5")] +visible = false +layout_mode = 1 offset_left = 704.0 offset_top = 192.0 offset_right = 768.0 @@ -43,5 +290,206 @@ level_name = "4" next_level_left = NodePath("../level_icon3") [node name="player_icon" parent="." instance=ExtResource("3_aofpu")] +visible = false layout_mode = 0 -rotation = 0.0 +anchors_preset = 0 +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +offset_left = 0.0 +offset_top = 0.0 +offset_right = 64.0 +offset_bottom = 64.0 +grow_horizontal = 1 +grow_vertical = 1 + +[node name="clouds" type="Control" parent="."] +visible = false +layout_mode = 3 +anchors_preset = 0 +offset_left = -688.0 +offset_top = -620.0 +offset_right = -648.0 +offset_bottom = -580.0 + +[node name="animation_player" type="AnimationPlayer" parent="clouds"] +root_node = NodePath("../..") +libraries = { +"": SubResource("AnimationLibrary_ypkah") +} +speed_scale = 0.05 + +[node name="cloud_9" type="TextureRect" parent="clouds"] +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = 1100.0 +offset_top = 52.0 +offset_right = 1228.0 +offset_bottom = 116.0 +grow_horizontal = 2 +grow_vertical = 2 +scale = Vector2(2, 2) +texture = ExtResource("4_07de0") + +[node name="cloud_8" type="TextureRect" parent="clouds"] +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -68.0 +offset_top = 148.0 +offset_right = 60.0 +offset_bottom = 212.0 +grow_horizontal = 2 +grow_vertical = 2 +scale = Vector2(2, 2) +texture = ExtResource("4_07de0") + +[node name="cloud_7" type="TextureRect" parent="clouds"] +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -204.0 +offset_top = 92.0 +offset_right = -76.0 +offset_bottom = 156.0 +grow_horizontal = 2 +grow_vertical = 2 +scale = Vector2(2, 2) +texture = ExtResource("5_lew4y") + +[node name="cloud_6" type="TextureRect" parent="clouds"] +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = 1244.0 +offset_top = 100.0 +offset_right = 1372.0 +offset_bottom = 164.0 +grow_horizontal = 2 +grow_vertical = 2 +scale = Vector2(2, 2) +texture = ExtResource("5_lew4y") + +[node name="cloud_5" type="TextureRect" parent="clouds"] +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = 612.0 +offset_top = 140.0 +offset_right = 740.0 +offset_bottom = 204.0 +grow_horizontal = 2 +grow_vertical = 2 +scale = Vector2(2, 2) +texture = ExtResource("5_lew4y") + +[node name="cloud_4" type="TextureRect" parent="clouds"] +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = 236.0 +offset_top = 188.0 +offset_right = 364.0 +offset_bottom = 252.0 +grow_horizontal = 2 +grow_vertical = 2 +scale = Vector2(2, 2) +texture = ExtResource("5_lew4y") + +[node name="cloud_3" type="TextureRect" parent="clouds"] +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = 884.0 +offset_top = 180.0 +offset_right = 1012.0 +offset_bottom = 244.0 +grow_horizontal = 2 +grow_vertical = 2 +scale = Vector2(2, 2) +texture = ExtResource("4_07de0") + +[node name="cloud_2" type="TextureRect" parent="clouds"] +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = 476.0 +offset_top = 92.0 +offset_right = 604.0 +offset_bottom = 156.0 +grow_horizontal = 2 +grow_vertical = 2 +scale = Vector2(2, 2) +texture = ExtResource("4_07de0") + +[node name="cloud_1" type="TextureRect" parent="clouds"] +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = 148.0 +offset_top = 172.0 +offset_right = 276.0 +offset_bottom = 236.0 +grow_horizontal = 2 +grow_vertical = 2 +scale = Vector2(2, 2) +texture = ExtResource("4_07de0") + +[node name="CanvasLayer" type="CanvasLayer" parent="."] + +[node name="background" type="TextureRect" parent="CanvasLayer"] +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +texture = SubResource("GradientTexture1D_i4m4y") + +[node name="Label" type="Label" parent="CanvasLayer/background"] +layout_mode = 1 +anchors_preset = 8 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +offset_left = -356.0 +offset_top = -32.0 +offset_right = 356.0 +offset_bottom = 32.0 +grow_horizontal = 2 +grow_vertical = 2 +theme_override_colors/font_shadow_color = Color(0, 0, 0, 1) +theme_override_constants/shadow_offset_x = 4 +theme_override_constants/shadow_offset_y = 4 +theme_override_fonts/font = ExtResource("1_yh0p5") +theme_override_font_sizes/font_size = 64 +text = "COMING SOON?"