В рамках переноса полезного из youtube Оригинал - Автор - @godotneers *** Hello Godotneers! Every game revolves around data. Your game may have items, unit types, crafting recipes, dialogue, quests and a lot more. Handling all this with nodes can become quite difficult over time. In this video we are exploring how you can use data models to represent these game elements. We’ll look at a simple implementation of making an item database and improve this by using Godot’s resources to represent our game data. Then we’ll integrate this data in our game to create a pickup, an inventory dialog and even a small crafting system. We’ll also do quite a bit of UI work in the process, so there is a little bit of everything in here. Finally we’re going to look into loading our resources dynamically (e.g. all items from a folder) and we’re checking out an add-on that allows us to edit our item database like a spreadsheet. It’s going to be fun ride, so jump in and happy Godotneering! == Table of Contents == 00:00 Introduction 01:18 A database of items 14:09 Using resources for game data 20:16 Building an inventory dialog 40:41 Creatin a crafting system 1:12:57 Loading resources dynamically 1:22:15 Maintaining a resource database 1:27:08 Conclusion == Useful links == Example project if you want to follow along: Godot UI basics: Godot PCK Explorer: Godot Resource Groups Plugin: Godot Edit Resources as Table Plugin:
Hide player controls
Hide resume playing