SupaLidlGame/UI/TargetTracer.tscn

35 lines
1.1 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://ce0ph4wk0ylra"]
[ext_resource type="Shader" path="res://Shaders/Scrolling.gdshader" id="1_1y0lt"]
[ext_resource type="Script" path="res://UI/TargetTracer.cs" id="1_mtnfa"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_46g0j"]
shader = ExtResource("1_1y0lt")
shader_parameter/speed = 1.0
shader_parameter/direction = Vector2(1, 0)
shader_parameter/tint_color = Color(1, 1, 1, 1)
[sub_resource type="Gradient" id="Gradient_0wna6"]
interpolation_mode = 1
offsets = PackedFloat32Array(0, 0.867133)
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_icdwl"]
gradient = SubResource("Gradient_0wna6")
width = 2
height = 1
[node name="TargetTracer" type="Node2D"]
material = SubResource("ShaderMaterial_46g0j")
script = ExtResource("1_mtnfa")
[node name="Line2D" type="Line2D" parent="."]
z_index = 31
texture_repeat = 2
use_parent_material = true
scale = Vector2(1, 0.5)
points = PackedVector2Array(0, 0, 32, 0)
width = 2.0
texture = SubResource("GradientTexture2D_icdwl")
texture_mode = 1