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

56 Commits

Author SHA1 Message Date
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
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
fallingshrimp 739be888f3 feat: 更新饲料和面板逻辑,添加香蕉饲料,重构UI组件和状态管理 2025-08-26 22:31:28 +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 66413bd75d Add sound effects and character scripts
- Imported new sound effects: "Low Boing", "Low Whoosh", and "Pew" with corresponding import files.
- Created a new character script for "Hen" with basic AI and attack functionality.
- Implemented an effect controller script for managing particle effects with one-shot functionality.
2025-08-26 15:52:54 +08:00
fallingshrimp 51b3359e8d feat: 添加新的角色Hen,更新Chick角色的攻击逻辑,增强Boss状态条和子弹功能 2025-08-26 14:47:12 +08:00