Newer
Older
DungeonShooting / prefab / Bullet.tscn
@小李xl 小李xl on 20 May 2022 697 bytes 枪械的各种属性
[gd_scene load_steps=4 format=2]

[ext_resource path="res://src/weapon/bullet/HighSpeedBullet.cs" type="Script" id=1]

[sub_resource type="Curve" id=1]
_data = [ Vector2( 0, 0.781588 ), 0.0, 0.0, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ]

[sub_resource type="Gradient" id=2]
colors = PoolColorArray( 1, 1, 1, 0.313726, 1, 1, 1, 0.784314 )

[node name="Bullet" type="Node2D"]
script = ExtResource( 1 )

[node name="Line" type="Line2D" parent="."]
points = PoolVector2Array( 0, 0, 0, 10 )
width = 1.0
width_curve = SubResource( 1 )
default_color = Color( 1, 1, 1, 1 )
gradient = SubResource( 2 )
begin_cap_mode = 2
end_cap_mode = 2

[node name="RayCast2D" type="RayCast2D" parent="."]
visible = false