diff options
Diffstat (limited to 'client/menu/rating/rating.tscn')
| -rw-r--r-- | client/menu/rating/rating.tscn | 168 |
1 files changed, 0 insertions, 168 deletions
diff --git a/client/menu/rating/rating.tscn b/client/menu/rating/rating.tscn deleted file mode 100644 index 82ca7697..00000000 --- a/client/menu/rating/rating.tscn +++ /dev/null @@ -1,168 +0,0 @@ -[gd_scene load_steps=12 format=3 uid="uid://buu3cdpigs8qq"] - -[ext_resource type="Texture2D" uid="uid://b10goh4dsa3b0" path="res://player/particles/satisfied/star.webp" id="1_7qv7r"] -[ext_resource type="Shader" uid="uid://cekkkqsvd7rvw" path="res://menu/rating/desaturate.gdshader" id="1_pddsm"] -[ext_resource type="Theme" uid="uid://b0qmvo504e457" path="res://menu/theme/theme/theme.tres" id="1_uwajf"] -[ext_resource type="Script" uid="uid://5tmklxkaa6e0" path="res://menu/rating/rating.gd" id="2_cq0se"] -[ext_resource type="Material" uid="uid://beea1pc5nt67r" path="res://menu/theme/materials/dark_blur_material.tres" id="4_hdurb"] -[ext_resource type="AudioStream" uid="uid://camy77x26mmpv" path="res://menu/sounds/success.ogg" id="5_tutpj"] - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_oi7xd"] -shader = ExtResource("1_pddsm") -shader_parameter/t = 0.0 - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_ney6s"] -shader = ExtResource("1_pddsm") -shader_parameter/t = 0.0 - -[sub_resource type="ShaderMaterial" id="ShaderMaterial_27tx1"] -shader = ExtResource("1_pddsm") -shader_parameter/t = 0.0 - -[sub_resource type="Curve" id="Curve_dqga7"] -_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.0954774, 1), 0.262418, 0.0, 0, 0] -point_count = 2 - -[sub_resource type="Gradient" id="Gradient_majwe"] -offsets = PackedFloat32Array(0, 0.0584795, 1) -colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0) - -[node name="Rating" type="Control"] -layout_mode = 3 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 -theme = ExtResource("1_uwajf") -script = ExtResource("2_cq0se") -support_anim = false - -[node name="MarginContainer" type="MarginContainer" parent="."] -layout_mode = 1 -anchors_preset = 15 -anchor_right = 1.0 -anchor_bottom = 1.0 -grow_horizontal = 2 -grow_vertical = 2 -theme_override_constants/margin_left = 128 -theme_override_constants/margin_top = 64 -theme_override_constants/margin_right = 128 -theme_override_constants/margin_bottom = 64 - -[node name="PanelContainer" type="PanelContainer" parent="MarginContainer"] -material = ExtResource("4_hdurb") -layout_mode = 2 - -[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/PanelContainer"] -layout_mode = 2 -theme_override_constants/separation = 64 -alignment = 1 - -[node name="Text" type="VBoxContainer" parent="MarginContainer/PanelContainer/VBoxContainer"] -layout_mode = 2 - -[node name="Title" type="Label" parent="MarginContainer/PanelContainer/VBoxContainer/Text"] -layout_mode = 2 -theme_override_font_sizes/font_size = 48 -text = "Title here" -horizontal_alignment = 1 - -[node name="Subtitle" type="Label" parent="MarginContainer/PanelContainer/VBoxContainer/Text"] -layout_mode = 2 -theme_override_font_sizes/font_size = 24 -text = "Subtitle here" -horizontal_alignment = 1 - -[node name="Stars" type="HBoxContainer" parent="MarginContainer/PanelContainer/VBoxContainer"] -layout_mode = 2 -alignment = 1 - -[node name="Star1" type="TextureRect" parent="MarginContainer/PanelContainer/VBoxContainer/Stars"] -material = SubResource("ShaderMaterial_oi7xd") -custom_minimum_size = Vector2(128, 128) -layout_mode = 2 -texture = ExtResource("1_7qv7r") -expand_mode = 1 -stretch_mode = 5 - -[node name="Sound" type="AudioStreamPlayer" parent="MarginContainer/PanelContainer/VBoxContainer/Stars/Star1"] -stream = ExtResource("5_tutpj") -pitch_scale = 1.5 - -[node name="Star2" type="TextureRect" parent="MarginContainer/PanelContainer/VBoxContainer/Stars"] -material = SubResource("ShaderMaterial_ney6s") -custom_minimum_size = Vector2(128, 128) -layout_mode = 2 -texture = ExtResource("1_7qv7r") -expand_mode = 1 -stretch_mode = 5 - -[node name="Sound" type="AudioStreamPlayer" parent="MarginContainer/PanelContainer/VBoxContainer/Stars/Star2"] -stream = ExtResource("5_tutpj") -pitch_scale = 1.65 - -[node name="Star3" type="TextureRect" parent="MarginContainer/PanelContainer/VBoxContainer/Stars"] -material = SubResource("ShaderMaterial_27tx1") -custom_minimum_size = Vector2(128, 128) -layout_mode = 2 -texture = ExtResource("1_7qv7r") -expand_mode = 1 -stretch_mode = 5 - -[node name="Sound" type="AudioStreamPlayer" parent="MarginContainer/PanelContainer/VBoxContainer/Stars/Star3"] -stream = ExtResource("5_tutpj") -pitch_scale = 1.9 - -[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/PanelContainer/VBoxContainer"] -layout_mode = 2 -theme_override_constants/separation = 64 -alignment = 1 - -[node name="Scoreboard" type="Button" parent="MarginContainer/PanelContainer/VBoxContainer/HBoxContainer"] -layout_mode = 2 -text = "c.menu.scoreboard.button" - -[node name="Close" type="Button" parent="MarginContainer/PanelContainer/VBoxContainer/HBoxContainer"] -layout_mode = 2 -text = "c.menu.accept" - -[node name="StarTimer" type="Timer" parent="."] -wait_time = 0.5 -one_shot = true - -[node name="ButtonTimer" type="Timer" parent="."] -one_shot = true -autostart = true - -[node name="Control" type="Control" parent="."] -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="Particles" type="CPUParticles2D" parent="Control"] -emitting = false -amount = 32 -texture = ExtResource("1_7qv7r") -emission_shape = 3 -emission_rect_extents = Vector2(512, 256) -direction = Vector2(0, -1) -initial_velocity_min = 256.0 -initial_velocity_max = 256.0 -angular_velocity_min = -30.0 -angular_velocity_max = 30.0 -angle_min = -20.0 -angle_max = 20.0 -scale_amount_min = 0.1 -scale_amount_max = 0.2 -scale_amount_curve = SubResource("Curve_dqga7") -color_ramp = SubResource("Gradient_majwe") - -[connection signal="pressed" from="MarginContainer/PanelContainer/VBoxContainer/HBoxContainer/Scoreboard" to="." method="_on_scoreboard_pressed"] -[connection signal="pressed" from="MarginContainer/PanelContainer/VBoxContainer/HBoxContainer/Close" to="." method="_on_close_pressed"] -[connection signal="timeout" from="ButtonTimer" to="." method="_on_button_timer_timeout"] |