1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-07 04:07:13 +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
+6 -6
View File
@@ -2,7 +2,7 @@
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_newpt"]
[ext_resource type="Texture2D" uid="uid://cwr2pud7h8o3e" path="res://resources/bullets/meowmere/Meowmere.webp" id="2_ahi5w"]
[ext_resource type="Script" path="res://scripts/Contents/Bullets/Meowmere.gd" id="2_eoimw"]
[ext_resource type="Script" uid="uid://dhv4nd02hoolr" path="res://scripts/Contents/Bullets/Meowmere.gd" id="2_eoimw"]
[sub_resource type="SpriteFrames" id="SpriteFrames_432r6"]
@@ -39,12 +39,12 @@ tracks/0/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_47iyl"]
_data = {
"RESET": SubResource("Animation_q4hki"),
"spawn": SubResource("Animation_jdotg")
&"RESET": SubResource("Animation_q4hki"),
&"spawn": SubResource("Animation_jdotg")
}
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ja03c"]
size = Vector2(56, 250)
size = Vector2(150, 250)
[node name="Meowmere" instance=ExtResource("1_newpt")]
script = ExtResource("2_eoimw")
@@ -58,7 +58,7 @@ sprite_frames = SubResource("SpriteFrames_432r6")
[node name="animator" parent="texture" index="0"]
libraries = {
"": SubResource("AnimationLibrary_47iyl")
&"": SubResource("AnimationLibrary_47iyl")
}
[node name="sword" type="Node2D" parent="texture" index="1"]
@@ -69,5 +69,5 @@ position = Vector2(25, -29)
texture = ExtResource("2_ahi5w")
[node name="hitbox" parent="." index="1"]
position = Vector2(140, 0)
position = Vector2(169.5, 0)
shape = SubResource("RectangleShape2D_ja03c")