Newer
Older
DungeonShooting / prefab / Bullet.tscn
@小李xl 小李xl on 17 May 2022 675 bytes 目录结构更改
[gd_scene load_steps=4 format=2]

[ext_resource path="res://src/gun/bullet/Bullet.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="Line2D" type="Line2D"]
points = PoolVector2Array( 0, 0, 100, 0 )
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
script = ExtResource( 1 )

[node name="RayCast2D" type="RayCast2D" parent="."]
visible = false
rotation = 4.71239
enabled = true