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

feat: 重构角色和子弹系统,添加伤害标签和Boss状态条

This commit is contained in:
2025-08-26 13:56:12 +08:00
parent 727c40e1f0
commit 5c64d01f7c
19 changed files with 335 additions and 44 deletions
+9
View File
@@ -0,0 +1,9 @@
class_name MathTool
static func rate(value: float):
return randf() < value
static func randv2_range(offset: float):
return Vector2(
randf_range(-offset, offset),
randf_range(-offset, offset)
)