Premium Only Content

Player Interact with Objects & Resource Signal Bus Tutorial - Godot 4.2
Detailed tutorial showing how to let a player press a key to interact with interactable objects such as a Shop, a Switch, or a Chest. For accessing player data, we can also use Resources with signals to serve as a signal bus for telling user interface nodes when the player is set or updated.
Pre-Tutorial Project
https://drive.google.com/file/d/1nBUQipnn2KMOzkU2jhbu3qEaqryhf2VP/view?usp=drive_link
Finished Project for
➣ Ko-fi ➣ https://ko-fi.com/post/Project-Files-Have-Player-Interact-with-Objects-N4N7ROJ4E
➣ Patreon ➣ https://www.patreon.com/posts/93806682
World Time Plugin ➣ https://linktr.ee/worldtimeplugin
Item Drops Plugin ➣ https://linktr.ee/itemdrops
Grid Building Plugin ➣ https://linktr.ee/gridbuilder
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
https://linktr.ee/ChrisTutorials
https://ko-fi.com/christutorials
https://patreon.com/christutorials
https://chris-tutorials.itch.io/
➣ Art Used in Demos and Devlogs
https://chris-tutorials.itch.io/gatherers-exterior-pack
https://butterymilk.itch.io/tiny-wonder-forest
https://crusenho.itch.io/complete-gui-essential-pack
00:00:00 - What to Expect
00:00:39 - Starting Point
00:01:21 - Player Interacter Component
00:03:01 - Interaction Script
00:06:21 - Interactable Receiving Script
00:07:46 - Fan Interaction Setup
00:11:23 - Setting the Selected Interractable
00:16:31 - Fan Interactable StopInteraction & PrintDebug
00:18:00 - Fan Animations with is_on Toggle
00:27:37 - Shop Interractable
00:31:26 - Create Visual Indicator for Selected Interaction
00:42:32 - Select Closest Interactable on Process Update
00:46:53 - Show Player's Name in Shop
00:48:57 - Show Player's Money in Shop
00:54:23 - Resource Signals to Send Data from Player to UI
01:03:26 - Money Change Button and Making Shop & UI Reactive
01:10:26 - Wrapup
-
1:41:13
The Confessionals
19 hours agoThis Species Is Replicating Through Human Wombs…and No One’s Noticing
11.9K58 -
1:42:33
The Criminal Connection Podcast
18 hours ago $3.27 earnedNICK MORAN Lock Stock SECRETS, Punching Paparazzi & Living with Jason Statham (Honest SNATCH Review)
15.8K2 -
12:38
The Gun Collective
16 hours agoWOW! New Guns that JUST came out!
16.2K2 -
59:21
Trumpet Daily
19 hours ago $7.11 earnedJCPOA 2.0 - Trumpet Daily | Apr. 15, 2025
21.4K11 -
24:56
The Brett Cooper Show
1 day ago $8.73 earnedWhat Hollywood Can Learn From the Minecraft Movie | Episode 22
39.1K52 -
18:23
Michael Franzese
16 hours agoTom Hardy Is Back — And He’s Absolutely Ruthless | Mobland Review
65.7K8 -
3:03:30
TimcastIRL
11 hours agoDemocrats Prep Trip To El Salvador To SAVE MS-13 Gang Member, Bring Terrorist To US | Timcast IRL
252K204 -
2:30:28
Laura Loomer
13 hours agoEP114: Trump Cracks Down On Animal Testing
121K47 -
2:08:29
RiftTV/Slightly Offensive
12 hours ago $28.20 earnedTexas MURDERER Karmelo Anthony Gets $800K House with GOFUNDME MONEY? | Slightly Offensive
84.1K56 -
1:13:18
Glenn Greenwald
13 hours agoTrump Meets with El Salvador's Bukele: A Tyrant or a Model to Copy? Plus: Trump's Proposal to Deport Citizens There | SYSTEM UPDATE #439
148K200