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
-
1:01:49
DoItForTheGram
47 minutes agoInsta stream.
782 -
2:27:45
Laura Loomer
3 hours agoEP86: Mitch McConnell Prepares to Undermine Second Trump Administration
22.9K9 -
3:48:08
Right Side Broadcasting Network
1 day agoLIVE: President Trump Holds a Rally in Allentown, PA - 10/29/24
194K8 -
2:18:39
Kim Iversen
5 hours ago“Nostradamus” Pollster Claims HARRIS WILL WIN?!? | UK Operatives Are Working With Harris To SWAY The Election
42.5K4 -
7:49
CapEx
16 hours ago $3.27 earnedInvesting Risks in Japan, KATO Case Study & China Opportunities | CapEx Insider
29.6K -
1:33:42
Glenn Greenwald
5 hours agoSystem Update Retrospective: Glenn DEBUNKS Media Lies
56K22 -
2:33:02
WeAreChange
6 hours agoWOW! Dems’ DESPERATION Sets In, They’re Hitting ROCK BOTTOM
65.2K17 -
DVR
Akademiks
10 hours agoBREAKING: 6ix9ine Arrested by Feds! Young Thug camp considerin PLEA DEAL. Durk knew bout Indictment?
89.3K -
1:17:40
Michael Franzese
8 hours agoKamala Harris' connection to controversial California Senator, Mark Leno
58.3K18 -
1:04:49
Sarah Westall
6 hours agoBail Ins Started & BIS Project MBridge Controlling BRICS & the One World System? w/ Andy Schectman
59.4K5