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

14 Commits

Author SHA1 Message Date
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 c4b59a5b3f feat(饲料卡片): 添加饲料品质显示功能
实现饲料品质的枚举定义和颜色映射,修改FeedCardBase使用FeedName组件显示品质
2025-08-28 08:51:08 +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 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 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