[gd_scene load_steps=9 format=3 uid="uid://cwck7e1tt057k"] [ext_resource type="Script" uid="uid://cqlghusry0hej" path="res://scripts/gui/RewardScene.cs" id="1_rclqa"] [ext_resource type="Texture2D" uid="uid://nc6t245565lu" path="res://assets/sprites/leafy_background.png" id="1_uwg38"] [ext_resource type="Texture2D" uid="uid://bq8n778sk4qnv" path="res://assets/sprites/gui/almanach/frame.tres" id="2_hbmdt"] [ext_resource type="Texture2D" uid="uid://ksxucobpgv7n" path="res://assets/sprites/field.png" id="3_mbhdb"] [sub_resource type="ViewportTexture" id="ViewportTexture_rclqa"] viewport_path = NodePath("PanelContainer/VBoxContainer/Frame/SubViewport") [sub_resource type="Animation" id="Animation_rclqa"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("ColorRect:color") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Color(1, 1, 0.921569, 1)] } [sub_resource type="Animation" id="Animation_mbhdb"] resource_name = "main" tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("ColorRect:color") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Color(1, 1, 0.921569, 1), Color(1, 1, 0.92, 0)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_rfkmu"] _data = { &"RESET": SubResource("Animation_rclqa"), &"main": SubResource("Animation_mbhdb") } [node name="RewardScene" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_rclqa") metadata/_edit_lock_ = true [node name="Background" type="TextureRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = ExtResource("1_uwg38") metadata/_edit_lock_ = true [node name="PanelContainer" type="PanelContainer" parent="."] layout_mode = 1 anchors_preset = -1 anchor_left = 0.285 anchor_top = 0.105 anchor_right = 0.713333 anchor_bottom = 0.895 offset_right = -3.05176e-05 grow_horizontal = 2 grow_vertical = 2 metadata/_edit_use_anchors_ = true [node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"] layout_mode = 2 [node name="Frame" type="TextureRect" parent="PanelContainer/VBoxContainer"] clip_contents = true layout_mode = 2 size_flags_horizontal = 4 texture = ExtResource("2_hbmdt") stretch_mode = 5 [node name="SubViewport" type="SubViewport" parent="PanelContainer/VBoxContainer/Frame"] unique_name_in_owner = true [node name="Field" type="Sprite2D" parent="PanelContainer/VBoxContainer/Frame/SubViewport"] unique_name_in_owner = true texture = ExtResource("3_mbhdb") [node name="Camera2D" type="Camera2D" parent="PanelContainer/VBoxContainer/Frame/SubViewport"] zoom = Vector2(0.75, 0.75) [node name="ViewportTexture" type="TextureRect" parent="PanelContainer/VBoxContainer/Frame"] show_behind_parent = true layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = SubResource("ViewportTexture_rclqa") [node name="NameLabel" type="Label" parent="PanelContainer/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 horizontal_alignment = 1 vertical_alignment = 1 [node name="DescriptionPanel" type="PanelContainer" parent="PanelContainer/VBoxContainer"] layout_mode = 2 size_flags_vertical = 3 theme_type_variation = &"description_panel_container" [node name="DescriptionLabel" type="RichTextLabel" parent="PanelContainer/VBoxContainer/DescriptionPanel"] unique_name_in_owner = true layout_mode = 2 theme_override_colors/default_color = Color(0, 0, 0, 1) bbcode_enabled = true [node name="ContinueButton" type="Button" parent="PanelContainer/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 text = "continue" [node name="ColorRect" type="ColorRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 color = Color(1, 1, 0.921569, 1) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_rfkmu") } autoplay = "main"