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

9 Commits

Author SHA1 Message Date
fallingshrimp f5db5829a2 refactor: 替换PresetAIs为PresetBulletAI,优化子弹AI逻辑 2025-09-06 18:33:11 +08:00
fallingshrimp 40732f2daf fix(子弹效果): 调整紫色水晶爆炸效果的方向和参数
修改紫色水晶爆炸效果的方向、扩散角度和初始速度,使其更符合预期效果。同时增加粒子数量,提升视觉效果。
2025-09-06 16:55:09 +08:00
fallingshrimp c2d5f6565c fix(Bullets): 修正紫色水晶子弹分裂时的旋转角度计算
refactor(Wave): 移除重复的Chick boss生成配置
2025-09-06 09:34:10 +08:00
fallingshrimp 9ea534441b feat(武器系统): 重构武器攻击逻辑并添加音效支持
- 将武器攻击逻辑移至Weapon类中,添加tryAttack方法统一处理冷却和能量消耗
- 为武器添加音效支持,包括攻击音效的播放和管理
- 移除子弹生成时的能量消耗检查,改由武器统一处理
- 调整部分武器的属性和配置,如伤害值和冷却时间
- 修复紫水晶子弹的分裂和折射逻辑错误
2025-09-06 08:50:37 +08:00
fallingshrimp d4501ae45d feat: 添加新武器彩虹旗和紫水晶簇,调整饲料属性和数值
refactor: 重构子弹生成逻辑,支持分裂和折射效果

fix: 修复掉落物拾取范围和碰撞检测问题

style: 优化UI显示,添加武器品质和类型标签

docs: 更新字段描述,调整部分饲料名称和分类

perf: 优化数学工具函数,添加随机数处理工具

test: 调整波次生成逻辑,添加新敌人类型

build: 添加新资源文件和相关导入配置
2025-09-05 22:23:41 +08:00
fallingshrimp a7e05cff65 refactor(bullets): 重命名PresetsAI为PresetAIs并添加地图碰撞检测
将子弹AI预设类从PresetsAI重命名为PresetAIs
为BulletBase添加autoDestroyOnHitMap选项控制地图碰撞销毁
修改多个子弹脚本使用新的PresetAIs类名
为ChickSprint子弹添加地图碰撞伤害逻辑
2025-08-29 18:34:58 +08:00
fallingshrimp f52f7cda8e feat(子弹): 添加紫色水晶子弹的爆炸效果和销毁逻辑
refactor(子弹基类): 重构销毁逻辑防止重复调用
fix(敌人): 调整小鸡boss的出现波次和激光音效
style(场景文件): 整理动画资源顺序
2025-08-29 12:42:44 +08:00
fallingshrimp 187100f500 refactor(子弹系统): 将子弹前进逻辑提取到PresetsAI类中
将多个子弹类型的forward调用统一到PresetsAI类中,提高代码复用性
删除LockLauncher.gd文件及部分场景文件中冗余的fields配置
2025-08-29 10:56:33 +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