make SwipeArrow color changing part of the shader parameter
This commit is contained in:
+3
-8
@@ -1,11 +1,10 @@
|
||||
[gd_scene load_steps=20 format=3 uid="uid://bqh00ot0csqmk"]
|
||||
[gd_scene load_steps=19 format=3 uid="uid://bqh00ot0csqmk"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Scenes/Play/Play.cs" id="1_asytu"]
|
||||
[ext_resource type="PackedScene" uid="uid://cyetvgmwnoy8l" path="res://Things/Background.tscn" id="2_8g6gv"]
|
||||
[ext_resource type="Texture2D" uid="uid://cfvv520hv5lss" path="res://_Assets/Textures/background-placeholder.jpg" id="2_k05nq"]
|
||||
[ext_resource type="Shader" path="res://Shaders/Cutout2D.gdshader" id="3_rjbyl"]
|
||||
[ext_resource type="Script" path="res://Scripts/Scenes/Play/Audio/BGM.cs" id="4_c2dke"]
|
||||
[ext_resource type="PackedScene" uid="uid://wk634bobe32k" path="res://Things/TunnelObjects/Notes/NoteSwipeCW.tscn" id="5_bea86"]
|
||||
[ext_resource type="Script" path="res://Scripts/Scenes/Play/Audio/SFX.cs" id="5_owrd5"]
|
||||
|
||||
[sub_resource type="Environment" id="Environment_nefjb"]
|
||||
@@ -65,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_5k3bq"]
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_qewlm"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("3_rjbyl")
|
||||
shader_parameter/mask = SubResource("ViewportTexture_w20vk")
|
||||
@@ -163,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_5k3bq")
|
||||
material = SubResource("ShaderMaterial_qewlm")
|
||||
layout_mode = 1
|
||||
offset_top = -1920.0
|
||||
offset_right = 1920.0
|
||||
@@ -271,10 +270,6 @@ anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_vertical = 0
|
||||
|
||||
[node name="NoteSwipeCW" parent="2D Viewport/Viewport Control/Scroll Anchor/Notes Scroll" instance=ExtResource("5_bea86")]
|
||||
offset_top = -1798.51
|
||||
offset_bottom = -1774.51
|
||||
|
||||
[node name="AudioStreamPlayer BGM" type="AudioStreamPlayer" parent="."]
|
||||
script = ExtResource("4_c2dke")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user