mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-04 17:22:13 +08:00
fix(子弹): 移除hitbox位置偏移并调整小水晶碰撞半径
移除紫色水晶子弹的hitbox位置偏移属性,使碰撞检测更准确 同时调整小水晶子弹的碰撞半径从2.23607增加到5.0
This commit is contained in:
@@ -26,5 +26,4 @@ lifeTime = 1000.0
|
|||||||
sprite_frames = SubResource("SpriteFrames_r86b3")
|
sprite_frames = SubResource("SpriteFrames_r86b3")
|
||||||
|
|
||||||
[node name="hitbox" parent="." index="1"]
|
[node name="hitbox" parent="." index="1"]
|
||||||
position = Vector2(-33, 0)
|
|
||||||
shape = SubResource("CircleShape2D_ty1as")
|
shape = SubResource("CircleShape2D_ty1as")
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ animations = [{
|
|||||||
}]
|
}]
|
||||||
|
|
||||||
[sub_resource type="CircleShape2D" id="CircleShape2D_gdnkp"]
|
[sub_resource type="CircleShape2D" id="CircleShape2D_gdnkp"]
|
||||||
radius = 2.23607
|
radius = 5.0
|
||||||
|
|
||||||
[node name="PurpleCrystalSmall" instance=ExtResource("1_7tnrb")]
|
[node name="PurpleCrystalSmall" instance=ExtResource("1_7tnrb")]
|
||||||
modulate = Color(1.5, 1.5, 1.5, 1)
|
modulate = Color(1.5, 1.5, 1.5, 1)
|
||||||
@@ -31,5 +31,4 @@ scale = Vector2(0.6, 0.6)
|
|||||||
sprite_frames = SubResource("SpriteFrames_r86b3")
|
sprite_frames = SubResource("SpriteFrames_r86b3")
|
||||||
|
|
||||||
[node name="hitbox" parent="." index="1"]
|
[node name="hitbox" parent="." index="1"]
|
||||||
position = Vector2(-17, 0)
|
|
||||||
shape = SubResource("CircleShape2D_gdnkp")
|
shape = SubResource("CircleShape2D_gdnkp")
|
||||||
|
|||||||
Reference in New Issue
Block a user