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

41 Commits

Author SHA1 Message Date
fallingshrimp 4b037027df 死吗trae不让生成commitmsg,我草你妈的 2025-08-28 18:47:05 +08:00
fallingshrimp ec3251ec9d feat(工具类): 添加百分比转换工具并重构游戏规则数值
在MathTool中添加percent方法用于百分比转换
重构GameRule中所有百分比相关数值,使用MathTool.percent方法
将itemShowStayTime重命名为itemShowLifetime以更准确表达用途
2025-08-28 15:03:12 +08:00
fallingshrimp aa1b13752a fix: 降低每波敌人生命值和伤害的成长比例
调整敌人成长曲线,降低游戏难度。将生命值成长从7.5%降至5%,伤害成长从5%降至2%,使游戏进程更加平滑。
2025-08-28 15:00:56 +08:00
fallingshrimp 8a16a4056f refactor(Feed): 重构Feed信息重建逻辑并调整游戏数值
将Feed的信息重建逻辑提取为rebuildInfo方法以便复用
调整Puffs.tscn中fieldValues的数值从0.075改为7.5
降低敌人每波生命值增长比例从0.1改为0.075
修改World.tscn中动画轨道的中间点数值
2025-08-28 14:59:36 +08:00
fallingshrimp 32f5adfce4 feat: 调整食物属性和游戏平衡参数
修改多种食物的属性值,包括西瓜、泡芙、塔克和牛奶的数值调整
提高敌人每波生命值和伤害增长的百分比
2025-08-28 14:30:27 +08:00
fallingshrimp e669bf1c30 refactor(CameraManager): 重构相机震动系统并添加强度参数
- 移除shaking布尔变量,改用shakeIntensity控制震动强度
- 修改shake方法接受强度参数,支持叠加震动效果
- 简化震动逻辑,移除调试打印语句

feat(ItemDropped): 添加物品自动收集功能

- 当物品与玩家距离小于60时自动收集并销毁
- 调用玩家collectItem方法处理收集逻辑

refactor(EntityBase): 重构物品收集逻辑

- 将物品收集逻辑从信号回调移至collectItem方法
- 移除itemCollected信号及相关UI更新代码
- 简化hurtbox连接逻辑

style(World): 调整动画资源顺序

- 交换两个动画资源的定义顺序
2025-08-28 14:15:01 +08:00
fallingshrimp 62c8f44508 fix: 修复实体属性应用函数未返回默认值的问题
修改FieldStore.gd中entityApplier的函数,确保所有函数都返回true
修复Feed.gd中get方法调用缺少默认参数的问题
2025-08-28 14:05:39 +08:00
fallingshrimp aa533509a5 feat(UI): 添加显示实体属性的面板和动画效果
添加新的输入动作"showFields"用于显示/隐藏实体属性面板
创建新的FieldShow组件用于显示实体属性值
为属性面板添加显示/隐藏动画效果
调整EntityBase中属性初始化的顺序
2025-08-28 13:58:31 +08:00
fallingshrimp 62aa9995a9 feat(游戏机制): 添加幸运值对掉落率、暴击率和穿透率的影响
在GameRule中新增幸运值影响系数,并修改相关计算逻辑:
- 幸运值现在会影响苹果掉落率、暴击率和穿透率
- 更新了EntityBase和BulletBase中的相关计算逻辑
- 添加了GameRule中的相关配置参数
2025-08-28 13:19:42 +08:00
fallingshrimp 53975338a8 fix(GameRule): 调整刷新棒球数量增加的百分比范围
将refreshCountIncreasePercent从Vector2(0.4, 1.1)调整为Vector2(0.2, 0.75),降低游戏难度
2025-08-28 12:46:31 +08:00
fallingshrimp d28ee8f9d2 fix: 调整子弹追踪旋转速度以改善游戏体验
将子弹追踪旋转的插值系数从0.15降低到0.1,使子弹转向更加平滑。这可以避免子弹在追踪目标时出现过于剧烈的转向,提升游戏体验。
2025-08-28 12:45:54 +08:00
fallingshrimp 19a484643d feat(特效): 为BigLaser添加动画效果并调整参数
- 在BigLaser生成时播放"bigLaser"动画
- 增加激光的尺寸和碰撞范围
- 添加BigLaser粒子效果场景
- 调整Wave生成参数
- 在CameraManager中添加动画播放功能
2025-08-28 12:00:09 +08:00
fallingshrimp 0c1ce5b4e2 fix: 限制实体字段的最大值以防止数值溢出
在FieldStore.gd中添加entityMaxValueMap定义各字段的最大值
在Feed.gd中应用clamp确保字段值不超过定义的最大值
2025-08-28 11:26:29 +08:00
fallingshrimp d42ef85507 feat(相机系统): 添加相机震动效果
- 在CameraManager中实现相机震动功能
- 为BigLaser添加触发相机震动的逻辑
- 在World场景中配置震动偏移量参数
2025-08-28 11:14:14 +08:00
fallingshrimp 8de262a615 feat(实体系统): 添加敌人等级系统并调整相关UI和游戏规则
为敌人实体添加等级属性,影响生命值和伤害
在状态栏和Boss血条中显示等级信息
调整游戏规则增加难度相关的属性成长系数
修改粒子效果角度和波次生成逻辑
2025-08-28 11:00:19 +08:00
fallingshrimp d9a72f3e08 feat(Feed): 更新幸运签语饼属性和掉落物品粒子效果
- 为幸运签语饼添加新字段并调整属性值
- 在ItemDropped场景中添加粒子效果增强视觉表现
- 修复generateCardByQuality方法中weight调用参数缺失问题
2025-08-28 10:18:29 +08:00
fallingshrimp 2d2f4f556c feat(属性系统): 添加幸运属性并影响饲料品质概率
添加新的幸运属性(LUCK_VALUE)到实体属性系统中,并修改饲料品质随机权重计算逻辑,使幸运值能够影响高品质饲料的获取概率。同时调整了基础品质权重值,优化了随机分布。

- 在FieldStore中添加LUCK_VALUE枚举和映射
- 在EntityBase中初始化幸运值
- 修改FeedName的weight计算方式,加入幸运值影响因子
- 调整各品质的基础权重值
2025-08-28 09:46:02 +08:00
fallingshrimp 2ec3d535c7 feat(饲料系统): 实现基于品质权重的饲料卡牌生成逻辑
添加 ArrayTool 工具类用于数组操作
在 FeedName 中增加 weight 方法获取品质权重
修改 MakeFeed 的卡牌生成逻辑,根据品质权重进行随机选择
2025-08-28 09:36:01 +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 857a224f6f refactor(Statemachine): 使用GameRule配置物品展示停留时间
将ItemShow中的硬编码等待时间改为使用GameRule.itemShowStayTime配置
2025-08-28 07:50:13 +08:00
fallingshrimp a572a77eda feat(游戏平衡): 调整敌人生成和子弹行为
- 将敌人数量增长逻辑移至GameRule并调整计算公式
- 修改鸡的攻击行为,子弹现在会朝向玩家发射
- 调整子弹伤害值和旋转动画
- 减少玩家初始苹果数量并增加敌人掉落苹果数量
- 修改BOSS出现波数为第8波
- 移除无用属性和优化代码结构
2025-08-28 07:45:50 +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 489160a761 忘了(copilot没了 2025-08-27 21:20:58 +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 28b86e8b1e feat: 添加子弹生成和动画功能,创建铅笔子弹及其资源 2025-08-27 13:30:50 +08:00
fallingshrimp 730f732ef1 Add import configuration for Chomp.wav audio effect 2025-08-27 10:23:57 +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 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 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 96b26f01be feat: 重构World工具,添加WorldManager类,更新波次生成逻辑,增强敌人管理功能 2025-08-26 17:38:45 +08:00
fallingshrimp 9a10e87cb0 Add audio effect and implement FireScan bullet behavior
- Added Rip.wav audio effect to the project.
- Created FireScan bullet script with speed and damage properties.
- Implemented basic AI movement for FireScan bullets.
- Introduced Wave class for managing enemy waves with dynamic counts and spawning logic.
2025-08-26 17:28:20 +08:00
fallingshrimp 5c64d01f7c feat: 重构角色和子弹系统,添加伤害标签和Boss状态条 2025-08-26 13:56:12 +08:00
fallingshrimp 727c40e1f0 feat: Add weapon system and attack functionality to Rooster character
- Introduced a weapons node in EntityBase for weapon management.
- Updated Rooster to include cooldown for attacks and weapon anchoring.
- Implemented attack method in Rooster to generate bullets.
- Enhanced BulletBase with life distance and lifetime properties.
- Created Chick character with animations and integrated into the world.
- Updated PurpleCrystal bullet behavior to move forward based on rotation.
- Refactored EntityBase to use a fields dictionary for attributes.
- Added FieldStore for managing entity-related constants.
- Adjusted GameRule to include bullet speed multiplier.
2025-08-26 12:21:09 +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