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

16 Commits

Author SHA1 Message Date
fallingshrimp 171dbb1131 refactor(BulletBase/EntityBase): 重构子弹和实体属性系统
将子弹的fields属性拆分为独立的speed、damage和penerate变量
为所有子弹和实体添加register方法用于初始化属性
统一攻击冷却时间管理为attackCooldownMap
移除FieldStore中不再使用的Bullet相关枚举和映射
2025-08-29 10:50:22 +08:00
fallingshrimp 506f0b0924 feat: 添加团子猫饲料和能量系统改进
- 新增团子猫饲料资源及配置
- 扩展FieldStore枚举添加节能和能量再生效率
- 改进EntityBase能量存储和使用逻辑
- 添加WorldManager运行时间追踪功能
2025-08-29 10:26:41 +08:00
fallingshrimp f13edb7f1a refactor(FieldStore): 移除未使用的掉落物重力相关枚举值
重构EntityBase.gd中的字段分组,提升代码可读性
2025-08-29 07:58:52 +08:00
fallingshrimp efa2912ae5 feat(FieldShow): 添加实体视图转换功能及新字段
为FieldShow组件添加useViewCast参数和entity引用,支持通过视图转换函数动态计算显示值
新增DROPPED_ITEM_GRAVITY相关字段到FieldStore
调整ItemDropped状态机的物品移动速度计算参数
2025-08-29 07:54:00 +08:00
fallingshrimp 62c8f44508 fix: 修复实体属性应用函数未返回默认值的问题
修改FieldStore.gd中entityApplier的函数,确保所有函数都返回true
修复Feed.gd中get方法调用缺少默认参数的问题
2025-08-28 14:05:39 +08:00
fallingshrimp 0c1ce5b4e2 fix: 限制实体字段的最大值以防止数值溢出
在FieldStore.gd中添加entityMaxValueMap定义各字段的最大值
在Feed.gd中应用clamp确保字段值不超过定义的最大值
2025-08-28 11:26:29 +08:00
fallingshrimp d9a72f3e08 feat(Feed): 更新幸运签语饼属性和掉落物品粒子效果
- 为幸运签语饼添加新字段并调整属性值
- 在ItemDropped场景中添加粒子效果增强视觉表现
- 修复generateCardByQuality方法中weight调用参数缺失问题
2025-08-28 10:18:29 +08:00
fallingshrimp 2d2f4f556c feat(属性系统): 添加幸运属性并影响饲料品质概率
添加新的幸运属性(LUCK_VALUE)到实体属性系统中,并修改饲料品质随机权重计算逻辑,使幸运值能够影响高品质饲料的获取概率。同时调整了基础品质权重值,优化了随机分布。

- 在FieldStore中添加LUCK_VALUE枚举和映射
- 在EntityBase中初始化幸运值
- 修改FeedName的weight计算方式,加入幸运值影响因子
- 调整各品质的基础权重值
2025-08-28 09:46:02 +08:00
fallingshrimp 489160a761 忘了(copilot没了 2025-08-27 21:20:58 +08:00
fallingshrimp 54a4113394 feat: 更新UI组件,添加能量条和颜色条,优化能量管理逻辑 2025-08-27 20:27:01 +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 730f732ef1 Add import configuration for Chomp.wav audio effect 2025-08-27 10:23:57 +08:00
fallingshrimp 3197fe6048 feat: 更新饲料和物品显示逻辑,添加香蕉饲料场景,重构字段显示功能 2025-08-26 18:44:28 +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 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