mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-08 04:37:13 +08:00
refactor(子弹): 统一使用baseDamage字段并调整伤害值
修复多个子弹场景中的damage字段为baseDamage 调整部分子弹的伤害值和属性 删除不再使用的Pencil子弹场景 更新动画库引用格式为&前缀 优化部分子弹的碰撞体积和材质
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_x6yf7"]
|
||||
[ext_resource type="Texture2D" uid="uid://csdjmin6g22sw" path="res://resources/bullets/star/frames/star.svg" id="2_cke7d"]
|
||||
[ext_resource type="Script" path="res://scripts/Contents/Bullets/Star.gd" id="2_y4b0l"]
|
||||
[ext_resource type="Script" uid="uid://bc2jvevaic06f" path="res://scripts/Contents/Bullets/Star.gd" id="2_y4b0l"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_t53gb"]
|
||||
animations = [{
|
||||
@@ -52,9 +52,9 @@ resource_name = "spawn"
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ls1ie"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_cig5u"),
|
||||
"loop": SubResource("Animation_ynxlt"),
|
||||
"spawn": SubResource("Animation_kmogx")
|
||||
&"RESET": SubResource("Animation_cig5u"),
|
||||
&"loop": SubResource("Animation_ynxlt"),
|
||||
&"spawn": SubResource("Animation_kmogx")
|
||||
}
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_tietk"]
|
||||
@@ -63,6 +63,7 @@ radius = 19.2354
|
||||
[node name="Star" instance=ExtResource("1_x6yf7")]
|
||||
script = ExtResource("2_y4b0l")
|
||||
displayName = "星星"
|
||||
baseDamage = 2.0
|
||||
lifeTime = 1000.0
|
||||
autoLoopAnimation = true
|
||||
|
||||
@@ -72,7 +73,7 @@ sprite_frames = SubResource("SpriteFrames_t53gb")
|
||||
|
||||
[node name="animator" parent="texture" index="0"]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_ls1ie")
|
||||
&"": SubResource("AnimationLibrary_ls1ie")
|
||||
}
|
||||
|
||||
[node name="hitbox" parent="." index="1"]
|
||||
|
||||
Reference in New Issue
Block a user