reposition swipe arrow

This commit is contained in:
muskit
2023-10-08 15:24:20 -07:00
parent 380489c9d2
commit 661d550821
2 changed files with 9 additions and 20 deletions
+3 -3
View File
@@ -38,7 +38,7 @@ input_name = "uv"
[sub_resource type="VisualShaderNodeMultiplyAdd" id="VisualShaderNodeMultiplyAdd_fd4l7"] [sub_resource type="VisualShaderNodeMultiplyAdd" id="VisualShaderNodeMultiplyAdd_fd4l7"]
output_port_for_preview = 0 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 op_type = 1
[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_o1o8t"] [sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_o1o8t"]
@@ -123,7 +123,7 @@ void fragment() {
// MultiplyAdd:22 // 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); 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 mode = 1
flags/light_only = false flags/light_only = false
nodes/fragment/0/position = Vector2(1500, 460) nodes/fragment/0/position = Vector2(1500, 460)
+6 -17
View File
@@ -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="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="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="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"] [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"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_kk13m"]
shader = ExtResource("3_de2t7") shader = ExtResource("3_de2t7")
shader_parameter/Color = Color(1, 0.501961, 0, 1) shader_parameter/Color = Color(1, 0.501961, 0, 1)
@@ -38,20 +35,12 @@ texture = ExtResource("2_ttxox")
patch_margin_left = 12 patch_margin_left = 12
patch_margin_right = 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="."] [node name="Control" type="TextureRect" parent="."]
material = SubResource("ShaderMaterial_kk13m") material = SubResource("ShaderMaterial_kk13m")
layout_mode = 0 layout_mode = 0
offset_left = 382.0 offset_left = 192.0
offset_top = 76.0 offset_top = -174.0
offset_right = 510.0 offset_right = 320.0
offset_bottom = 332.0 offset_bottom = 18.0
rotation = 1.5708
texture = SubResource("GradientTexture1D_fa8y1") texture = SubResource("GradientTexture1D_fa8y1")