1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-11 14:17:13 +08:00

refactor(武器系统): 重构VectorStar武器和子弹逻辑

调整VectorStar子弹的移动逻辑,移除forwarded变量并优化速度计算
修改VectorStar武器的属性计算公式,调整基础值和成长系数
更新VectorStar场景配置,调整攻击力、冷却时间等参数
将Rooster角色的默认武器替换为VectorStar
This commit is contained in:
2025-12-22 15:37:24 +08:00
parent 92cedf08b6
commit 747b057b22
5 changed files with 20 additions and 25 deletions
+3 -2
View File
@@ -1,7 +1,7 @@
[gd_scene load_steps=12 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="Script" uid="uid://cscu6wr43h3ky" 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"]
@@ -54,6 +54,7 @@ alpha_curve = SubResource("CurveTexture_c22if")
[node name="VectorStar" instance=ExtResource("1_fyvdf")]
script = ExtResource("2_1u5ed")
lifeDistance = 2000.0
autoDestroyOnHitMap = false
[node name="texture" parent="." index="0"]
rotation = 0.0174533
@@ -61,5 +62,5 @@ sprite_frames = SubResource("SpriteFrames_jj20o")
[node name="particles" type="GPUParticles2D" parent="." index="2"]
amount = 20
process_material = SubResource("ParticleProcessMaterial_bieyj")
texture = ExtResource("2_7b7fr")
process_material = SubResource("ParticleProcessMaterial_bieyj")