104 lines
3.4 KiB
Plaintext
104 lines
3.4 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://cpkwyypyikpfc"]
|
|
|
|
[ext_resource type="Script" path="res://sources/utils/sprite_control.gd" id="1_1b85n"]
|
|
[ext_resource type="Script" 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" path="res://sources/utils/percent_margin_container.gd" id="3_vllju"]
|
|
[ext_resource type="PackedScene" uid="uid://c6klih3h3ws6f" path="res://sources/utils/auto_size_label.tscn" id="4_26xiq"]
|
|
[ext_resource type="SpriteFrames" uid="uid://dquynn3nx52o" path="res://sources/minigames/jellyfish/red_jellyfish_animations.tres" id="5_74hi7"]
|
|
[ext_resource type="PackedScene" uid="uid://dlmbxcgiv8tpr" path="res://sources/utils/fx/wrong.tscn" id="6_w1tlu"]
|
|
|
|
[node name="Jellyfish" type="MarginContainer"]
|
|
custom_minimum_size = Vector2(400, 400)
|
|
offset_right = 400.0
|
|
offset_bottom = 400.0
|
|
scale = Vector2(1.1298, 1.1298)
|
|
script = ExtResource("1_06uwq")
|
|
|
|
[node name="BackFX" type="Control" parent="."]
|
|
custom_minimum_size = Vector2(0, 220)
|
|
layout_mode = 2
|
|
size_flags_vertical = 0
|
|
mouse_filter = 1
|
|
|
|
[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="SpriteControl" type="Control" parent="." node_paths=PackedStringArray("sprites")]
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
script = ExtResource("1_1b85n")
|
|
sprites = [NodePath("AnimatedSprite2D")]
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="SpriteControl"]
|
|
unique_name_in_owner = true
|
|
position = Vector2(200.8, 109.84)
|
|
scale = Vector2(1e-05, 1e-05)
|
|
sprite_frames = ExtResource("5_74hi7")
|
|
animation = &"idle"
|
|
centered = false
|
|
offset = Vector2(-93.3722, -51.0754)
|
|
|
|
[node name="PercentMarginContainer" type="Container" parent="."]
|
|
layout_mode = 2
|
|
script = ExtResource("3_vllju")
|
|
margin_left_ratio = 0.2
|
|
margin_top_ratio = 0.1
|
|
margin_right_ratio = 0.2
|
|
margin_bottom_ratio = 0.6
|
|
|
|
[node name="AspectRatioContainer" type="AspectRatioContainer" parent="PercentMarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="AutoSizeLabel" parent="PercentMarginContainer/AspectRatioContainer" instance=ExtResource("4_26xiq")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="Label" parent="PercentMarginContainer/AspectRatioContainer/AutoSizeLabel" index="0"]
|
|
text = ""
|
|
|
|
[node name="FrontFX" type="Control" parent="."]
|
|
custom_minimum_size = Vector2(0, 220)
|
|
layout_mode = 2
|
|
size_flags_vertical = 0
|
|
mouse_filter = 1
|
|
|
|
[node name="WrongFX" parent="FrontFX" 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
|
|
|
|
[connection signal="gui_input" from="." to="." method="_on_gui_input"]
|
|
|
|
[editable path="PercentMarginContainer/AspectRatioContainer/AutoSizeLabel"]
|