1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-05 03:07:12 +08:00

feat: 添加激光子弹功能,更新相关资源和着色器

This commit is contained in:
2025-08-27 08:09:47 +08:00
parent 739be888f3
commit c5da8d7b5e
12 changed files with 107 additions and 11 deletions
+2 -1
View File
@@ -25,7 +25,8 @@ func _process(_delta: float) -> void:
if position.distance_to(spawnInWhere) >= lifeDistance:
destroy()
func _physics_process(_delta: float) -> void:
ai()
if is_instance_valid(launcher) and (launcher.isPlayer() or is_instance_valid(launcher.currentFocusedBoss)):
ai()
func hit(target: Node):
var entity: EntityBase = EntityTool.fromHurtbox(target)