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
-
19:12
Robbi On The Record
12 hours ago $18.69 earnedThe Loneliness Epidemic: AN INVESTIGATION
61.8K90 -
14:45
Mrgunsngear
1 day ago $110.28 earnedFletcher Rifle Works Texas Flood 30 Caliber 3D Printed Titanium Suppressor Test & Review
107K26 -
17:17
Lady Decade
1 day ago $7.79 earnedMortal Kombat Legacy Kollection is Causing Outrage
70.3K10 -
35:51
Athlete & Artist Show
1 day ago $13.63 earnedIs Ryan Smith The Best Owner In The NHL?
86.5K8 -
22:56
American Thought Leaders
2 days agoCharles Murray: I Thought Religion Was Irrelevant to Me. I Was Wrong.
71.6K39 -
36:22
Brad Owen Poker
13 hours agoGIGANTIC $17,000+ Pot In BOBBY’S ROOM! TRAPPING Top Pro w/FULL HOUSE!! Big Win! Poker Vlog Ep 326
76.7K6 -
3:53
GreenMan Studio
1 day agoRUMBLE RUNDOWN: DREAM HACK SPECIAL W/Greenman Reports
62.3K12 -
1:28
Damon Imani
2 days agoThey Laughed at Trump’s Cognitive Test — Damon Made Them REGRET It!
59.9K39 -
9:14
Freedom Frontline
1 day agoAdam Schiff PANICS As Eric Schmitt Exposes His Dirty Lies LIVE
40.5K82 -
10:32
GBGunsRumble
1 day agoGBGuns Armory Ep 153 Adler Arms AD-9`
27K2