it's not the length that matters

- shorten play cone in attempt to achieve more accurate scrolling
This commit is contained in:
msk
2023-10-11 23:57:44 -07:00
parent 3685a9e680
commit 7d166ecc50
6 changed files with 6 additions and 8 deletions
+3 -3
View File
@@ -64,7 +64,7 @@ uv1_offset = Vector3(0, -0.001, 0)
[sub_resource type="ViewportTexture" id="ViewportTexture_w20vk"]
viewport_path = NodePath("Mask")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_qewlm"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_1aow1"]
resource_local_to_scene = true
shader = ExtResource("3_rjbyl")
shader_parameter/mask = SubResource("ViewportTexture_w20vk")
@@ -107,7 +107,7 @@ near = 0.001
far = 20.0
[node name="Cone" type="Node3D" parent="Node3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 0.5, 0, 0, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 0.3, 0, 0, 0)
[node name="RootNode" type="Node3D" parent="Node3D/Cone"]
transform = Transform3D(8.74228e-08, 4.37114e-08, 1, -1, 4.37114e-08, 8.74228e-08, -4.37114e-08, -1, 4.37114e-08, 0, 0, 0)
@@ -162,7 +162,7 @@ anchor_mode = 0
editor_draw_screen = false
[node name="Background" parent="2D Viewport/Viewport Control" instance=ExtResource("2_8g6gv")]
material = SubResource("ShaderMaterial_qewlm")
material = SubResource("ShaderMaterial_1aow1")
layout_mode = 1
offset_top = -1920.0
offset_right = 1920.0
+1 -1
View File
@@ -47,7 +47,7 @@ namespace WacK.Configuration
/// <summary>
///
/// </summary>
/// <param name="section">CANNOT have spaces.</param>
/// <param name="section">CANNOT contain spaces.</param>
/// <param name="name">CANNOT contain spaces.</param>
/// <param name="defaultValue">The value to set if not found in the settings file.</param>
public Config(string section, string name, T defaultValue, OnValueSet callback = null)
+1 -1
View File
@@ -10,7 +10,7 @@ namespace WacK.Configuration
/// Scroll speed multiplier.
/// </summary>
public static Config<float> playSpeedMultiplier =
new("PlaySettings", "playSpeedMultiplier", 2f);
new("PlaySettings", "playSpeedMultiplier", 4f);
/// <summary>
/// How much to shift song audio by in seconds.
+1 -1
View File
@@ -69,7 +69,7 @@ namespace WacK.Scenes
private int eventNextIdx = 0;
// base scroll speed, which we can apply multipliers on
public static readonly float BASE_PIXELS_PER_SECOND = 800;
public static readonly float BASE_PIXELS_PER_SECOND = 1000;
public static float ScrollPxPerSec
{
get
-1
View File
@@ -167,7 +167,6 @@ void fragment() {
}
"
graph_offset = Vector2(-1296.02, -327.954)
mode = 1
flags/light_only = false
nodes/fragment/0/position = Vector2(1500, 460)
-1
View File
@@ -243,7 +243,6 @@ void fragment() {
}
"
graph_offset = Vector2(-1902.01, -337.623)
mode = 1
flags/light_only = false
nodes/fragment/0/position = Vector2(1500, 460)