Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / weapon / bullet / HighSpeedBullet.tscn
  1. [gd_scene load_steps=5 format=2]
  2.  
  3. [ext_resource path="res://src/game/item/weapon/bullet/HighSpeedBullet.cs" type="Script" id=1]
  4. [ext_resource path="res://prefab/effect/Hit.tscn" type="PackedScene" id=2]
  5.  
  6. [sub_resource type="Curve" id=1]
  7. _data = [ Vector2( 0, 0.781588 ), 0.0, 0.0, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ]
  8.  
  9. [sub_resource type="Gradient" id=2]
  10. colors = PoolColorArray( 1, 1, 1, 0, 1, 1, 1, 0.705882 )
  11.  
  12. [node name="HighSpeedBullet" type="Node2D"]
  13. script = ExtResource( 1 )
  14. Hit = ExtResource( 2 )
  15.  
  16. [node name="Line" type="Line2D" parent="."]
  17. modulate = Color( 1, 0.937255, 0.843137, 1 )
  18. points = PoolVector2Array( 0, 0, 0, 10 )
  19. width = 1.0
  20. width_curve = SubResource( 1 )
  21. default_color = Color( 1, 1, 1, 1 )
  22. gradient = SubResource( 2 )
  23. begin_cap_mode = 2
  24. end_cap_mode = 2
  25.  
  26. [node name="RayCast2D" type="RayCast2D" parent="."]
  27. visible = false