SupaLidlGame/UI/TargetTracer.tscn

35 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2023-09-07 11:53:51 -07:00
[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"]
2023-09-10 09:37:12 -07:00
[sub_resource type="ShaderMaterial" id="ShaderMaterial_46g0j"]
2023-09-07 11:53:51 -07:00
shader = ExtResource("1_1y0lt")
shader_parameter/speed = 1.0
shader_parameter/direction = Vector2(1, 0)
2023-09-10 09:37:12 -07:00
shader_parameter/tint_color = Color(1, 1, 1, 1)
2023-09-07 11:53:51 -07:00
[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"]
2023-09-10 09:37:12 -07:00
material = SubResource("ShaderMaterial_46g0j")
2023-09-07 11:53:51 -07:00
script = ExtResource("1_mtnfa")
[node name="Line2D" type="Line2D" parent="."]
z_index = 31
texture_repeat = 2
2023-09-10 09:37:12 -07:00
use_parent_material = true
2023-09-07 11:53:51 -07:00
scale = Vector2(1, 0.5)
points = PackedVector2Array(0, 0, 32, 0)
width = 2.0
texture = SubResource("GradientTexture2D_icdwl")
texture_mode = 1