-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNotePlacementBar.tscn
More file actions
129 lines (115 loc) · 4.35 KB
/
NotePlacementBar.tscn
File metadata and controls
129 lines (115 loc) · 4.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[gd_scene load_steps=12 format=3 uid="uid://duhiilcv4tat3"]
[ext_resource type="Script" uid="uid://gj666xe815py" path="res://Scenes/BattleDirector/Scripts/NotePlacementBar.cs" id="1_456es"]
[ext_resource type="Texture2D" uid="uid://cnyr5usjdv0ni" path="res://Scenes/BattleDirector/Assets/NoteQueue_Frame.png" id="2_3tw16"]
[ext_resource type="Texture2D" uid="uid://gcst7q2acsqm" path="res://Scenes/BattleDirector/Assets/PlacementBar_Under.png" id="2_5a8x5"]
[ext_resource type="Texture2D" uid="uid://c3chrsxrulapd" path="res://Classes/Notes/Assets/Note_PlayerBasic.png" id="3_6ylx6"]
[ext_resource type="Texture2D" uid="uid://bi4tbiovlm2g1" path="res://Scenes/BattleDirector/Assets/PlacementBar_Over.png" id="3_kb2co"]
[ext_resource type="Texture2D" uid="uid://caw70lr5e1yiq" path="res://Classes/Notes/Assets/Note_PlayerDouble.png" id="4_6w8ha"]
[sub_resource type="Gradient" id="Gradient_xvck1"]
offsets = PackedFloat32Array(0)
colors = PackedColorArray(0, 0, 0, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_0bqho"]
gradient = SubResource("Gradient_xvck1")
width = 32
height = 98
fill_from = Vector2(0, 1)
fill_to = Vector2(0, 0)
[sub_resource type="Gradient" id="Gradient_2uknl"]
offsets = PackedFloat32Array(0)
colors = PackedColorArray(0.46, 0.2162, 0.39905, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_d62c7"]
gradient = SubResource("Gradient_2uknl")
width = 1
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_fy2uu"]
lifetime_randomness = 0.32
particle_flag_disable_z = true
emission_shape = 3
emission_box_extents = Vector3(40, 5, 1)
inherit_velocity_ratio = 1.0
direction = Vector3(0, 1, 0)
spread = 13.548
initial_velocity_min = 124.08
initial_velocity_max = 176.41
gravity = Vector3(0, 98, 0)
scale_min = 2.0
scale_max = 3.0
turbulence_noise_strength = 0.1
turbulence_noise_scale = 5.0
turbulence_influence_min = 0.0
turbulence_influence_max = 0.018
[node name="NotePlacementBar" type="Control" node_paths=PackedStringArray("_notePlacementBar", "_particles", "_fullBarParticles", "_currentComboMultText", "_currentNote", "_nextNote")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_456es")
_notePlacementBar = NodePath("PlacementBar")
_particles = NodePath("PlacementBar/Rock")
_fullBarParticles = NodePath("PlacementBar/FullBarParticles")
_currentComboMultText = NodePath("CurrentCombo")
_currentNote = NodePath("NoteQueueSprite/CurrentNote")
_nextNote = NodePath("NoteQueueSprite/NextNote")
[node name="CurrentCombo" type="TextEdit" parent="."]
z_as_relative = false
custom_minimum_size = Vector2(80, 35)
layout_mode = 0
offset_right = 80.0
offset_bottom = 35.0
mouse_filter = 2
theme_override_font_sizes/font_size = 32
text = " x1"
context_menu_enabled = false
shortcut_keys_enabled = false
selecting_enabled = false
deselect_on_focus_loss_enabled = false
drag_and_drop_selection_enabled = false
virtual_keyboard_enabled = false
middle_mouse_paste_enabled = false
[node name="PlacementBar" type="TextureProgressBar" parent="."]
layout_mode = 0
offset_left = 41.0
offset_top = 33.0
offset_right = 75.0
offset_bottom = 133.0
fill_mode = 3
texture_under = ExtResource("2_5a8x5")
texture_over = ExtResource("3_kb2co")
texture_progress = SubResource("GradientTexture2D_0bqho")
texture_progress_offset = Vector2(1, 1)
[node name="Rock" type="GPUParticles2D" parent="PlacementBar"]
z_index = 1
position = Vector2(-1, -32)
emitting = false
amount = 22
texture = SubResource("GradientTexture1D_d62c7")
lifetime = 2.0
preprocess = 0.1
explosiveness = 0.3
randomness = 0.05
process_material = SubResource("ParticleProcessMaterial_fy2uu")
[node name="FullBarParticles" type="CPUParticles2D" parent="PlacementBar"]
position = Vector2(14, 98)
emitting = false
amount = 10
lifetime = 1.5
direction = Vector2(0, -1)
spread = 15.0
gravity = Vector2(0, 0)
initial_velocity_min = 25.0
initial_velocity_max = 50.0
scale_amount_max = 2.0
color = Color(1, 1, 0.0745098, 1)
[node name="NoteQueueSprite" type="Sprite2D" parent="."]
position = Vector2(23, 66)
rotation = -1.5708
texture = ExtResource("2_3tw16")
[node name="NextNote" type="Sprite2D" parent="NoteQueueSprite"]
position = Vector2(-16, 0)
rotation = 1.5708
texture = ExtResource("3_6ylx6")
[node name="CurrentNote" type="Sprite2D" parent="NoteQueueSprite"]
position = Vector2(16, 0)
rotation = 1.5708
texture = ExtResource("4_6w8ha")