Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / effect / common / Trail0001.tscn
@小李xl 小李xl on 29 Jan 2024 619 bytes 制作0010武器完成
  1. [gd_scene load_steps=4 format=3 uid="uid://ddwikcidm0gsi"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/effects/Trail.cs" id="1_i68ib"]
  4.  
  5. [sub_resource type="Curve" id="Curve_fnvhf"]
  6. _data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.5), 0.0, 0.0, 0, 0]
  7. point_count = 2
  8.  
  9. [sub_resource type="Gradient" id="Gradient_cjh8g"]
  10. resource_local_to_scene = true
  11. offsets = PackedFloat32Array(0.825949, 1)
  12. colors = PackedColorArray(1, 1, 1, 0.705882, 1, 1, 1, 0)
  13.  
  14. [node name="Trail" type="Line2D"]
  15. width = 3.0
  16. width_curve = SubResource("Curve_fnvhf")
  17. gradient = SubResource("Gradient_cjh8g")
  18. script = ExtResource("1_i68ib")