1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-08 04:37:13 +08:00

feat: 添加炸弹效果和着色器,创建新的Bomb效果和相关资源

This commit is contained in:
2025-08-27 14:55:34 +08:00
parent 28b86e8b1e
commit 9127692146
11 changed files with 86 additions and 16 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ extends BulletBase
class_name Diamond
func ai():
var tracing = Time.get_ticks_msec() - spawnInWhen < 1000
var tracing = timeLived() < 1000
if tracing:
rotation = lerp_angle(rotation, position.angle_to_point(launcher.currentFocusedBoss.position), 0.1)
canDamageSelf = !tracing
+6
View File
@@ -1 +1,7 @@
extends BulletBase
func spawn():
await TickTool.millseconds(1000)
hitbox.disabled = false
func ai():
texture.global_rotation = 0