[gd_scene format=3 uid="uid://fnv0qhkh40mv"] [ext_resource type="Theme" uid="uid://bgcmd213j6gk1" path="res://gui/ressources/hud.tres" id="1_0ssee"] [ext_resource type="Script" uid="uid://bvb4v66bqteuc" path="res://gui/game/announce/scripts/announce.gd" id="1_4evne"] [ext_resource type="Shader" uid="uid://cuni3ggtw2uuy" path="res://common/vfx/materials/shaders/blur.gdshader" id="2_b6hac"] [ext_resource type="Texture2D" uid="uid://bi5jo6pf0acjb" path="res://common/icons/carambola.svg" id="2_iwcrn"] [ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="3_7nrno"] [ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="4_aao0q"] [ext_resource type="Environment" uid="uid://bxyp24f85p0xf" path="res://gui/game/assets/gui_3d_environment.tres" id="4_yjj5u"] [ext_resource type="Script" uid="uid://bqisp5hjs06rj" path="res://gui/game/announce/scripts/announce_inspectable.gd" id="6_aao0q"] [ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="9_b6hac"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_f0v68"] shader = ExtResource("2_b6hac") shader_parameter/strength = 5.00000023424012 shader_parameter/mix_percentage = 0.3 [sub_resource type="ViewportTexture" id="ViewportTexture_huxc5"] viewport_path = NodePath("Particles/SubViewport") [sub_resource type="Curve" id="Curve_iwcrn"] _limits = [-200.0, 200.0, 0.0, 1.0] _data = [Vector2(0, -200), 0.0, 560.0, 0, 0, Vector2(0.08235294, 92.384125), 1336.3082, 1336.3082, 0, 0, Vector2(0.34901965, 200), 0.0, 0.0, 0, 0, Vector2(0.854902, -200), 0.0, 0.0, 0, 0] point_count = 4 [sub_resource type="Gradient" id="Gradient_oh30d"] offsets = PackedFloat32Array(0, 0.8689956, 0.98253274) colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0) [sub_resource type="LabelSettings" id="LabelSettings_6qyp1"] font = ExtResource("4_aao0q") font_size = 50 font_color = Color(1, 0.6509804, 0.09019608, 1) [sub_resource type="ViewportTexture" id="ViewportTexture_aao0q"] viewport_path = NodePath("AnnounceContainer/ObjectVisualiser/SubViewport") [sub_resource type="Animation" id="Animation_aao0q"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:visible") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("AnnounceContainer:theme_override_constants/separation") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [4] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("Particles:modulate") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Color(1, 1, 1, 1)] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("AnnounceContainer:modulate") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Color(1, 1, 1, 1)] } [sub_resource type="Animation" id="Animation_b6hac"] resource_name = "appear" length = 0.8 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:visible") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0.03333333, 0.16666669), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [false, true] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("AnnounceContainer:theme_override_constants/separation") tracks/1/interp = 2 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0.23333333, 0.8), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [480, 4] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("Particles:modulate") tracks/2/interp = 2 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0.5, 0.8), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("AnnounceContainer:modulate") tracks/3/interp = 2 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0.2, 0.8), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_6qyp1"] _data = { &"RESET": SubResource("Animation_aao0q"), &"appear": SubResource("Animation_b6hac") } [node name="Announce" type="CanvasLayer" unique_id=1659074958] process_mode = 3 script = ExtResource("1_4evne") [node name="MarginContainer" type="MarginContainer" parent="." unique_id=1463847780] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="BlurRect" type="ColorRect" parent="MarginContainer" unique_id=1271832904] material = SubResource("ShaderMaterial_f0v68") layout_mode = 2 color = Color(0.0352941, 0.0196078, 0.12549, 0.705882) [node name="Particles" type="TextureRect" parent="." unique_id=691167186] anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -500.0 offset_top = -500.0 offset_right = 500.0 offset_bottom = 500.0 grow_horizontal = 2 grow_vertical = 2 texture = SubResource("ViewportTexture_huxc5") [node name="SubViewport" type="SubViewport" parent="Particles" unique_id=1750661995] transparent_bg = true size = Vector2i(1000, 1000) [node name="GPUParticles2D" type="CPUParticles2D" parent="Particles/SubViewport" unique_id=486255573] position = Vector2(500, 500) amount = 20 texture = ExtResource("2_iwcrn") preprocess = 1.0 spread = 180.0 gravity = Vector2(0, 0) initial_velocity_min = 2.0 initial_velocity_max = 2.0 linear_accel_min = 5.0 linear_accel_max = 5.0 linear_accel_curve = SubResource("Curve_iwcrn") color_ramp = SubResource("Gradient_oh30d") [node name="AnnounceContainer" type="VBoxContainer" parent="." unique_id=2136389163] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/separation = 4 alignment = 1 [node name="AnnounceTitle" type="Label" parent="AnnounceContainer" unique_id=988493009] unique_name_in_owner = true layout_mode = 2 text = "NEW_TOOL" label_settings = ExtResource("3_7nrno") horizontal_alignment = 1 [node name="AnnounceText" type="Label" parent="AnnounceContainer" unique_id=1537255164] unique_name_in_owner = true layout_mode = 2 text = "Pelle" label_settings = SubResource("LabelSettings_6qyp1") horizontal_alignment = 1 [node name="ObjectVisualiser" type="TextureRect" parent="AnnounceContainer" unique_id=1529068201] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 mouse_filter = 0 texture = SubResource("ViewportTexture_aao0q") stretch_mode = 5 script = ExtResource("6_aao0q") [node name="SubViewport" type="SubViewport" parent="AnnounceContainer/ObjectVisualiser" unique_id=403959884] own_world_3d = true transparent_bg = true size = Vector2i(300, 300) [node name="AnnouceObject" type="Node3D" parent="AnnounceContainer/ObjectVisualiser/SubViewport" unique_id=986671004] unique_name_in_owner = true transform = Transform3D(-0.51481193, -0.6680038, 0.5372555, -0.8508927, 0.32199714, -0.4149924, 0.104188256, -0.67080045, -0.73426664, 0, 0, 0) [node name="Camera3D" type="Camera3D" parent="AnnounceContainer/ObjectVisualiser/SubViewport" unique_id=1788331074] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1) keep_aspect = 0 current = true fov = 20.0 [node name="WorldEnvironment" type="WorldEnvironment" parent="AnnounceContainer/ObjectVisualiser/SubViewport" unique_id=296795988] environment = ExtResource("4_yjj5u") [node name="OkButton" type="Button" parent="AnnounceContainer" unique_id=56162930] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 theme = ExtResource("1_0ssee") text = "OK" icon = ExtResource("9_b6hac") [node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=878057487] unique_name_in_owner = true libraries/ = SubResource("AnimationLibrary_6qyp1")