在这个项目中,我主导设计了游戏的主要场景,打造了一个动态的厨房场景,玩家可以与各有喜好的客户进行互动。客户会提出需求,玩家需要按时交付菜品,客户会根据菜品的等级和满意度给予金钱。在 UI 交互界面方面,我设计了游戏菜单界面,包含开始游戏、重置、退出等选项,布局直观;烹饪界面展示食材和烹饪过程,支持实时反馈与互动;背包界面使用缓冲池优化性能,快速加载和展示物品信息;商店界面允许玩家浏览和购买物品,支持动态更新。为了确保游戏各模块之间的协调,我实现了一个单例的 Manager 类用于全局逻辑处理和状态管理。在数据存储方面,我采用 Json 存储动态数据,Excel 用于静态数据,结合两者实现物品的存储和修改功能。在 UI 实现上,我使用 UGUI 构建游戏界面,通过 UI 框架管理不同的 UI 元素,提高了界面的维护效率。同时,我通过 Animation 系统实现玩家与物品 UI 的动画状态切换,增强了游戏体验的沉浸感。
In this project, I took the lead in designing the main game scenario, creating a dynamic kitchen scene where players can interact with customers with different preferences. Customers will make requests, and players need to deliver dishes on time. Customers will give money based on the dish level and satisfaction. Regarding the UI interaction interface, I designed the game menu interface, which includes options such as start game, reset, and exit, with an intuitive layout. The cooking interface displays ingredients and the cooking process, supporting real - time feedback and interaction. The backpack interface uses a buffer pool to optimize performance and quickly load and display item information. The store interface allows players to browse and purchase items, supporting dynamic updates. To ensure the coordination between different game modules, I implemented a singleton Manager class for global logic processing and state management. In terms of data storage, I used Json to store dynamic data and Excel for static data, combining them to achieve the storage and modification functions of items. For UI implementation, I used UGUI to build the game interface and managed different UI elements through the UI framework, improving the interface maintenance efficiency. At the same time, I used the Animation system to realize the animation state switching between players and item UI, enhancing the immersive experience of the game.