generated from krampus/template-godot4
	Nicerer Nice animation
This adds a marquee to the top and bottom of the "Nice" animation featuring the lyrics to Run D.M.C.'s "It's Over"
This commit is contained in:
		
							parent
							
								
									844fd55d43
								
							
						
					
					
						commit
						d4effd0f96
					
				| @ -1,7 +1,8 @@ | |||||||
| [gd_scene load_steps=16 format=3 uid="uid://g8yw4bersece"] | [gd_scene load_steps=17 format=3 uid="uid://g8yw4bersece"] | ||||||
| 
 | 
 | ||||||
| [ext_resource type="Texture2D" uid="uid://b5812y3pmmgg5" path="res://assets/ui/gauge_patch.png" id="1_cbh2e"] | [ext_resource type="Texture2D" uid="uid://b5812y3pmmgg5" path="res://assets/ui/gauge_patch.png" id="1_cbh2e"] | ||||||
| [ext_resource type="FontFile" uid="uid://dsa0oh7c0h4pu" path="res://assets/fonts/Racing_Sans_One/RacingSansOne-Regular.ttf" id="2_m4bhi"] | [ext_resource type="FontFile" uid="uid://dsa0oh7c0h4pu" path="res://assets/fonts/Racing_Sans_One/RacingSansOne-Regular.ttf" id="2_m4bhi"] | ||||||
|  | [ext_resource type="FontFile" uid="uid://dyog4ex5nqfat" path="res://assets/fonts/promptfont/promptfont.otf" id="2_u36vl"] | ||||||
| [ext_resource type="Texture2D" uid="uid://du3vk5nnksohs" path="res://assets/sprites/particles/sparkle.png" id="2_x2leq"] | [ext_resource type="Texture2D" uid="uid://du3vk5nnksohs" path="res://assets/sprites/particles/sparkle.png" id="2_x2leq"] | ||||||
| [ext_resource type="Script" path="res://src/ui/decorations/text_effects/typewriter/typewriter_label.gd" id="2_yjmn6"] | [ext_resource type="Script" path="res://src/ui/decorations/text_effects/typewriter/typewriter_label.gd" id="2_yjmn6"] | ||||||
| [ext_resource type="Script" path="res://src/ui/decorations/rumbler.gd" id="3_ql2sm"] | [ext_resource type="Script" path="res://src/ui/decorations/rumbler.gd" id="3_ql2sm"] | ||||||
| @ -163,6 +164,42 @@ tracks/9/keys = { | |||||||
| "update": 0, | "update": 0, | ||||||
| "values": [0.0] | "values": [0.0] | ||||||
| } | } | ||||||
|  | tracks/10/type = "value" | ||||||
|  | tracks/10/imported = false | ||||||
|  | tracks/10/enabled = true | ||||||
|  | tracks/10/path = NodePath("NinePatchRect/Marquee/MarqueeTop:offset_left") | ||||||
|  | tracks/10/interp = 1 | ||||||
|  | tracks/10/loop_wrap = true | ||||||
|  | tracks/10/keys = { | ||||||
|  | "times": PackedFloat32Array(0), | ||||||
|  | "transitions": PackedFloat32Array(1), | ||||||
|  | "update": 1, | ||||||
|  | "values": [0.0] | ||||||
|  | } | ||||||
|  | tracks/11/type = "value" | ||||||
|  | tracks/11/imported = false | ||||||
|  | tracks/11/enabled = true | ||||||
|  | tracks/11/path = NodePath("NinePatchRect/Marquee/MarqueeBottom:offset_left") | ||||||
|  | tracks/11/interp = 1 | ||||||
|  | tracks/11/loop_wrap = true | ||||||
|  | tracks/11/keys = { | ||||||
|  | "times": PackedFloat32Array(0), | ||||||
|  | "transitions": PackedFloat32Array(1), | ||||||
|  | "update": 1, | ||||||
|  | "values": [-4096] | ||||||
|  | } | ||||||
|  | tracks/12/type = "value" | ||||||
|  | tracks/12/imported = false | ||||||
|  | tracks/12/enabled = true | ||||||
|  | tracks/12/path = NodePath("NinePatchRect/Marquee:modulate") | ||||||
|  | tracks/12/interp = 1 | ||||||
|  | tracks/12/loop_wrap = true | ||||||
|  | tracks/12/keys = { | ||||||
|  | "times": PackedFloat32Array(0), | ||||||
|  | "transitions": PackedFloat32Array(1), | ||||||
|  | "update": 0, | ||||||
|  | "values": [Color(1, 1, 1, 1)] | ||||||
|  | } | ||||||
| 
 | 
 | ||||||
| [sub_resource type="Animation" id="Animation_80e5e"] | [sub_resource type="Animation" id="Animation_80e5e"] | ||||||
| resource_name = "display" | resource_name = "display" | ||||||
| @ -297,7 +334,7 @@ tracks/10/imported = false | |||||||
| tracks/10/enabled = true | tracks/10/enabled = true | ||||||
| tracks/10/path = NodePath("NinePatchRect/InnerWindow/TextContainer:scale") | tracks/10/path = NodePath("NinePatchRect/InnerWindow/TextContainer:scale") | ||||||
| tracks/10/interp = 2 | tracks/10/interp = 2 | ||||||
| tracks/10/loop_wrap = true | tracks/10/loop_wrap = false | ||||||
| tracks/10/keys = { | tracks/10/keys = { | ||||||
| "times": PackedFloat32Array(0, 0.666667, 1.33333, 2, 2.66667), | "times": PackedFloat32Array(0, 0.666667, 1.33333, 2, 2.66667), | ||||||
| "transitions": PackedFloat32Array(1, 1, 1, 1, 1), | "transitions": PackedFloat32Array(1, 1, 1, 1, 1), | ||||||
| @ -309,13 +346,49 @@ tracks/11/imported = false | |||||||
| tracks/11/enabled = true | tracks/11/enabled = true | ||||||
| tracks/11/path = NodePath("NinePatchRect/InnerWindow/TextContainer/Rumbler:intensity") | tracks/11/path = NodePath("NinePatchRect/InnerWindow/TextContainer/Rumbler:intensity") | ||||||
| tracks/11/interp = 1 | tracks/11/interp = 1 | ||||||
| tracks/11/loop_wrap = true | tracks/11/loop_wrap = false | ||||||
| tracks/11/keys = { | tracks/11/keys = { | ||||||
| "times": PackedFloat32Array(0, 0.466667, 0.566667, 1.33333), | "times": PackedFloat32Array(0, 0.466667, 0.566667, 1.33333), | ||||||
| "transitions": PackedFloat32Array(1, 1, 1, 1), | "transitions": PackedFloat32Array(1, 1, 1, 1), | ||||||
| "update": 0, | "update": 0, | ||||||
| "values": [0.0, 0.0, 10.0, 0.0] | "values": [0.0, 0.0, 10.0, 0.0] | ||||||
| } | } | ||||||
|  | tracks/12/type = "value" | ||||||
|  | tracks/12/imported = false | ||||||
|  | tracks/12/enabled = true | ||||||
|  | tracks/12/path = NodePath("NinePatchRect/Marquee/MarqueeTop:offset_left") | ||||||
|  | tracks/12/interp = 1 | ||||||
|  | tracks/12/loop_wrap = false | ||||||
|  | tracks/12/keys = { | ||||||
|  | "times": PackedFloat32Array(0, 5), | ||||||
|  | "transitions": PackedFloat32Array(1, 1), | ||||||
|  | "update": 0, | ||||||
|  | "values": [0, -2048] | ||||||
|  | } | ||||||
|  | tracks/13/type = "value" | ||||||
|  | tracks/13/imported = false | ||||||
|  | tracks/13/enabled = true | ||||||
|  | tracks/13/path = NodePath("NinePatchRect/Marquee/MarqueeBottom:offset_left") | ||||||
|  | tracks/13/interp = 1 | ||||||
|  | tracks/13/loop_wrap = false | ||||||
|  | tracks/13/keys = { | ||||||
|  | "times": PackedFloat32Array(0, 5), | ||||||
|  | "transitions": PackedFloat32Array(1, 1), | ||||||
|  | "update": 0, | ||||||
|  | "values": [-5249.0, -2048] | ||||||
|  | } | ||||||
|  | tracks/14/type = "value" | ||||||
|  | tracks/14/imported = false | ||||||
|  | tracks/14/enabled = true | ||||||
|  | tracks/14/path = NodePath("NinePatchRect/Marquee:modulate") | ||||||
|  | tracks/14/interp = 2 | ||||||
|  | tracks/14/loop_wrap = false | ||||||
|  | tracks/14/keys = { | ||||||
|  | "times": PackedFloat32Array(0, 0.3, 0.6, 0.9, 1.2, 1.5, 1.8, 2.1), | ||||||
|  | "transitions": PackedFloat32Array(1.618, 0.618, 1.618, 0.618, 1.618, 0.618, 1.618, 0.618), | ||||||
|  | "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)] | ||||||
|  | } | ||||||
| 
 | 
 | ||||||
| [sub_resource type="AnimationLibrary" id="AnimationLibrary_pgwgo"] | [sub_resource type="AnimationLibrary" id="AnimationLibrary_pgwgo"] | ||||||
| _data = { | _data = { | ||||||
| @ -327,14 +400,16 @@ _data = { | |||||||
| clip_contents = true | clip_contents = true | ||||||
| custom_minimum_size = Vector2(0, 300) | custom_minimum_size = Vector2(0, 300) | ||||||
| layout_mode = 3 | layout_mode = 3 | ||||||
| anchors_preset = 14 |  | ||||||
| anchor_top = 0.5 | anchor_top = 0.5 | ||||||
| anchor_right = 1.0 | anchor_right = 1.0 | ||||||
| anchor_bottom = 0.5 | anchor_bottom = 0.5 | ||||||
|  | offset_left = -16.0 | ||||||
|  | offset_right = 16.0 | ||||||
| grow_horizontal = 2 | grow_horizontal = 2 | ||||||
| grow_vertical = 2 | grow_vertical = 2 | ||||||
| 
 | 
 | ||||||
| [node name="NinePatchRect" type="NinePatchRect" parent="."] | [node name="NinePatchRect" type="NinePatchRect" parent="."] | ||||||
|  | self_modulate = Color(0.3444, 0.372827, 0.41, 1) | ||||||
| layout_mode = 1 | layout_mode = 1 | ||||||
| anchors_preset = 15 | anchors_preset = 15 | ||||||
| anchor_right = 1.0 | anchor_right = 1.0 | ||||||
| @ -347,6 +422,49 @@ patch_margin_top = 16 | |||||||
| patch_margin_right = 16 | patch_margin_right = 16 | ||||||
| patch_margin_bottom = 16 | patch_margin_bottom = 16 | ||||||
| 
 | 
 | ||||||
|  | [node name="Marquee" type="Control" parent="NinePatchRect"] | ||||||
|  | layout_mode = 1 | ||||||
|  | anchors_preset = 15 | ||||||
|  | anchor_right = 1.0 | ||||||
|  | anchor_bottom = 1.0 | ||||||
|  | grow_horizontal = 2 | ||||||
|  | grow_vertical = 2 | ||||||
|  | 
 | ||||||
|  | [node name="MarqueeTop" type="Label" parent="NinePatchRect/Marquee"] | ||||||
|  | texture_filter = 5 | ||||||
|  | layout_mode = 1 | ||||||
|  | anchors_preset = -1 | ||||||
|  | offset_right = 5249.0 | ||||||
|  | offset_bottom = 19.0 | ||||||
|  | theme_override_colors/font_color = Color(0.966667, 1, 0, 1) | ||||||
|  | theme_override_colors/font_outline_color = Color(0.19, 0.19, 0.19, 1) | ||||||
|  | theme_override_constants/outline_size = 4 | ||||||
|  | theme_override_fonts/font = ExtResource("2_u36vl") | ||||||
|  | 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"] | ||||||
|  | texture_filter = 5 | ||||||
|  | layout_mode = 1 | ||||||
|  | anchors_preset = -1 | ||||||
|  | anchor_left = 1.0 | ||||||
|  | anchor_top = 1.0 | ||||||
|  | anchor_right = 1.0 | ||||||
|  | anchor_bottom = 1.0 | ||||||
|  | offset_left = -4096.0 | ||||||
|  | offset_top = -16.0 | ||||||
|  | offset_right = 4096.0 | ||||||
|  | grow_horizontal = 0 | ||||||
|  | grow_vertical = 0 | ||||||
|  | theme_override_colors/font_color = Color(0.966667, 1, 0, 1) | ||||||
|  | theme_override_colors/font_outline_color = Color(0.19, 0.19, 0.19, 1) | ||||||
|  | theme_override_constants/outline_size = 4 | ||||||
|  | theme_override_fonts/font = ExtResource("2_u36vl") | ||||||
|  | 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="NinePatchRect"] | ||||||
| clip_contents = true | clip_contents = true | ||||||
| layout_mode = 1 | layout_mode = 1 | ||||||
| @ -412,6 +530,7 @@ anchor_bottom = 1.0 | |||||||
| grow_horizontal = 2 | grow_horizontal = 2 | ||||||
| grow_vertical = 2 | grow_vertical = 2 | ||||||
| scale = Vector2(1.05, 1.05) | scale = Vector2(1.05, 1.05) | ||||||
|  | theme_override_colors/font_outline_color = Color(0.21, 0.0882, 0.15925, 1) | ||||||
| theme_override_constants/outline_size = 9 | theme_override_constants/outline_size = 9 | ||||||
| theme_override_fonts/normal_font = ExtResource("2_m4bhi") | theme_override_fonts/normal_font = ExtResource("2_m4bhi") | ||||||
| theme_override_font_sizes/normal_font_size = 300 | theme_override_font_sizes/normal_font_size = 300 | ||||||
|  | |||||||
| @ -20,7 +20,6 @@ var player: WorldPlayer | |||||||
| @onready var _curve_animation: AnimationPlayer = %CurveAnimation | @onready var _curve_animation: AnimationPlayer = %CurveAnimation | ||||||
| @onready var _power_animation: AnimationPlayer = %PowerAnimation | @onready var _power_animation: AnimationPlayer = %PowerAnimation | ||||||
| 
 | 
 | ||||||
| @onready var _nice_animation: AnimationPlayer = %NiceAnimation |  | ||||||
| @onready var _nice_container: Control = %NiceContainer | @onready var _nice_container: Control = %NiceContainer | ||||||
| @onready var _wasted_animation: AnimationPlayer = %WastedAnimation | @onready var _wasted_animation: AnimationPlayer = %WastedAnimation | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user