mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 15:01:53 +08:00
95db9deb3c
实现新的矢量星武器系统,包括武器卡片、子弹行为和粒子效果。主要功能包括: - 添加VectorStarWeapon.gd武器脚本,支持多子弹发射和追踪目标 - 实现VectorStar.gd子弹脚本,包含初始冲刺和后续追踪逻辑 - 添加相关场景资源和配置 - 将新武器添加到公鸡角色的武器库中
56 lines
1.8 KiB
Plaintext
56 lines
1.8 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://ro1df12asa6y"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_fyvdf"]
|
|
[ext_resource type="Script" path="res://scripts/Contents/Bullets/VectorStar.gd" id="2_1u5ed"]
|
|
[ext_resource type="Texture2D" uid="uid://d2pndtow16635" path="res://resources/bullets/lgbt-bullet/造型2.svg" id="2_7b7fr"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_jj20o"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_7b7fr")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="Curve" id="Curve_y5wc0"]
|
|
_data = [Vector2(0, 0.5), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_c22if"]
|
|
curve = SubResource("Curve_y5wc0")
|
|
|
|
[sub_resource type="Curve" id="Curve_r5tug"]
|
|
_data = [Vector2(0.696697, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_6bcs1"]
|
|
curve = SubResource("Curve_r5tug")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_bieyj"]
|
|
particle_flag_disable_z = true
|
|
direction = Vector3(-1, 0, 0)
|
|
spread = 0.0
|
|
initial_velocity_min = 100.0
|
|
initial_velocity_max = 200.0
|
|
gravity = Vector3(0, 0, 0)
|
|
scale_min = 0.5
|
|
scale_max = 0.5
|
|
scale_curve = SubResource("CurveTexture_6bcs1")
|
|
alpha_curve = SubResource("CurveTexture_c22if")
|
|
|
|
[node name="VectorStar" instance=ExtResource("1_fyvdf")]
|
|
script = ExtResource("2_1u5ed")
|
|
lifeDistance = 3000.0
|
|
|
|
[node name="texture" parent="." index="0"]
|
|
rotation = 0.0174533
|
|
sprite_frames = SubResource("SpriteFrames_jj20o")
|
|
|
|
[node name="particles" type="GPUParticles2D" parent="." index="2"]
|
|
amount = 20
|
|
process_material = SubResource("ParticleProcessMaterial_bieyj")
|
|
texture = ExtResource("2_7b7fr")
|