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

10 Commits

Author SHA1 Message Date
fallingshrimp 857a224f6f refactor(Statemachine): 使用GameRule配置物品展示停留时间
将ItemShow中的硬编码等待时间改为使用GameRule.itemShowStayTime配置
2025-08-28 07:50:13 +08:00
fallingshrimp 8e4b560e82 fix(UI): 修正能量显示格式和动画问题
修复能量标签显示格式从"%.1f"改为"%.2f"
调整BigLaser能量消耗从50改为100
修复ItemShow动画资源顺序错误问题
添加autoFree属性到UI场景中的物品节点
修改FieldShow默认文本从"+0"改为"0"
2025-08-28 07:01:18 +08:00
fallingshrimp 71a77dbdca feat(ItemShow): 为物品展示添加自动释放功能
在ItemShow.generate方法中新增isAutoFree参数,控制物品展示节点是否自动释放。这解决了需要手动管理物品展示节点内存的问题。
2025-08-28 06:55:18 +08:00
fallingshrimp ac809194e7 feat(ItemShow): 添加自动隐藏动画功能
添加autoFree选项和动画播放逻辑,当autoFree为true时自动播放隐藏动画并释放节点
2025-08-28 06:54:08 +08:00
fallingshrimp a29be1e431 feat(UI): 添加物品收集显示功能
- 新增CameraManager脚本用于相机管理
- 在UI场景中添加物品收集容器VBoxContainer
- 扩展ItemShow类支持生成物品显示实例
- 修改EntityBase添加物品收集信号和处理逻辑
- 调整BossBar位置和布局属性
2025-08-28 06:49:50 +08:00
fallingshrimp c5da8d7b5e feat: 添加激光子弹功能,更新相关资源和着色器 2025-08-27 08:09:47 +08:00
fallingshrimp 739be888f3 feat: 更新饲料和面板逻辑,添加香蕉饲料,重构UI组件和状态管理 2025-08-26 22:31:28 +08:00
fallingshrimp 51fc904a6a feat: 添加掉落物功能,更新饲料和物品显示,重构相关UI组件 2025-08-26 20:46:02 +08:00
fallingshrimp 3197fe6048 feat: 更新饲料和物品显示逻辑,添加香蕉饲料场景,重构字段显示功能 2025-08-26 18:44:28 +08:00
fallingshrimp 4a66374e24 Add UI components for Feed and Item displays, including SVG resources
- Introduced FeedCard and FieldShow scenes with corresponding GDScript files for managing feed and item display.
- Added SVG resources for banana and baseball items.
- Updated ItemStore to include mappings for item types and names in Chinese.
- Enhanced FieldShow and ItemShow scripts to dynamically update UI elements based on exported properties.
- Implemented a new Feed class for structured feed data handling.
2025-08-26 18:09:04 +08:00