mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-12 22:57:13 +08:00
feat(人物): 添加熊角色及其攻击逻辑
- 在EntityBase中修改findWeaponAnchor方法以支持空节点检查 - 实现熊角色的注册、生成和AI行为 - 添加熊角色的攻击动画和武器锚点 - 在Wave数据中添加熊角色作为Boss - 新增熊角色的子弹资源SunDance
This commit is contained in:
@@ -57,12 +57,17 @@ radius = 114.215
|
||||
[node name="Bear" instance=ExtResource("1_3ves7")]
|
||||
script = ExtResource("2_kh2af")
|
||||
|
||||
[node name="texture" parent="." index="1"]
|
||||
[node name="texture" parent="." index="2"]
|
||||
position = Vector2(0, -80)
|
||||
sprite_frames = SubResource("SpriteFrames_6tgxs")
|
||||
animation = &"walk"
|
||||
frame = 3
|
||||
frame_progress = 0.835241
|
||||
|
||||
[node name="hitbox" parent="texture/hurtbox" index="0"]
|
||||
shape = SubResource("CircleShape2D_hekxf")
|
||||
|
||||
[node name="statebar" parent="." index="2"]
|
||||
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
|
||||
|
||||
[node name="statebar" parent="." index="3"]
|
||||
position = Vector2(0, -175)
|
||||
|
||||
Reference in New Issue
Block a user