Files
Kalulu/sources/minigames/jellyfish/jellyfish.tscn
T

156 lines
5.7 KiB
Plaintext

[gd_scene load_steps=14 format=3 uid="uid://cpkwyypyikpfc"]
[ext_resource type="Script" uid="uid://bk5oyj8r6aw2h" path="res://sources/utils/sprite_control.gd" id="1_1b85n"]
[ext_resource type="Script" uid="uid://b1lfi4hen3e7" path="res://sources/minigames/jellyfish/jellyfish.gd" id="1_06uwq"]
[ext_resource type="PackedScene" uid="uid://cn2rw06pltyiu" path="res://sources/utils/fx/right.tscn" id="2_edt4e"]
[ext_resource type="PackedScene" uid="uid://cge0uyn30tcpv" path="res://sources/utils/fx/highlight.tscn" id="3_5uhvd"]
[ext_resource type="Script" uid="uid://d5qkkg88431w" path="res://sources/utils/percent_margin_container.gd" id="3_vllju"]
[ext_resource type="PackedScene" uid="uid://bgio7muqck2bu" path="res://sources/utils/auto_size_label.tscn" id="4_26xiq"]
[ext_resource type="Texture2D" uid="uid://c34sgkbvr3h8q" path="res://assets/minigames/minigame_ui/graphic/primary_text_box.png" id="6_ah5ir"]
[ext_resource type="SpriteFrames" uid="uid://033w5t1wyg3w" path="res://sources/minigames/jellyfish/blue_jellyfish_animations_arms.tres" id="6_i86t4"]
[ext_resource type="SpriteFrames" uid="uid://cyllu3lpjcxej" path="res://sources/minigames/jellyfish/blue_jellyfish_animations_body.tres" id="6_p6hdi"]
[ext_resource type="PackedScene" uid="uid://dlmbxcgiv8tpr" path="res://sources/utils/fx/wrong.tscn" id="6_w1tlu"]
[ext_resource type="LabelSettings" uid="uid://bguqnhiblwick" path="res://resources/themes/minigames_label_settings.tres" id="9_ah5ir"]
[ext_resource type="Texture2D" uid="uid://bbtr0cyiapi3g" path="res://assets/minigames/minigame_ui/graphic/primary_text_box_outline.png" id="10_jfr88"]
[ext_resource type="PackedScene" uid="uid://br6yhq4w7b420" path="res://sources/utils/fx/right_stars.tscn" id="13_jfr88"]
[node name="Jellyfish" type="Control"]
custom_minimum_size = Vector2(400, 400)
layout_mode = 3
anchors_preset = 0
offset_right = 400.0
offset_bottom = 400.0
scale = Vector2(1.0191087, 1.0191087)
script = ExtResource("1_06uwq")
[node name="BackFX" type="Control" parent="."]
custom_minimum_size = Vector2(0, 220)
anchors_preset = 0
anchor_right = 1.0
anchor_bottom = 0.55
size_flags_vertical = 0
mouse_filter = 1
metadata/_edit_use_anchors_ = true
[node name="RightFX" parent="BackFX" instance=ExtResource("2_edt4e")]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
[node name="HighlightFX" parent="BackFX" instance=ExtResource("3_5uhvd")]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="WrongFX" parent="BackFX" instance=ExtResource("6_w1tlu")]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="SpriteControl" type="Control" parent="." node_paths=PackedStringArray("sprites")]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
script = ExtResource("1_1b85n")
sprites = [NodePath("AnimatedSprite2D_Body"), NodePath("AnimatedSprite2D_Arms")]
[node name="AnimatedSprite2D_Body" type="AnimatedSprite2D" parent="SpriteControl"]
unique_name_in_owner = true
scale = Vector2(0.5, 0.5)
sprite_frames = ExtResource("6_p6hdi")
animation = &"idle"
frame_progress = 0.058146853
centered = false
offset = Vector2(-0.000205994, 0.00019455)
[node name="TextBox_Sprite2D" type="Sprite2D" parent="SpriteControl"]
unique_name_in_owner = true
position = Vector2(200, 242)
scale = Vector2(0.471, 0.471)
texture = ExtResource("6_ah5ir")
[node name="PercentMarginContainer" type="Container" parent="SpriteControl/TextBox_Sprite2D"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -297.0
offset_top = -114.5
offset_right = -297.0
offset_bottom = -114.5
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("3_vllju")
margin_left_ratio = 0.2
margin_top_ratio = 0.1
margin_right_ratio = 0.2
margin_bottom_ratio = 0.2
[node name="AspectRatioContainer" type="AspectRatioContainer" parent="SpriteControl/TextBox_Sprite2D/PercentMarginContainer"]
layout_mode = 2
[node name="AutoSizeLabel" parent="SpriteControl/TextBox_Sprite2D/PercentMarginContainer/AspectRatioContainer" instance=ExtResource("4_26xiq")]
unique_name_in_owner = true
layout_mode = 2
[node name="Label" parent="SpriteControl/TextBox_Sprite2D/PercentMarginContainer/AspectRatioContainer/AutoSizeLabel" index="0"]
theme_override_colors/font_color = Color(0, 0, 0, 1)
text = ""
label_settings = ExtResource("9_ah5ir")
[node name="TextBox_Outline_Sprite2D" type="Sprite2D" parent="SpriteControl/TextBox_Sprite2D"]
unique_name_in_owner = true
visible = false
texture = ExtResource("10_jfr88")
[node name="AnimatedSprite2D_Arms" type="AnimatedSprite2D" parent="SpriteControl"]
unique_name_in_owner = true
scale = Vector2(0.5, 0.5)
sprite_frames = ExtResource("6_i86t4")
animation = &"idle"
frame_progress = 0.058146853
centered = false
offset = Vector2(-0.000205994, 0.00019455)
[node name="FrontFX" type="Control" parent="."]
custom_minimum_size = Vector2(0, 220)
anchors_preset = 0
anchor_right = 1.0
anchor_bottom = 0.55
size_flags_vertical = 0
mouse_filter = 1
metadata/_edit_use_anchors_ = true
[node name="Right_Stars" parent="FrontFX" instance=ExtResource("13_jfr88")]
unique_name_in_owner = true
position = Vector2(200, 242)
[connection signal="gui_input" from="." to="." method="_on_gui_input"]
[editable path="SpriteControl/TextBox_Sprite2D/PercentMarginContainer/AspectRatioContainer/AutoSizeLabel"]