Gameplay Interaction by Equipment and Effectible Object Types - Godot 4 Resource Gathering Tutorial
Chris' Tutorials
When you have equipped items, you want them to be able to interact with different objects depending on what kind of item you have equipped. A sword could effect enemies but a pickaxe would harvest rocks or ore. In this tutorial, I show how to give typing to your items and target resource nodes by using Godot 4 resource files as types for your in game objects.
Series Playlist ➣ https://www.youtube.com/playlist?list=PLyH-qXFkNSxlANk9EwZmbtECBfbHeW68- Full Project with Scripts, Assets, and Art Pack ➣ https://ko-fi.com/s/e848d87222 Art Pack ➣ https://chris-tutorials.itch.io/gatherers-exterior-pack Final Scripts ➣ https://ko-fi.com/post/All-Scripts-for-Resource-Gathering-RPG-in-Godot-4-M4M0LCB9V
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me https://linktr.ee/ChrisTutorials https://ko-fi.com/christutorials https://chris-tutorials.itch.io/
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me https://linktr.ee/ChrisTutorials https://ko-fi.com/christutorials https://chris-tutorials.itch.io/
00:00 - Harvesting Tool 07:53 - Giving Types to Resource Nodes 11:35 - Checking Node Type for Tool Harvesting 18:30 - Pickup Object for Harvested Resources ... https://www.youtube.com/watch?v=4Y651zxiOb8
65528269 Bytes