diff --git a/src/ui/decorations/nice_alert.tscn b/src/ui/decorations/nice_alert.tscn index e047739..4d4b216 100644 --- a/src/ui/decorations/nice_alert.tscn +++ b/src/ui/decorations/nice_alert.tscn @@ -19,8 +19,8 @@ particle_flag_disable_z = true emission_shape = 3 emission_box_extents = Vector3(0, 150, 1) spread = 0.0 -initial_velocity_min = 200.0 -initial_velocity_max = 400.0 +initial_velocity_min = 400.0 +initial_velocity_max = 800.0 angular_velocity_min = -453.84 angular_velocity_max = -28.01 gravity = Vector3(0, 0, 0) @@ -71,7 +71,7 @@ tracks/1/keys = { tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true -tracks/2/path = NodePath("NinePatchRect/InnerWindow/TextContainer/Rumbler/TypewriterLabel/Glint:anchor_left") +tracks/2/path = NodePath("ClipContainer/NinePatchRect/InnerWindow/TextContainer/Rumbler/TypewriterLabel/Glint:anchor_left") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { @@ -83,7 +83,7 @@ tracks/2/keys = { tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true -tracks/3/path = NodePath("NinePatchRect/InnerWindow/TextContainer/Rumbler/TypewriterLabel/Glint:anchor_right") +tracks/3/path = NodePath("ClipContainer/NinePatchRect/InnerWindow/TextContainer/Rumbler/TypewriterLabel/Glint:anchor_right") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { @@ -107,7 +107,7 @@ tracks/4/keys = { tracks/5/type = "value" tracks/5/imported = false tracks/5/enabled = true -tracks/5/path = NodePath("NinePatchRect/InnerWindow/TextContainer/Rumbler/AnimatedStar:scale") +tracks/5/path = NodePath("ClipContainer/NinePatchRect/InnerWindow/TextContainer/Rumbler/AnimatedStar:scale") tracks/5/interp = 1 tracks/5/loop_wrap = true tracks/5/keys = { @@ -119,7 +119,7 @@ tracks/5/keys = { tracks/6/type = "value" tracks/6/imported = false tracks/6/enabled = true -tracks/6/path = NodePath("NinePatchRect/InnerWindow/TextContainer/Rumbler/AnimatedStar:rotation") +tracks/6/path = NodePath("ClipContainer/NinePatchRect/InnerWindow/TextContainer/Rumbler/AnimatedStar:rotation") tracks/6/interp = 1 tracks/6/loop_wrap = true tracks/6/keys = { @@ -131,7 +131,7 @@ tracks/6/keys = { tracks/7/type = "value" tracks/7/imported = false tracks/7/enabled = true -tracks/7/path = NodePath("NinePatchRect/InnerWindow/TextContainer:rotation") +tracks/7/path = NodePath("ClipContainer/NinePatchRect/InnerWindow/TextContainer:rotation") tracks/7/interp = 4 tracks/7/loop_wrap = true tracks/7/keys = { @@ -143,7 +143,7 @@ tracks/7/keys = { tracks/8/type = "value" tracks/8/imported = false tracks/8/enabled = true -tracks/8/path = NodePath("NinePatchRect/InnerWindow/TextContainer:scale") +tracks/8/path = NodePath("ClipContainer/NinePatchRect/InnerWindow/TextContainer:scale") tracks/8/interp = 1 tracks/8/loop_wrap = true tracks/8/keys = { @@ -155,7 +155,7 @@ tracks/8/keys = { tracks/9/type = "value" tracks/9/imported = false tracks/9/enabled = true -tracks/9/path = NodePath("NinePatchRect/InnerWindow/TextContainer/Rumbler:intensity") +tracks/9/path = NodePath("ClipContainer/NinePatchRect/InnerWindow/TextContainer/Rumbler:intensity") tracks/9/interp = 1 tracks/9/loop_wrap = true tracks/9/keys = { @@ -167,7 +167,7 @@ tracks/9/keys = { tracks/10/type = "value" tracks/10/imported = false tracks/10/enabled = true -tracks/10/path = NodePath("NinePatchRect/Marquee/MarqueeTop:offset_left") +tracks/10/path = NodePath("ClipContainer/NinePatchRect/Marquee/MarqueeTop:offset_left") tracks/10/interp = 1 tracks/10/loop_wrap = true tracks/10/keys = { @@ -179,7 +179,7 @@ tracks/10/keys = { tracks/11/type = "value" tracks/11/imported = false tracks/11/enabled = true -tracks/11/path = NodePath("NinePatchRect/Marquee/MarqueeBottom:offset_left") +tracks/11/path = NodePath("ClipContainer/NinePatchRect/Marquee/MarqueeBottom:offset_left") tracks/11/interp = 1 tracks/11/loop_wrap = true tracks/11/keys = { @@ -191,7 +191,7 @@ tracks/11/keys = { tracks/12/type = "value" tracks/12/imported = false tracks/12/enabled = true -tracks/12/path = NodePath("NinePatchRect/Marquee:modulate") +tracks/12/path = NodePath("ClipContainer/NinePatchRect/Marquee:modulate") tracks/12/interp = 1 tracks/12/loop_wrap = true tracks/12/keys = { @@ -200,6 +200,30 @@ tracks/12/keys = { "update": 0, "values": [Color(1, 1, 1, 1)] } +tracks/13/type = "value" +tracks/13/imported = false +tracks/13/enabled = true +tracks/13/path = NodePath("Shinespark:rotation") +tracks/13/interp = 4 +tracks/13/loop_wrap = true +tracks/13/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [0.785398] +} +tracks/14/type = "value" +tracks/14/imported = false +tracks/14/enabled = true +tracks/14/path = NodePath("Shinespark:scale") +tracks/14/interp = 1 +tracks/14/loop_wrap = true +tracks/14/keys = { +"times": PackedFloat32Array(0), +"transitions": PackedFloat32Array(1), +"update": 0, +"values": [Vector2(1, 1)] +} [sub_resource type="Animation" id="Animation_80e5e"] resource_name = "display" @@ -213,7 +237,7 @@ tracks/0/interp = 1 tracks/0/loop_wrap = false tracks/0/keys = { "times": PackedFloat32Array(0, 0.266667, 0.533334, 1.7, 2), -"transitions": PackedFloat32Array(1, 0.381924, 1, 4.43828, 1), +"transitions": PackedFloat32Array(1, 2.618, 1, 4.43828, 1), "update": 0, "values": [Vector2(0, 8), Vector2(0, 8), Vector2(0, 300), Vector2(0, 300), Vector2(0, 0)] } @@ -225,14 +249,14 @@ tracks/1/interp = 1 tracks/1/loop_wrap = false tracks/1/keys = { "times": PackedFloat32Array(0, 0.266667), -"transitions": PackedFloat32Array(6.22646, 1), +"transitions": PackedFloat32Array(1.618, 1), "update": 0, "values": [0.0, 1.0] } tracks/2/type = "method" tracks/2/imported = false tracks/2/enabled = true -tracks/2/path = NodePath("NinePatchRect/InnerWindow/TextContainer/Rumbler/TypewriterLabel") +tracks/2/path = NodePath("ClipContainer/NinePatchRect/InnerWindow/TextContainer/Rumbler/TypewriterLabel") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { @@ -246,7 +270,7 @@ tracks/2/keys = { tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true -tracks/3/path = NodePath("NinePatchRect/InnerWindow/TextContainer/Rumbler/TypewriterLabel/Glint:anchor_left") +tracks/3/path = NodePath("ClipContainer/NinePatchRect/InnerWindow/TextContainer/Rumbler/TypewriterLabel/Glint:anchor_left") tracks/3/interp = 2 tracks/3/loop_wrap = false tracks/3/keys = { @@ -258,7 +282,7 @@ tracks/3/keys = { tracks/4/type = "value" tracks/4/imported = false tracks/4/enabled = true -tracks/4/path = NodePath("NinePatchRect/InnerWindow/TextContainer/Rumbler/TypewriterLabel/Glint:anchor_right") +tracks/4/path = NodePath("ClipContainer/NinePatchRect/InnerWindow/TextContainer/Rumbler/TypewriterLabel/Glint:anchor_right") tracks/4/interp = 2 tracks/4/loop_wrap = false tracks/4/keys = { @@ -296,7 +320,7 @@ tracks/6/keys = { tracks/7/type = "value" tracks/7/imported = false tracks/7/enabled = true -tracks/7/path = NodePath("NinePatchRect/InnerWindow/TextContainer/Rumbler/AnimatedStar:scale") +tracks/7/path = NodePath("ClipContainer/NinePatchRect/InnerWindow/TextContainer/Rumbler/AnimatedStar:scale") tracks/7/interp = 1 tracks/7/loop_wrap = false tracks/7/keys = { @@ -308,7 +332,7 @@ tracks/7/keys = { tracks/8/type = "value" tracks/8/imported = false tracks/8/enabled = true -tracks/8/path = NodePath("NinePatchRect/InnerWindow/TextContainer/Rumbler/AnimatedStar:rotation") +tracks/8/path = NodePath("ClipContainer/NinePatchRect/InnerWindow/TextContainer/Rumbler/AnimatedStar:rotation") tracks/8/interp = 1 tracks/8/loop_wrap = false tracks/8/keys = { @@ -320,7 +344,7 @@ tracks/8/keys = { tracks/9/type = "value" tracks/9/imported = false tracks/9/enabled = true -tracks/9/path = NodePath("NinePatchRect/InnerWindow/TextContainer:rotation") +tracks/9/path = NodePath("ClipContainer/NinePatchRect/InnerWindow/TextContainer:rotation") tracks/9/interp = 4 tracks/9/loop_wrap = false tracks/9/keys = { @@ -332,7 +356,7 @@ tracks/9/keys = { tracks/10/type = "value" tracks/10/imported = false tracks/10/enabled = true -tracks/10/path = NodePath("NinePatchRect/InnerWindow/TextContainer:scale") +tracks/10/path = NodePath("ClipContainer/NinePatchRect/InnerWindow/TextContainer:scale") tracks/10/interp = 2 tracks/10/loop_wrap = false tracks/10/keys = { @@ -344,7 +368,7 @@ tracks/10/keys = { tracks/11/type = "value" tracks/11/imported = false tracks/11/enabled = true -tracks/11/path = NodePath("NinePatchRect/InnerWindow/TextContainer/Rumbler:intensity") +tracks/11/path = NodePath("ClipContainer/NinePatchRect/InnerWindow/TextContainer/Rumbler:intensity") tracks/11/interp = 1 tracks/11/loop_wrap = false tracks/11/keys = { @@ -356,7 +380,7 @@ tracks/11/keys = { tracks/12/type = "value" tracks/12/imported = false tracks/12/enabled = true -tracks/12/path = NodePath("NinePatchRect/Marquee/MarqueeTop:offset_left") +tracks/12/path = NodePath("ClipContainer/NinePatchRect/Marquee/MarqueeTop:offset_left") tracks/12/interp = 1 tracks/12/loop_wrap = false tracks/12/keys = { @@ -368,7 +392,7 @@ tracks/12/keys = { tracks/13/type = "value" tracks/13/imported = false tracks/13/enabled = true -tracks/13/path = NodePath("NinePatchRect/Marquee/MarqueeBottom:offset_left") +tracks/13/path = NodePath("ClipContainer/NinePatchRect/Marquee/MarqueeBottom:offset_left") tracks/13/interp = 1 tracks/13/loop_wrap = false tracks/13/keys = { @@ -380,7 +404,7 @@ tracks/13/keys = { tracks/14/type = "value" tracks/14/imported = false tracks/14/enabled = true -tracks/14/path = NodePath("NinePatchRect/Marquee:modulate") +tracks/14/path = NodePath("ClipContainer/NinePatchRect/Marquee:modulate") tracks/14/interp = 2 tracks/14/loop_wrap = false tracks/14/keys = { @@ -389,6 +413,30 @@ tracks/14/keys = { "update": 0, "values": [Color(1, 1, 1, 0.8), Color(1, 1, 1, 0.2), Color(1, 1, 1, 0.8), Color(1, 1, 1, 0.2), Color(1, 1, 1, 0.8), Color(1, 1, 1, 0.2), Color(1, 1, 1, 0.8), Color(1, 1, 1, 0.2)] } +tracks/15/type = "value" +tracks/15/imported = false +tracks/15/enabled = true +tracks/15/path = NodePath("Shinespark:rotation") +tracks/15/interp = 4 +tracks/15/loop_wrap = false +tracks/15/keys = { +"times": PackedFloat32Array(0, 0.266667), +"transitions": PackedFloat32Array(1, 1), +"update": 0, +"values": [-1.5708, 1.5708] +} +tracks/16/type = "value" +tracks/16/imported = false +tracks/16/enabled = true +tracks/16/path = NodePath("Shinespark:scale") +tracks/16/interp = 2 +tracks/16/loop_wrap = false +tracks/16/keys = { +"times": PackedFloat32Array(0, 0.233333, 0.333333), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [Vector2(1, 1), Vector2(2, 2), Vector2(1, 1)] +} [sub_resource type="AnimationLibrary" id="AnimationLibrary_pgwgo"] _data = { @@ -397,7 +445,6 @@ _data = { } [node name="NiceAlert" type="Control"] -clip_contents = true custom_minimum_size = Vector2(0, 300) layout_mode = 3 anchor_top = 0.5 @@ -408,7 +455,16 @@ offset_right = 16.0 grow_horizontal = 2 grow_vertical = 2 -[node name="NinePatchRect" type="NinePatchRect" parent="."] +[node name="ClipContainer" type="Control" parent="."] +clip_contents = true +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="NinePatchRect" type="NinePatchRect" parent="ClipContainer"] self_modulate = Color(0.3444, 0.372827, 0.41, 1) layout_mode = 1 anchors_preset = 15 @@ -422,7 +478,7 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="Marquee" type="Control" parent="NinePatchRect"] +[node name="Marquee" type="Control" parent="ClipContainer/NinePatchRect"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 @@ -430,7 +486,7 @@ anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -[node name="MarqueeTop" type="Label" parent="NinePatchRect/Marquee"] +[node name="MarqueeTop" type="Label" parent="ClipContainer/NinePatchRect/Marquee"] texture_filter = 5 layout_mode = 1 anchors_preset = -1 @@ -444,7 +500,7 @@ theme_override_font_sizes/font_size = 13 text = "❗ When it comes to the shows that I rock ❗ and the flows that I drop ❗ y'all know Run killed the mic ❗ Can't forget about the O's that I got ❗ and the Rolls in the spot ❗ y'all know I'm still here right ❓ How you gonna take a old song ❗ been around so long ❗ So So Def, but made it tight ❗ Then went from a DJ ❗ to an emcee ❗ to the are-E-V like overnight ❗ Everybody lookin ❗ players get shook when ❗ Rev. Run walk up in the spot ❗ Even all the crooks ❗ that been livin outta Brooklyn ❗ Just can't help but point a lot ❗ Everywhere I go now ❗ people say \"Oh wow!\" ❗ cause they know how I get it ❗ It don't matter if it's Notown ❗ all the way to yo' town ❗ you can't slow down my hit ❗" uppercase = true -[node name="MarqueeBottom" type="Label" parent="NinePatchRect/Marquee"] +[node name="MarqueeBottom" type="Label" parent="ClipContainer/NinePatchRect/Marquee"] texture_filter = 5 layout_mode = 1 anchors_preset = -1 @@ -465,7 +521,7 @@ theme_override_font_sizes/font_size = 13 text = "❗ When it comes to the shows that I rock ❗ and the flows that I drop ❗ y'all know Run killed the mic ❗ Can't forget about the O's that I got ❗ and the Rolls in the spot ❗ y'all know I'm still here right ❓ How you gonna take a old song ❗ been around so long ❗ So So Def, but made it tight ❗ Then went from a DJ ❗ to an emcee ❗ to the are-E-V like overnight ❗ Everybody lookin ❗ players get shook when ❗ Rev. Run walk up in the spot ❗ Even all the crooks ❗ that been livin outta Brooklyn ❗ Just can't help but point a lot ❗ Everywhere I go now ❗ people say \"Oh wow!\" ❗ cause they know how I get it ❗ It don't matter if it's Notown ❗ all the way to yo' town ❗ you can't slow down my hit ❗" uppercase = true -[node name="InnerWindow" type="Control" parent="NinePatchRect"] +[node name="InnerWindow" type="Control" parent="ClipContainer/NinePatchRect"] clip_contents = true layout_mode = 1 anchors_preset = 15 @@ -479,22 +535,22 @@ grow_horizontal = 2 grow_vertical = 2 pivot_offset = Vector2(0, 150) -[node name="ParticleOrigin" type="Control" parent="NinePatchRect/InnerWindow"] +[node name="ParticleOrigin" type="Control" parent="ClipContainer/NinePatchRect/InnerWindow"] layout_mode = 1 anchors_preset = 4 anchor_top = 0.5 anchor_bottom = 0.5 grow_vertical = 2 -[node name="GPUParticles2D" type="GPUParticles2D" parent="NinePatchRect/InnerWindow/ParticleOrigin"] +[node name="GPUParticles2D" type="GPUParticles2D" parent="ClipContainer/NinePatchRect/InnerWindow/ParticleOrigin"] amount = 1024 process_material = SubResource("ParticleProcessMaterial_qsf88") texture = ExtResource("2_x2leq") -lifetime = 20.0 -preprocess = 20.0 +lifetime = 10.0 +preprocess = 10.0 visibility_rect = Rect2(0, -150, 1920, 300) -[node name="TextContainer" type="Control" parent="NinePatchRect/InnerWindow"] +[node name="TextContainer" type="Control" parent="ClipContainer/NinePatchRect/InnerWindow"] custom_minimum_size = Vector2(1700, 400) layout_mode = 1 anchors_preset = 8 @@ -510,7 +566,7 @@ grow_horizontal = 2 grow_vertical = 2 pivot_offset = Vector2(850, 200) -[node name="Rumbler" type="Control" parent="NinePatchRect/InnerWindow/TextContainer"] +[node name="Rumbler" type="Control" parent="ClipContainer/NinePatchRect/InnerWindow/TextContainer"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 @@ -519,7 +575,7 @@ grow_horizontal = 2 grow_vertical = 2 script = ExtResource("3_ql2sm") -[node name="TypewriterLabel" type="RichTextLabel" parent="NinePatchRect/InnerWindow/TextContainer/Rumbler"] +[node name="TypewriterLabel" type="RichTextLabel" parent="ClipContainer/NinePatchRect/InnerWindow/TextContainer/Rumbler"] clip_children = 2 texture_filter = 6 custom_minimum_size = Vector2(1650, 380) @@ -539,7 +595,7 @@ text = "[center][rainbow][type speed=50.0 delay=0.3 factor=20.0]WOAH NICE[/type] script = ExtResource("2_yjmn6") scale_curve = SubResource("Curve_54bet") -[node name="Glint" type="TextureRect" parent="NinePatchRect/InnerWindow/TextContainer/Rumbler/TypewriterLabel"] +[node name="Glint" type="TextureRect" parent="ClipContainer/NinePatchRect/InnerWindow/TextContainer/Rumbler/TypewriterLabel"] clip_children = 1 clip_contents = true layout_mode = 1 @@ -551,7 +607,7 @@ grow_vertical = 2 texture = SubResource("GradientTexture2D_nrcya") expand_mode = 1 -[node name="AnimatedStar" type="TextureRect" parent="NinePatchRect/InnerWindow/TextContainer/Rumbler"] +[node name="AnimatedStar" type="TextureRect" parent="ClipContainer/NinePatchRect/InnerWindow/TextContainer/Rumbler"] texture_filter = 5 layout_mode = 0 offset_left = 1715.0 @@ -571,3 +627,20 @@ libraries = { "": SubResource("AnimationLibrary_pgwgo") } autoplay = "display" + +[node name="Shinespark" type="TextureRect" parent="."] +custom_minimum_size = Vector2(40, 40) +layout_mode = 1 +anchors_preset = -1 +anchor_left = 1.0 +anchor_top = 0.5 +anchor_right = 1.0 +anchor_bottom = 0.5 +offset_top = -20.0 +offset_right = 40.0 +offset_bottom = 20.0 +grow_horizontal = 0 +grow_vertical = 2 +rotation = 0.785398 +pivot_offset = Vector2(20, 20) +texture = ExtResource("2_x2leq")