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

29 Commits

Author SHA1 Message Date
fallingshrimp 4b689e23fb feat(物品收集): 为物品掉落添加收集动画效果
添加动画播放器组件并实现收集时的缩放淡出动画效果,提升物品收集时的视觉反馈
2025-08-28 14:16:58 +08:00
fallingshrimp 9353116450 refactor(UI): 重构BossBar中的等级标签布局
将等级标签"Lv."和"100"放入HBoxContainer中,使布局更合理
2025-08-28 12:58:59 +08:00
fallingshrimp 1f2bac326f fix(UI): 修复EntityStateBar中levelLabel的引用问题
将levelLabel的引用更新为levelLabels以匹配场景中的节点名称,并确保节点在场景树中的唯一性
2025-08-28 12:58:00 +08:00
fallingshrimp 8de262a615 feat(实体系统): 添加敌人等级系统并调整相关UI和游戏规则
为敌人实体添加等级属性,影响生命值和伤害
在状态栏和Boss血条中显示等级信息
调整游戏规则增加难度相关的属性成长系数
修改粒子效果角度和波次生成逻辑
2025-08-28 11:00:19 +08:00
fallingshrimp 05aa736d17 fix(UI): 移除ItemDropped粒子效果的lifetime属性 2025-08-28 10:21:42 +08:00
fallingshrimp a24543e795 fix(UI): 调整掉落物品粒子效果的生命周期为2秒
将GPUParticles2D的lifetime从3.0秒减少到2.0秒,使粒子效果更短暂,避免视觉干扰
2025-08-28 10:20:28 +08:00
fallingshrimp d9a72f3e08 feat(Feed): 更新幸运签语饼属性和掉落物品粒子效果
- 为幸运签语饼添加新字段并调整属性值
- 在ItemDropped场景中添加粒子效果增强视觉表现
- 修复generateCardByQuality方法中weight调用参数缺失问题
2025-08-28 10:18:29 +08:00
fallingshrimp e7ffd6bce2 refactor(UI): 统一饲料名称显示并添加品质标签
将饲料名称从富文本格式改为统一使用displayName字段
添加品质标签显示并调整UI布局为水平排列
更新相关场景文件和脚本以支持新的显示方式
2025-08-28 09:14:39 +08:00
fallingshrimp c4b59a5b3f feat(饲料卡片): 添加饲料品质显示功能
实现饲料品质的枚举定义和颜色映射,修改FeedCardBase使用FeedName组件显示品质
2025-08-28 08:51:08 +08:00
fallingshrimp 4c077af28d fix(UI): 修正ColorBar默认值和DamageLabel文本显示
refactor(Bullets): 调整BigLaser和Diamond的旋转插值系数
feat(EntityBase): 添加掉落物提示概率控制
style(BossBar): 添加currentValue默认值和label对齐方式
docs(GameRule): 新增掉落物提示概率配置项
2025-08-28 08:22:13 +08:00
fallingshrimp 307e3dd63f feat(相机管理): 添加CameraManager类并实现玩家跟随
refactor(物品展示): 修改ItemShow状态机自动隐藏逻辑

feat(游戏逻辑): 添加玩家死亡时的游戏结束界面

style(场景配置): 调整World场景中相机节点位置和偏移

feat(UI): 为ItemShow添加显示动画并更新动画库
2025-08-28 08:15:18 +08:00
fallingshrimp dfbacb0098 feat(UI): 为ColorBar添加currentValue属性并完善boss血条逻辑
为ColorBar组件添加currentValue属性以跟踪当前值。同时修复当设置boss时未正确更新血条显示的问题,确保boss血条在切换目标时能正确显示初始血量。
2025-08-28 07:35:34 +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 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 bf64114633 feat(音效): 添加物品收集音效并改进数值显示
为物品收集添加音效播放功能
在EntityBase.gd中调用playSound("collect")
添加Collect.wav音效文件及导入配置

改进数值显示格式:
- 在MathTool.gd中添加signBeforeStr方法
- 修改FieldShow.gd使用新方法显示带符号的数值
- 调整FieldShow.tscn的UI布局

同时修复MakeFeed.gd中feed显示问题
2025-08-27 21:43:06 +08:00
fallingshrimp c2d3ac8bdb 改了一些东西,大概是哪些我忘了,嗯对 2025-08-27 21:14:06 +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 561e12398a feat: 更新多个组件,调整动画、显示名称和参数,优化游戏体验 2025-08-27 18:56:55 +08:00
fallingshrimp 9e396eef3d Refactor feed components and UI interactions
- Updated various feed components (Cake, Cupcake, Dango, Donut, FruitPlatter, FruitSalad, Milk, Orange, RedJam, Strawberry, Taco, WaterBottle, Xigua-Full, Xigua-Half, YellowJam) to correct names, textures, and display names.
- Modified MakeFeed scene to improve feed selection and display logic, including the addition of skip functionality.
- Enhanced UIState and EntityBase scripts to manage feed counts and selections more effectively.
- Introduced DirTool for directory operations and improved file loading mechanisms.
- Adjusted TickTool for frame-based operations.
2025-08-27 16:33:21 +08:00
fallingshrimp 51fc904a6a feat: 添加掉落物功能,更新饲料和物品显示,重构相关UI组件 2025-08-26 20:46:02 +08:00
fallingshrimp 417ca71de3 Add HarmonyOS Sans font and implement QuickUI for text handling
- Imported HarmonyOS Sans Regular font with appropriate settings for rendering and fallback.
- Created QuickUI script to facilitate the creation of small text labels with optional centering.
- Added new theme resources for big bold text and small text, defining font sizes for RichTextLabel and Label respectively.
2025-08-26 19:35:26 +08:00
fallingshrimp 3197fe6048 feat: 更新饲料和物品显示逻辑,添加香蕉饲料场景,重构字段显示功能 2025-08-26 18:44:28 +08:00
fallingshrimp 7e5a8861ec feat: 删除FeedCard场景,重构Feed类,更新UI组件 2025-08-26 18:15:01 +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
fallingshrimp 5923660195 feat: 添加小鸡角色显示名称,更新Boss状态条和伤害标签逻辑,增强EntityBase类的移动和攻击功能 2025-08-26 14:26:45 +08:00
fallingshrimp 5c64d01f7c feat: 重构角色和子弹系统,添加伤害标签和Boss状态条 2025-08-26 13:56:12 +08:00
fallingshrimp 363aeaf445 init 2025-08-26 09:24:09 +08:00