1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

feat(子弹): 添加BlockWall子弹类型并实现击退效果

为CyberCat角色添加新的攻击类型3,发射BlockWall子弹
修改子弹资源为长条形并调整碰撞形状
实现子弹命中后的击退效果
This commit is contained in:
2026-04-05 21:09:47 +08:00
parent 1a78d5b82b
commit 1910f10e9a
6 changed files with 153 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
extends BulletBase
class_name BlockWallBullet
func succeedToHit(_dmg: float, entity: EntityBase):
entity.impluse(Vector2.from_angle(rotation) * 1000)
@@ -0,0 +1 @@
uid://b6bkhv8nc1ao3