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

68 Commits

Author SHA1 Message Date
fallingshrimp 10fb766425 trae发电 2025-08-28 16:02:58 +08:00
fallingshrimp 766a894879 feat(BigLaser): 降低能量消耗并增强伤害计算
调整BigLaser的能量需求从150降至100,同时根据发射者的攻击速度增强伤害
2025-08-28 15:45:38 +08:00
fallingshrimp 8dc30fb440 fix(Feeds): 修正Puffs组件中fieldValues的数值错误
将fieldValues数组中的第三个值从7.5改为0.08,以匹配实际需求
2025-08-28 15:00:30 +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 4b689e23fb feat(物品收集): 为物品掉落添加收集动画效果
添加动画播放器组件并实现收集时的缩放淡出动画效果,提升物品收集时的视觉反馈
2025-08-28 14:16:58 +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 aa533509a5 feat(UI): 添加显示实体属性的面板和动画效果
添加新的输入动作"showFields"用于显示/隐藏实体属性面板
创建新的FieldShow组件用于显示实体属性值
为属性面板添加显示/隐藏动画效果
调整EntityBase中属性初始化的顺序
2025-08-28 13:58:31 +08:00
fallingshrimp ee76cf9d8d fix(Feeds): 调整幸运签语饼的成本和数量配置
将costs数组从[0, 1, 2]调整为[0, 1],并相应更新costCounts为[165, 50],以平衡游戏经济性
2025-08-28 13:02: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 31426987a2 feat(战斗系统): 增强激光武器效果并添加击退机制
- 增加BigLaser的伤害值和能量消耗
- 为子弹添加击退效果和生成后自动释放功能
- 修改LaserPluse的动画参数并添加锁定发射器脚本
- 调整敌人受击时的能量获取和击退效果
- 更新波次生成配置
2025-08-28 12:34:41 +08:00
fallingshrimp 19a484643d feat(特效): 为BigLaser添加动画效果并调整参数
- 在BigLaser生成时播放"bigLaser"动画
- 增加激光的尺寸和碰撞范围
- 添加BigLaser粒子效果场景
- 调整Wave生成参数
- 在CameraManager中添加动画播放功能
2025-08-28 12:00:09 +08:00
fallingshrimp 9a3f9d7e98 fix(World): 移除多余的shakeOffset属性
该属性未被使用且可能导致不必要的计算开销
2025-08-28 11:17:32 +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 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 a572a77eda feat(游戏平衡): 调整敌人生成和子弹行为
- 将敌人数量增长逻辑移至GameRule并调整计算公式
- 修改鸡的攻击行为,子弹现在会朝向玩家发射
- 调整子弹伤害值和旋转动画
- 减少玩家初始苹果数量并增加敌人掉落苹果数量
- 修改BOSS出现波数为第8波
- 移除无用属性和优化代码结构
2025-08-28 07:45:50 +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 489160a761 忘了(copilot没了 2025-08-27 21:20:58 +08:00
fallingshrimp c2d3ac8bdb 改了一些东西,大概是哪些我忘了,嗯对 2025-08-27 21:14:06 +08:00
fallingshrimp c11738c71e fix: 调整苹果数量,确保掉落数量符合设计要求 2025-08-27 20:49:00 +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 a688fe3b44 Add laser sound effect and implement BigLaser bullet behavior
- Added laserbig.ogg sound effect import configuration.
- Created BigLaser script extending BulletBase with AI targeting and dot application functionality.
2025-08-27 19:59:05 +08:00
fallingshrimp 561e12398a feat: 更新多个组件,调整动画、显示名称和参数,优化游戏体验 2025-08-27 18:56:55 +08:00
fallingshrimp 266947df0d Add Low Boing sound effect import configuration
- Imported "Low Boing.wav" sound effect into the project.
- Created import settings for the audio file, specifying parameters such as audio type, sample rate, and dependencies.
2025-08-27 16:39:07 +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 1a918a7a14 Refactor and update various components and assets
- Updated WaterBottle scene to change field values and costs, and modified avatar texture and display name.
- Removed unused pencil SVG and its import files.
- Updated Chomp sound effect with a new binary file.
- Modified Diamond bullet behavior to improve tracing logic.
- Increased rotation speed for Laser bullet.
- Adjusted Chick and Hen character attack methods to generate bullets without returning prematurely.
- Updated Rooster character to use PurpleCrystal bullet instead of Pencil.
- Enhanced BulletBase with new properties for energy consumption and animation control.
- Adjusted blend position interpolation in EntityBase for smoother movement.
- Added new Star bullet with its scene and script, including animation setup.
- Updated SVG and import files for new Star bullet graphics.
2025-08-27 15:38:30 +08:00
fallingshrimp 2e1d15a0a0 feat: 更新激光材质和着色器参数,优化激光效果 2025-08-27 14:59:27 +08:00
fallingshrimp 9127692146 feat: 添加炸弹效果和着色器,创建新的Bomb效果和相关资源 2025-08-27 14:55:34 +08:00
fallingshrimp 28b86e8b1e feat: 添加子弹生成和动画功能,创建铅笔子弹及其资源 2025-08-27 13:30:50 +08:00
fallingshrimp 873630e969 Add bear-walk-h SVG texture import and create Bear character script
- Added a new texture import configuration for the bear-walk-h SVG file, enabling it to be used as a compressed texture in the project.
- Created a new GDScript file for the Bear character, extending from EntityBase to define its behavior and properties.
2025-08-27 13:05:20 +08:00
fallingshrimp f764f0b3c9 feat: 添加能量属性到角色,更新攻击逻辑以消耗能量 2025-08-27 12:46:20 +08:00
fallingshrimp 23bc9b3e20 Add SVG assets for strawberries and watermelons with import configurations
- Added `strawberry-a.svg` and its corresponding import file `strawberry-a.svg.import`.
- Added `watermelon-a.svg` and its corresponding import file `watermelon-a.svg.import`.
- Added `watermelon-c.svg` and its corresponding import file `watermelon-c.svg.import`.
- Configured texture compression settings for all SVG assets to optimize rendering.
2025-08-27 11:48:54 +08:00
fallingshrimp b3b4fdafc2 Add new styleboxes and import energy texture
- Created a new SVG import for the energy texture, enabling better resource management and compression.
- Added a StyleBoxFlat resource for the top left panel with specified margins, background color, border width, and corner radius.
- Introduced a StyleBoxFlat resource for the top panel with similar properties, ensuring consistent UI design across panels.
2025-08-27 11:08:11 +08:00
fallingshrimp 0648ed75d0 feat: 更新FeedCardBase和Puffs组件,添加编辑锁定元数据 2025-08-27 10:25:14 +08:00
fallingshrimp 730f732ef1 Add import configuration for Chomp.wav audio effect 2025-08-27 10:23:57 +08:00
fallingshrimp 5b2c2f5cf7 feat: 添加新的子弹类型和相关逻辑,更新角色攻击方式,增加无差别伤害选项 2025-08-27 08:58:14 +08:00
fallingshrimp c5da8d7b5e feat: 添加激光子弹功能,更新相关资源和着色器 2025-08-27 08:09:47 +08:00