拖尾子弹效果
1 parent 235f115 commit 2942b72ce2044cda8ee58e28c169614f97864949
@小李xl 小李xl authored on 26 Jan 2024
Showing 9 changed files
View
DungeonShooting_Godot/excel/BulletBase.xlsx
Not supported
View
6
DungeonShooting_Godot/prefab/effect/common/Trail0001.tscn
 
[ext_resource type="Script" path="res://src/game/effects/Trail.cs" id="1_i68ib"]
 
[sub_resource type="Curve" id="Curve_fnvhf"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.5), 0.0, 0.0, 0, 0]
point_count = 2
 
[sub_resource type="Gradient" id="Gradient_lp1h8"]
colors = PackedColorArray(0.964706, 0.494118, 0.478431, 1, 0, 0, 0, 1)
offsets = PackedFloat32Array(0.825949, 1)
colors = PackedColorArray(0.96, 0.496, 0.48, 0.705882, 0.960784, 0.494118, 0.478431, 0)
 
[node name="Trail" type="Line2D"]
width = 3.0
width_curve = SubResource("Curve_fnvhf")
View
2
■■■
DungeonShooting_Godot/project.godot
 
[application]
 
config/name="DungeonShooting"
run/main_scene="res://scene/test/TestTrail.tscn"
run/main_scene="res://scene/Main.tscn"
config/features=PackedStringArray("4.2", "C#")
config/icon="res://icon.png"
 
[debug]
View
DungeonShooting_Godot/resource/config/BulletBase.json
View
DungeonShooting_Godot/scene/test/TestTrail.tscn
View
DungeonShooting_Godot/src/game/activity/bullet/normal/TrailBullet.cs
View
DungeonShooting_Godot/src/game/effects/Trail.cs
View
DungeonShooting_Godot/src/game/manager/ResourcePath.cs
View
DungeonShooting_Godot/src/test/TestTrail.cs