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

18 Commits

Author SHA1 Message Date
fallingshrimp 4e3425eda9 refactor: 重构资源路径和组件结构
- 将attackstar.svg从UI目录移动到resources/common目录
- 将VerticalColorBar.tscn从UI/Variants目录移动到根components目录
- 将LaserSummoner.tscn从Bullets/Common目录移动到Bullets根目录
- 移除调试日志打印语句
- 优化ItemStore.gd的getTexture方法默认值处理
- 更新相关场景和脚本中的资源引用路径
- 添加FeedFilter调试工具组件
- 优化ComponentManager初始化逻辑
2025-09-21 13:56:50 +08:00
fallingshrimp d54c050be9 refactor(资源管理): 集中资源加载逻辑到ComponentManager
将分散在各处的资源加载逻辑统一到ComponentManager中管理
添加对UI组件、主题、物品纹理和饲料的集中管理
移除SkillIconBase.tscn并迁移到UI目录
2025-09-21 13:34:51 +08:00
fallingshrimp 4c5842fb9e refactor(资源加载): 将preload替换为load以优化内存使用
统一使用load方法动态加载资源,减少启动时的内存占用
移动Manager类到Tools/Managers目录下
修复DirTool处理remap文件的问题
2025-09-21 12:53:15 +08:00
fallingshrimp 47608ed847 feat: 为角色添加显示名称并完善面板功能
为熊、公鸡、母鸡等角色添加displayName属性
修改FullscreenPanelBase及相关面板以支持参数传递
完善GameOver面板显示凶手信息功能
调整部分角色的节点索引和状态栏位置
2025-09-07 13:39:50 +08:00
fallingshrimp f387e206d5 feat: 增加FieldShow组件的maxed属性,优化最大值显示逻辑 2025-09-06 19:29:46 +08:00
fallingshrimp e40aef85f4 修了很多bug,但是trae司马 2025-08-28 21:30:49 +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 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 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 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 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 23d9020f26 refactor: 移除不必要的_ready函数,优化beforeOpen逻辑以直接显示和处理喂食项 2025-08-27 13:01:01 +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 739be888f3 feat: 更新饲料和面板逻辑,添加香蕉饲料,重构UI组件和状态管理 2025-08-26 22:31:28 +08:00