Data models - using data to create extensible, maintainable games in Godot

Godotneers
Godotneers
114.8 هزار بار بازدید - 6 ماه پیش - Hello Godotneers! Every game revolves
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: https://github.com/godotneers/game-da...
Godot UI basics: Godot UI Basics - how to build beauti...
Godot PCK Explorer: https://github.com/DmitriySalnikov/Go...
Godot Resource Groups Plugin: https://github.com/derkork/godot-reso...
Godot Edit Resources as Table Plugin: https://github.com/don-tnowe/godot-re...
6 ماه پیش در تاریخ 1402/11/08 منتشر شده است.
114,828 بـار بازدید شده
... بیشتر