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 159389c908 feat(武器系统): 添加七魂武器及相关资源
添加七魂武器系统,包括:
- 七魂武器脚本和场景
- 灵魂子弹脚本和场景
- 相关图片资源和音效
- 修改公鸡角色的武器配置
- 修复子弹基础类的UI状态检测问题
2025-09-25 21:57:32 +08:00
fallingshrimp 3ae184faa8 feat: 添加彩虹猫子弹命中效果和武器平衡调整
- 为彩虹猫子弹添加命中时的爆炸效果和随机旋转
- 调整多个武器的数值平衡,包括BigLaser、VectorStar、LGBT和Meowmere
- 为子弹添加穿透伤害衰减属性
- 更新Meowmere武器的描述和数值
- 添加CatBoom特效场景
- 从Rooster角色中移除部分武器
- 为World场景添加纹理过滤设置
2025-09-21 16:17:49 +08:00
fallingshrimp f58a8ea014 feat(武器): 添加彩虹猫之刃武器及相关资源
添加彩虹猫之刃武器,包含以下内容:
- 新增彩虹猫子弹和武器贴图资源
- 实现彩虹猫子弹和武器逻辑脚本
- 添加武器预制体和相关动画效果
- 在公鸡角色中默认装备该武器
- 修改子弹基类添加AI调用逻辑
2025-09-21 08:26:29 +08:00
fallingshrimp 8fcc742c77 feat: 添加蘑菇矿挖爪武器及其相关功能
添加新的武器蘑菇矿挖爪,包括武器脚本、子弹脚本和场景文件。修改BulletBase.gd以支持新武器的功能,并在Rooster角色中添加该武器。同时设置rooster节点为初始不可见状态。

- 新增MushroomPickaxe武器,具有概率掉落物品的特性
- 修改BulletBase的succeedToHit方法以支持实体参数
- 在Rooster场景中添加新武器
- 设置rooster节点的currentInvinsible属性为true
2025-09-14 22:38:08 +08:00
fallingshrimp 7dbeb7ec19 feat: 添加无敌状态和自定义波次逻辑
- 为EntityBase添加currentInvinsible属性控制无敌状态
- 修改BulletBase.gd在命中时检查目标无敌状态
- 在World.tscn中设置rooster初始为无敌状态
- 添加Wave.gd自定义波次启动逻辑
- 修复currentFocusedBoss未初始化时的空指针问题
2025-09-14 16:20:34 +08:00
fallingshrimp 08f3067c7f feat(游戏结束): 添加子弹显示名称并改进死亡信息显示
- 为所有子弹类型添加displayName属性用于显示
- 修改GameOver面板显示死亡原因,包含子弹名称和发射者
- 更新死亡原因文本格式为富文本样式
- 移除GameOver面板中多余的LabelSettings资源
2025-09-13 20:52:19 +08:00
fallingshrimp 97ec81f05e feat(角色): 添加熊boss的新攻击方式和音效
添加熊boss的四种攻击方式:
1. 箭雨攻击(ArrowSeven)
2. 太阳舞攻击(SunDance)
3. 永恒彩虹攻击(ForeverRainbow)
4. 冲刺攻击(BearSprint)

新增对应攻击音效资源
调整子弹追踪和伤害计算逻辑
添加冲刺粒子特效
2025-09-13 19:55:51 +08:00
fallingshrimp 547e059c5b feat(子弹系统): 将子弹添加到子弹组并调整KukeMC的检测逻辑
- 在BulletBase.gd中为生成的子弹实例添加"bullets"组
- 修改KukeMC.gd的ai逻辑,改为检测"bullets"组而非"bullet"组
- 调整KukeMC的子弹检测距离从100增加到200
- 移除KukeMC对bosses组的检测逻辑
- 在Wave.gd中将默认数据改为testBoss波次并添加KukeMC
- 为KukeMC场景添加脚本并设置初始生命值
2025-09-08 22:35:24 +08:00
fallingshrimp f5db5829a2 refactor: 替换PresetAIs为PresetBulletAI,优化子弹AI逻辑 2025-09-06 18:33:11 +08:00
fallingshrimp 936b2ba200 refactor(追踪系统): 统一使用getTrackingAnchor方法获取追踪目标位置
修改多个子弹脚本和EntityBase,使用统一的getTrackingAnchor方法获取追踪目标位置
在BulletBase中增加目标有效性检查
调整Wave配置和Rooster武器顺序
2025-09-06 14:11:14 +08:00
fallingshrimp 86e14b3bfe feat(子弹系统): 添加子弹追踪功能
在EntityBase.gd中添加BULLET_TRACE字段,并在BulletBase.gd中实现追踪逻辑。FieldStore.gd中新增BULLET_TRACE枚举及相关配置,支持百分比类型的追踪强度设置
2025-09-06 10:51:40 +08:00
fallingshrimp 6cf3c409e3 feat(武器系统): 重构LGBT武器和子弹逻辑
- 修改BulletBase.generate返回子弹实例数组而非数量
- 新增LGBTBoom特效场景
- 降低LGBT武器能量消耗从150降至10
- 移除Rooster角色的攻击方法,改为使用武器系统
- 重构LGBT子弹追踪逻辑,增加追踪时间和效率参数
- 在LGBT武器攻击时设置子弹伤害和追踪目标
2025-09-06 09:01:46 +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 2a8ea238ad refactor(特效系统): 重构爆炸效果并删除旧炸弹资源
将炸弹效果重构为更复杂的爆炸效果,包含粒子系统和着色器动画
删除旧的Bomb.tscn资源文件
添加新的Explosion.gdshader着色器实现爆炸效果
创建Explosion.tscn场景包含粒子效果和动画控制
2025-08-29 12:17:40 +08:00
fallingshrimp 7a56644b45 feat(BulletBase): 添加自动销毁动画功能
为子弹基类添加 autoDestroyAnimation 导出变量,当设置为 true 时会在销毁时播放销毁动画
2025-08-29 11:37:25 +08:00
fallingshrimp 171dbb1131 refactor(BulletBase/EntityBase): 重构子弹和实体属性系统
将子弹的fields属性拆分为独立的speed、damage和penerate变量
为所有子弹和实体添加register方法用于初始化属性
统一攻击冷却时间管理为attackCooldownMap
移除FieldStore中不再使用的Bullet相关枚举和映射
2025-08-29 10:50:22 +08:00
fallingshrimp c322e3b796 refactor(Statemachine): 替换Time.get_ticks_msec为WorldManager.getTime
统一使用WorldManager.getTime获取时间,提高代码一致性并便于未来时间管理逻辑的修改
2025-08-29 10:27:32 +08:00
fallingshrimp 9015d2b723 加了后坐力然后优化了能量显示的逻辑,司马trae 2025-08-28 21:57:04 +08:00
fallingshrimp 99ce9b48dc 修了大激光的dot 2025-08-28 21:14:36 +08:00
fallingshrimp ee86fca442 fix: 修复子弹伤害计算并添加命中成功回调
- 在EntityBase.gd中添加takeDamage方法的返回值
- 修改BigLaser.gd中的applyDot延迟时间计算方式并添加succeedToHit方法
- 在BulletBase.gd中完善伤害处理流程,添加命中回调机制
2025-08-28 15:53:39 +08:00
fallingshrimp 62aa9995a9 feat(游戏机制): 添加幸运值对掉落率、暴击率和穿透率的影响
在GameRule中新增幸运值影响系数,并修改相关计算逻辑:
- 幸运值现在会影响苹果掉落率、暴击率和穿透率
- 更新了EntityBase和BulletBase中的相关计算逻辑
- 添加了GameRule中的相关配置参数
2025-08-28 13:19:42 +08:00
fallingshrimp 31426987a2 feat(战斗系统): 增强激光武器效果并添加击退机制
- 增加BigLaser的伤害值和能量消耗
- 为子弹添加击退效果和生成后自动释放功能
- 修改LaserPluse的动画参数并添加锁定发射器脚本
- 调整敌人受击时的能量获取和击退效果
- 更新波次生成配置
2025-08-28 12:34:41 +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 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 f764f0b3c9 feat: 添加能量属性到角色,更新攻击逻辑以消耗能量 2025-08-27 12:46:20 +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 5b2c2f5cf7 feat: 添加新的子弹类型和相关逻辑,更新角色攻击方式,增加无差别伤害选项 2025-08-27 08:58:14 +08:00
fallingshrimp c5da8d7b5e feat: 添加激光子弹功能,更新相关资源和着色器 2025-08-27 08:09:47 +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 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 51b3359e8d feat: 添加新的角色Hen,更新Chick角色的攻击逻辑,增强Boss状态条和子弹功能 2025-08-26 14:47:12 +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