mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-04 18:57:13 +08:00
fix(Bullets/Diamond2): 修复钻石子弹动画和碰撞问题
调整钻石子弹的静态精灵位置和缩放,添加碰撞形状 修复当父节点无效时动画停止逻辑 ``` ```msg feat(Weapons/BlueCrystal): 调整蓝水晶武器属性 增加子弹环绕数量计算公式 降低基础攻击力并增加冷却时间 更新描述文本移除逃逸时间说明
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://chqclu0q4ew46"]
|
||||
[gd_scene load_steps=9 format=3 uid="uid://chqclu0q4ew46"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_slk7q"]
|
||||
[ext_resource type="Script" uid="uid://c1ywds8xwerm3" path="res://scripts/Contents/Bullets/Diamond2.gd" id="2_i4qda"]
|
||||
@@ -46,24 +46,27 @@ _data = {
|
||||
&"spawn": SubResource("Animation_pkqnc")
|
||||
}
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_cusqp"]
|
||||
radius = 6.0827627
|
||||
|
||||
[node name="Diamond2" instance=ExtResource("1_slk7q")]
|
||||
script = ExtResource("2_i4qda")
|
||||
displayName = "钻石"
|
||||
lifeTime = 5000.0
|
||||
autoLoopAnimation = true
|
||||
|
||||
[node name="texture" parent="." index="0"]
|
||||
scale = Vector2(0.6, 0.6)
|
||||
|
||||
[node name="animator" parent="texture" index="0"]
|
||||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_v5jve")
|
||||
}
|
||||
|
||||
[node name="static" type="Sprite2D" parent="texture" index="1"]
|
||||
position = Vector2(70, 0)
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(25, 0)
|
||||
rotation = 1.5707964
|
||||
scale = Vector2(0.7, 0.7)
|
||||
texture = ExtResource("3_pkqnc")
|
||||
|
||||
[node name="hitbox" parent="." index="1"]
|
||||
position = Vector2(43, 0)
|
||||
position = Vector2(25, 0)
|
||||
shape = SubResource("CircleShape2D_cusqp")
|
||||
|
||||
Reference in New Issue
Block a user