1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-06 19:57:12 +08:00

refactor(子弹): 统一使用baseDamage字段并调整伤害值

修复多个子弹场景中的damage字段为baseDamage
调整部分子弹的伤害值和属性
删除不再使用的Pencil子弹场景
更新动画库引用格式为&前缀
优化部分子弹的碰撞体积和材质
This commit is contained in:
2025-11-22 09:17:59 +08:00
parent 3d74682965
commit 85c4eac2aa
10 changed files with 64 additions and 196 deletions
+11 -10
View File
@@ -1,9 +1,9 @@
[gd_scene load_steps=20 format=3 uid="uid://chlefxyj2ood"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_kwotu"]
[ext_resource type="Script" path="res://scripts/Contents/Bullets/BossAttack/Bear/LightGun.gd" id="2_jid6s"]
[ext_resource type="Script" path="res://scripts/Statemachine/ShaderStage.gd" id="3_or7kk"]
[ext_resource type="Shader" path="res://shaders/BigLaser.gdshader" id="3_y3jot"]
[ext_resource type="Script" uid="uid://c3kvunlhwbwlu" path="res://scripts/Contents/Bullets/BossAttack/Bear/LightGun.gd" id="2_jid6s"]
[ext_resource type="Script" uid="uid://cgb01lelfg73p" path="res://scripts/Statemachine/ShaderStage.gd" id="3_or7kk"]
[ext_resource type="Shader" uid="uid://d3aopn2f23pmi" path="res://shaders/BigLaser.gdshader" id="3_y3jot"]
[ext_resource type="Texture2D" uid="uid://cf065c7jjufq" path="res://resources/bullets/light-express/Ethereal_Lance.webp" id="5_bepne"]
[sub_resource type="Gradient" id="Gradient_ep4dl"]
@@ -157,13 +157,13 @@ tracks/4/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_d5b1d"]
_data = {
"RESET": SubResource("Animation_ufqp1"),
"destroy": SubResource("Animation_oinqg"),
"loop": SubResource("Animation_ynxlt"),
"spawn": SubResource("Animation_kmogx")
&"RESET": SubResource("Animation_ufqp1"),
&"destroy": SubResource("Animation_oinqg"),
&"loop": SubResource("Animation_ynxlt"),
&"spawn": SubResource("Animation_kmogx")
}
[sub_resource type="ShaderMaterial" id="ShaderMaterial_sjtia"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_qwuli"]
shader = ExtResource("3_y3jot")
shader_parameter/laser_color = Color(1, 1, 1, 0)
shader_parameter/width = 1.0
@@ -210,17 +210,18 @@ script = ExtResource("2_jid6s")
allColor = SubResource("GradientTexture1D_aqmnp")
length = 1000.0
displayName = "空灵长枪"
baseDamage = 2.0
autoSpawnAnimation = true
freeAfterSpawn = true
[node name="animator" parent="texture" index="0"]
libraries = {
"": SubResource("AnimationLibrary_d5b1d")
&"": SubResource("AnimationLibrary_d5b1d")
}
[node name="track" type="Node2D" parent="texture" index="1"]
unique_name_in_owner = true
material = SubResource("ShaderMaterial_sjtia")
material = SubResource("ShaderMaterial_qwuli")
rotation = 1.5708
script = ExtResource("3_or7kk")
size = Vector2(10, 2000)