Equipable Items - Swap Gathering Tool or Weapons with Gdscript - Godot 4 Tutorial
Setup a slot for items equipped to the hand and switch between hand items by using gdscript code in Godot 4. This tutorial shows how to use the tool annotation in Godot 4 to let code like swapping sprites on set run both in the editor and in game. Be careful with using the tool annotation though, code running in the editor can make permanent changes to your project which is useful when done write and potentially dangerous to your project when written incorrectly.
Series Playlist ➣ https://www.youtube.com/playlist?list=PLyH-qXFkNSxlANk9EwZmbtECBfbHeW68-
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
Full Project with Art Pack ➣ https://ko-fi.com/post/Full-Project-and-Assets-for-Resource-Gathering-RPG-G2G7LCBBS
➣ 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 - Hitting Resource Node with Equipped Tool
04:18 - Equipable Items
11:29 - Equipped Item Setter to Update Sprite Texture
13:48 - @tool Annotation - Update Sprite in Editor with Code
15:02 - @tool Node Access Limitations
-
13:07
Evenout
12 hours agoStealing Jordan 1 OG Then Re-Appearing With a Different Shoes Twin Prank!
55.6K10 -
1:20:26
Winston Marshall
1 day agoUNCOVERED: Legal System Weaponised - Trump, Hunter, Bannon & Biden | The Winston Marshall Show #020
97.1K159 -
16:09
Chicks in the Office
14 hours agoOur Top 12 Songs On Repeat This Week - Music You Can't Miss
85.4K37 -
2:23:05
Gigi Young
2 days agoLecture: The Mystery of Death
77K5 -
1:01:15
The Dan Bongino Show
17 hours agoSUNDAY SPECIAL with Mike Benz, Scott Presler, Julie Kelly and Jim Verdi - 06/23/2024
242K485 -
31:41
Standpoint with Gabe Groisman
17 hours agoEp. 32. Libs of TikTok. Chaya Raichik
93.6K50 -
35:24
Squaring The Circle w/ Randall Carlson
1 day ago#009 Are Sea Levels REALLY Rising? Pt 2 - Squaring the Circle: A Randall Carlson Podcast
118K71 -
14:23
Freakin' Reviews
1 day agoPan Wars! $90 Caraway vs $8 Martha Stewart!
92.6K18 -
4:21
ParisDemers
1 day agoScientific Trick That Increases Your Testosterone 400% In 7 Days!
100K36 -
16:30
CarlCrusher
1 day agoPsychic Witches Perform Conjuring Seance at Skinwalker's Evil Twin Ranch near Area 51
92.4K30