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

64 Commits

Author SHA1 Message Date
fallingshrimp bd8a7d5d2c feat(音效/特效): 添加角色死亡音效和血液特效
添加多个音效文件并实现角色死亡时的血液粒子效果
调整冲刺逻辑和数值,修复激光子弹的显示位置
为不同攻击类型添加对应音效,增强游戏表现力
2025-08-29 14:29:07 +08:00
fallingshrimp 72b83b909a fix(Chick): 调整攻击方法随机概率权重
将冲刺攻击的概率提高,使其与钻石攻击概率相同
2025-08-29 14:12:02 +08:00
fallingshrimp 90a090135b fix(Chick): 调整攻击方法随机概率,增加钻石攻击几率
将冲刺攻击的概率降低,钻石攻击的概率提高一倍,使战斗行为更平衡
2025-08-29 14:11:48 +08:00
fallingshrimp 685c81e654 feat(游戏结束): 添加失败音效并调整游戏平衡
添加失败音效并在游戏结束时播放
调整小鸡角色的攻击概率和伤害值
恢复初始波次配置为母鸡和小鸡的组合
2025-08-29 14:10:23 +08:00
fallingshrimp 327afcc721 feat(战斗系统): 添加小鸡冲刺攻击技能及相关特效
实现小鸡的冲刺攻击能力,包括:
1. 新增ChickSprint子弹类型及场景
2. 为EntityBase添加拖尾粒子效果
3. 添加攻击蓄力特效和音效
4. 调整小鸡的攻击冷却时间和冲刺倍率
5. 优化TickTool工具类添加until方法
6. 修改世界背景z-index避免遮挡

调整战斗平衡性:
1. 降低默认冲刺倍率
2. 修改测试波次配置
3. 增加新的攻击方式选项
2025-08-29 13:56:31 +08:00
fallingshrimp 5525bcd7bc feat(角色): 添加角色生成时的行走动画
在Chick角色和EntityBase基类中添加spawn方法,用于在角色生成时播放行走动画
2025-08-29 12:51:43 +08:00
fallingshrimp f52f7cda8e feat(子弹): 添加紫色水晶子弹的爆炸效果和销毁逻辑
refactor(子弹基类): 重构销毁逻辑防止重复调用
fix(敌人): 调整小鸡boss的出现波次和激光音效
style(场景文件): 整理动画资源顺序
2025-08-29 12:42:44 +08:00
fallingshrimp 96430162b4 feat(子弹): 调整子弹属性和添加粒子效果
- 提高FireScan子弹的速度和伤害
- 修改Chick角色的攻击距离判定
- 调整ChickLaser的碰撞区域位置
- 将FireScan的碰撞形状改为矩形
- 为Diamond子弹添加粒子效果系统
2025-08-29 11:34:25 +08:00
fallingshrimp 5c16dcc294 feat(子弹): 重构小鸡激光攻击并优化子弹行为
- 替换原有Laser为ChickLaser,实现更华丽的激光效果
- 调整FireScan子弹速度和伤害值
- 优化Diamond子弹追踪逻辑和持续时间
- 新增PresetsAI.lockLauncher方法用于固定子弹位置
- 调整Chick角色的攻击冷却时间和攻击距离判定
2025-08-29 11:17:02 +08:00
fallingshrimp 187100f500 refactor(子弹系统): 将子弹前进逻辑提取到PresetsAI类中
将多个子弹类型的forward调用统一到PresetsAI类中,提高代码复用性
删除LockLauncher.gd文件及部分场景文件中冗余的fields配置
2025-08-29 10:56:33 +08:00
fallingshrimp 171dbb1131 refactor(BulletBase/EntityBase): 重构子弹和实体属性系统
将子弹的fields属性拆分为独立的speed、damage和penerate变量
为所有子弹和实体添加register方法用于初始化属性
统一攻击冷却时间管理为attackCooldownMap
移除FieldStore中不再使用的Bullet相关枚举和映射
2025-08-29 10:50:22 +08:00
fallingshrimp 174f24e3fe feat(子弹系统): 更新激光子弹效果和属性
- 将BigLaser的父场景从LaserCommoner改为LaserSummoner
- 增加激光震动强度从100到150
- 移除succeedToHit方法的伤害加成效果
- 更新激光粒子效果和材质参数
- 修改水杯和蛋糕的字段属性
- 优化调试组件FeedHasField的目标字段
- 更新激光圆圈SVG资源
2025-08-29 09:17:15 +08:00
fallingshrimp 9015d2b723 加了后坐力然后优化了能量显示的逻辑,司马trae 2025-08-28 21:57:04 +08:00
fallingshrimp 77e6711358 加入了暂停,把波次改回原版了 2025-08-28 21:39:15 +08:00
fallingshrimp e40aef85f4 修了很多bug,但是trae司马 2025-08-28 21:30:49 +08:00
fallingshrimp 99ce9b48dc 修了大激光的dot 2025-08-28 21:14:36 +08:00
fallingshrimp 265ea2fe65 加了更好的激光效果,但是trae仍然司马 2025-08-28 21:02:44 +08:00
fallingshrimp 4b037027df 死吗trae不让生成commitmsg,我草你妈的 2025-08-28 18:47:05 +08:00
fallingshrimp 71484bae26 没了 2025-08-28 16:00:08 +08:00
fallingshrimp e9ee73e595 trae发癫了 2025-08-28 15:56:58 +08:00
fallingshrimp ee86fca442 fix: 修复子弹伤害计算并添加命中成功回调
- 在EntityBase.gd中添加takeDamage方法的返回值
- 修改BigLaser.gd中的applyDot延迟时间计算方式并添加succeedToHit方法
- 在BulletBase.gd中完善伤害处理流程,添加命中回调机制
2025-08-28 15:53:39 +08:00
fallingshrimp 766a894879 feat(BigLaser): 降低能量消耗并增强伤害计算
调整BigLaser的能量需求从150降至100,同时根据发射者的攻击速度增强伤害
2025-08-28 15:45:38 +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 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 d28ee8f9d2 fix: 调整子弹追踪旋转速度以改善游戏体验
将子弹追踪旋转的插值系数从0.15降低到0.1,使子弹转向更加平滑。这可以避免子弹在追踪目标时出现过于剧烈的转向,提升游戏体验。
2025-08-28 12:45:54 +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 d58afd6f80 fix(BigLaser): 调整激光旋转的插值速度以改善追踪效果
将lerp_angle的插值系数从0.15调整为0.1,使激光旋转更平滑地追踪鼠标位置
2025-08-28 11:17:53 +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 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 ae77d624b1 fix(子弹): 使用lerp_angle平滑旋转并调整追踪速度
修改BigLaser和Diamond子弹的旋转逻辑,使用lerp_angle实现平滑过渡
调整Diamond子弹的追踪速度系数从0.1提高到0.2
2025-08-28 07:48:21 +08:00
fallingshrimp a572a77eda feat(游戏平衡): 调整敌人生成和子弹行为
- 将敌人数量增长逻辑移至GameRule并调整计算公式
- 修改鸡的攻击行为,子弹现在会朝向玩家发射
- 调整子弹伤害值和旋转动画
- 减少玩家初始苹果数量并增加敌人掉落苹果数量
- 修改BOSS出现波数为第8波
- 移除无用属性和优化代码结构
2025-08-28 07:45:50 +08:00
fallingshrimp ef03aa2922 refactor(Statemachine): 重构实体状态栏和Boss栏逻辑
将EntityStateBar的_ready逻辑移到EntityBase中统一管理
修改BossBar的更新逻辑从_physics_process改为_process
调整Wave配置中Boss的出现波次从8改为1
2025-08-28 07:28:11 +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 d6cd74729b feat: 更新UI和角色逻辑,优化能量条显示和状态管理 2025-08-27 20:47:04 +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 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 a3ae7ae887 fix: 修正Diamond子弹的旋转计算,确保追踪效果更平滑;更新Chick角色的生成参数 2025-08-27 15:41:52 +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 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 23d9020f26 refactor: 移除不必要的_ready函数,优化beforeOpen逻辑以直接显示和处理喂食项 2025-08-27 13:01:01 +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