|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/inventory-in-godot/
课程评论:没有评论
**课程名称:** Godot 中的物品与商店! **课程概述:** 本课程是《Godot 中的对话与事件》的进阶内容,但同样可以独立学习并应用于任何需要以下功能的项目:拾取物品、添加到背包、丢弃、使用或从背包菜单中装备物品,以及与 NPC 交易物品。 **课程内容亮点:** * **深入讲解物品交互:** 学习多种拾取物品的方法,掌握玩家背包数据的管理,以及如何在 UI 菜单中显示背包内容。 * **灵活的背包操作:** 允许玩家以多种方式与背包进行交互,例如使用、丢弃或装备物品。 * **NPC 交易系统:** 实现与 NPC 的物品交易功能,为游戏增添互动性。 * **可定制的系统:** 最终成果是一个简单的背包系统,其外观和功能都可以轻松定制,以适应不同项目的需求。 * **Godot 核心技能:** 学习 Godot 游戏引擎的实用技能,包括项目组织和可扩展性设计。 * **GDScript 编程:** 使用 GDScript 进行编程,所有内容都将详细解释。 * **面向对象设计:** 应用面向对象设计的原则(继承、封装、抽象、多态),以创建有组织、可定制且可重用的脚本,适用于任何规模的项目。 **技术细节:** * **引擎版本:** Godot 4.2.2 * **编程语言:** GDScript * **项目文件:** 提供 GitHub 链接,方便复习每个章节的项目。 * **素材来源:** * KayKit 的 Character & Dungeon Remastered Packs (Kay Lousberg) * Penzilla 的 Basic GUI Bundle * Shikashi 的 Fantasy Icons Pack * Valenspire 的额外音效 (FreeSound) **目标学员:** 所有希望在 Godot 中实现复杂物品交互、背包系统和 NPC 交易的开发者。 **学习成果:** 掌握创建可扩展、高度可定制的物品和商店系统的能力,并深入理解 Godot 引擎和面向对象编程的应用。
Welcome to my course on Inventory & Shops in Godot!You're welcome to join our discord server to work on this course alongside your peers.This course is a continuation of Dialogue & Events in Godot, but can be followed and applied to any project that involves picking up items, adding them to an inventory, dropping, using, or equipping items from an inventory menu, and trading items with an NPC. In this course, we will cover different methods of picking up items, managing the player's inventory data, displaying their inventory on the UI in a menu, allowing the player to interact with their inventory in different ways, and trading items with NPCs.When you're done, you'll have a simple inventory system for your game that is easily customizable in its presentation and function. You'll also learn useful skills for working with the Godot game engine; organizing and designing your projects to be more scalable. You will be learning how to code with GD script, with everything explained in detail. We will apply object oriented design principles in our scripts; Inheritance, Encapsulation, Abstraction, and Polymorphism, to keep them organized, customizable, and reusable for a project of any size.All of the project files are also available on GitHub if you need to review the project as it was after completing each lesson. These videos were recorded using Godot version 4.2.2. The project starts with assets from KayKit's Character & Dungeon Remastered Packs made by Kay Lousberg, Basic GUI Bundle made by Penzilla, and Fantasy Icons Pack made by Shikashi. All are available to download for free on itch. Extra sound effects made by Valenspire are also included and are available from FreeSound.