1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00
Commit Graph

699 Commits

Author SHA1 Message Date
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 ef03aa2922 refactor(Statemachine): 重构实体状态栏和Boss栏逻辑
将EntityStateBar的_ready逻辑移到EntityBase中统一管理
修改BossBar的更新逻辑从_physics_process改为_process
调整Wave配置中Boss的出现波次从8改为1
2025-08-28 07:28:11 +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 71a77dbdca feat(ItemShow): 为物品展示添加自动释放功能
在ItemShow.generate方法中新增isAutoFree参数,控制物品展示节点是否自动释放。这解决了需要手动管理物品展示节点内存的问题。
2025-08-28 06:55: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 87fe5803f4 fix: 修复能量值设置逻辑,确保当前值在最小值和最大值之间
fix: 更新苹果数量,增加至10
2025-08-27 20:48:21 +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 b4d11ee98a fix: 限制能量值为非负,调整伤害造成的能量存储比例 2025-08-27 20:03:57 +08:00
fallingshrimp 27e45b4551 fix: 调整伤害计算和能量存储逻辑,优化冲刺和受伤时的能量管理 2025-08-27 20:00:21 +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 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 51fc904a6a feat: 添加掉落物功能,更新饲料和物品显示,重构相关UI组件 2025-08-26 20:46:02 +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 25497d2dd5 fix: 修复字段值显示逻辑,直接使用值而非字符串转换 2025-08-26 18:44:49 +08:00
fallingshrimp 3197fe6048 feat: 更新饲料和物品显示逻辑,添加香蕉饲料场景,重构字段显示功能 2025-08-26 18:44:28 +08:00
fallingshrimp 7e5a8861ec feat: 删除FeedCard场景,重构Feed类,更新UI组件 2025-08-26 18:15:01 +08:00
fallingshrimp 4a66374e24 Add UI components for Feed and Item displays, including SVG resources
- Introduced FeedCard and FieldShow scenes with corresponding GDScript files for managing feed and item display.
- Added SVG resources for banana and baseball items.
- Updated ItemStore to include mappings for item types and names in Chinese.
- Enhanced FieldShow and ItemShow scripts to dynamically update UI elements based on exported properties.
- Implemented a new Feed class for structured feed data handling.
2025-08-26 18:09:04 +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
fallingshrimp 5923660195 feat: 添加小鸡角色显示名称,更新Boss状态条和伤害标签逻辑,增强EntityBase类的移动和攻击功能 2025-08-26 14:26:45 +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
fallingshrimp df3abdb852 更新EntityBase和Rooster类,添加动画支持并修复变量命名 2025-08-26 10:55:39 +08:00
fallingshrimp 61a4cabf15 更新EntityBase和Rooster类,添加动画支持并修复变量命名 2025-08-26 10:17:38 +08:00
fallingshrimp 363aeaf445 init 2025-08-26 09:24:09 +08:00