From 661d55082181170949bd38a5322cff90b7e36cdc Mon Sep 17 00:00:00 2001 From: muskit <15199219+muskit@users.noreply.github.com> Date: Sun, 8 Oct 2023 15:24:20 -0700 Subject: [PATCH] reposition swipe arrow --- Shaders/SwipeArrow.tres | 6 +++--- Things/TunnelObjects/Notes/NoteSwipeCW.tscn | 23 ++++++--------------- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/Shaders/SwipeArrow.tres b/Shaders/SwipeArrow.tres index 580e6d0..0103929 100644 --- a/Shaders/SwipeArrow.tres +++ b/Shaders/SwipeArrow.tres @@ -38,7 +38,7 @@ input_name = "uv" [sub_resource type="VisualShaderNodeMultiplyAdd" id="VisualShaderNodeMultiplyAdd_fd4l7"] output_port_for_preview = 0 -default_input_values = [0, Vector2(0, 0), 1, Vector2(1, 2), 2, Vector2(0, 0)] +default_input_values = [0, Vector2(0, 0), 1, Vector2(1, 3), 2, Vector2(0, 0)] op_type = 1 [sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_o1o8t"] @@ -123,7 +123,7 @@ void fragment() { // MultiplyAdd:22 - vec2 n_in22p1 = vec2(1.00000, 2.00000); + vec2 n_in22p1 = vec2(1.00000, 3.00000); vec2 n_out22p0 = fma(n_out20p0, n_in22p1, n_out24p0); @@ -178,7 +178,7 @@ void fragment() { } " -graph_offset = Vector2(-1733.92, -13.4968) +graph_offset = Vector2(-1020.52, 5.50934) mode = 1 flags/light_only = false nodes/fragment/0/position = Vector2(1500, 460) diff --git a/Things/TunnelObjects/Notes/NoteSwipeCW.tscn b/Things/TunnelObjects/Notes/NoteSwipeCW.tscn index fd1336c..f768b27 100644 --- a/Things/TunnelObjects/Notes/NoteSwipeCW.tscn +++ b/Things/TunnelObjects/Notes/NoteSwipeCW.tscn @@ -1,13 +1,10 @@ -[gd_scene load_steps=8 format=3 uid="uid://wk634bobe32k"] +[gd_scene load_steps=7 format=3 uid="uid://wk634bobe32k"] [ext_resource type="Script" path="res://Scripts/Things/TunnelObjects/THNotePlay.cs" id="1_aasqx"] [ext_resource type="Texture2D" uid="uid://rrwjokjt4jb8" path="res://_Assets/Textures/Notes/SwipeCW.png" id="2_ttxox"] [ext_resource type="Shader" uid="uid://dm5rgp78v61ha" path="res://Shaders/SwipeArrow.tres" id="3_de2t7"] [ext_resource type="Texture2D" uid="uid://cmaq66vbi80ug" path="res://_Assets/Textures/Notes/SlideArrow_Texture.png" id="4_v0t51"] -[sub_resource type="LabelSettings" id="LabelSettings_1hjvl"] -font_size = 86 - [sub_resource type="ShaderMaterial" id="ShaderMaterial_kk13m"] shader = ExtResource("3_de2t7") shader_parameter/Color = Color(1, 0.501961, 0, 1) @@ -38,20 +35,12 @@ texture = ExtResource("2_ttxox") patch_margin_left = 12 patch_margin_right = 12 -[node name="Label" type="Label" parent="."] -layout_mode = 0 -offset_left = 9.0 -offset_top = -159.0 -offset_right = 421.0 -offset_bottom = -48.0 -text = "<<<<<<<<<<<<<<<<<<<<<<<<" -label_settings = SubResource("LabelSettings_1hjvl") - [node name="Control" type="TextureRect" parent="."] material = SubResource("ShaderMaterial_kk13m") layout_mode = 0 -offset_left = 382.0 -offset_top = 76.0 -offset_right = 510.0 -offset_bottom = 332.0 +offset_left = 192.0 +offset_top = -174.0 +offset_right = 320.0 +offset_bottom = 18.0 +rotation = 1.5708 texture = SubResource("GradientTexture1D_fa8y1")