1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-29 07:21:54 +08:00
Commit Graph

8 Commits

Author SHA1 Message Date
fallingshrimp 90fee56b08 fix: 优化ColorBar的前景值更新逻辑 2025-09-06 17:53:11 +08:00
fallingshrimp 0e5262e902 傻逼trae不生成提交信息了 2025-09-06 17:13:34 +08:00
fallingshrimp 73e34e07d2 feat(状态条): 添加血量变化延迟动画和强制同步功能
- 在ColorBar中添加lastChangeTime记录最后变化时间,配合GameRule.detainTime实现血量变化延迟动画
- 新增forceSync方法用于强制同步状态条显示
- 调整EntityBase初始化顺序,确保状态条正确初始化
- 在GameRule中添加detainTime配置项控制动画延迟时间
2025-09-06 16:51:12 +08:00
fallingshrimp 87fe5803f4 fix: 修复能量值设置逻辑,确保当前值在最小值和最大值之间
fix: 更新苹果数量,增加至10
2025-08-27 20:48:21 +08:00
fallingshrimp d6cd74729b feat: 更新UI和角色逻辑,优化能量条显示和状态管理 2025-08-27 20:47:04 +08:00
fallingshrimp 54a4113394 feat: 更新UI组件,添加能量条和颜色条,优化能量管理逻辑 2025-08-27 20:27:01 +08:00
fallingshrimp ef8fd0db9f feat: Enhance game mechanics and structure
- Added `ColorBar` class for visual representation of values.
- Expanded `EntityBase` with new properties: `isBoss` and `weapons`, and implemented damage handling and entity generation methods.
- Updated `EntityStateBar` to use `ColorBar` for health representation.
- Introduced `BulletBase` scene and script for bullet mechanics, including damage handling and generation.
- Created `WorldTool` for managing the game world and root node.
- Implemented `EntityTool` for retrieving entities from hurtboxes.
- Added `GameRule` for managing game rules like friendly fire.
- Updated scene files to reflect new structures and added necessary resources.
2025-08-26 11:39:47 +08:00
fallingshrimp 363aeaf445 init 2025-08-26 09:24:09 +08:00