diff options
author | tpart <tpart120@proton.me> | 2024-08-16 23:17:03 +0200 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2024-08-16 23:17:03 +0200 |
commit | ea865588146c1b2cff68f10999be342ce35d7a32 (patch) | |
tree | 696b9b8a6bd6ba06d4688b703df1cbebff5229bf | |
parent | c08bebd1db640118e0fb6e5e214b81b4beff53df (diff) | |
download | hurrycurry-ea865588146c1b2cff68f10999be342ce35d7a32.tar hurrycurry-ea865588146c1b2cff68f10999be342ce35d7a32.tar.bz2 hurrycurry-ea865588146c1b2cff68f10999be342ce35d7a32.tar.zst |
Make stars particles in rating menu more visible
-rw-r--r-- | client/menu/rating/rating.tscn | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/client/menu/rating/rating.tscn b/client/menu/rating/rating.tscn index 30dc2cd2..b12d1470 100644 --- a/client/menu/rating/rating.tscn +++ b/client/menu/rating/rating.tscn @@ -7,14 +7,6 @@ [ext_resource type="Material" uid="uid://beea1pc5nt67r" path="res://menu/theme/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="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) - [sub_resource type="ShaderMaterial" id="ShaderMaterial_oi7xd"] shader = ExtResource("1_pddsm") shader_parameter/t = 0.0 @@ -27,6 +19,14 @@ shader_parameter/t = 0.0 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 @@ -38,34 +38,6 @@ theme = ExtResource("1_uwajf") script = ExtResource("2_cq0se") support_anim = false -[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") - [node name="MarginContainer" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 15 @@ -154,4 +126,32 @@ text = "Accept" wait_time = 0.5 one_shot = 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/Close" to="." method="_on_close_pressed"] |