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:26:52
The Quartering
2 hours agoFAA Bans Drones, Elon Musk For Speaker Of The House, Fani Willis Humiliated, Disney Drops Woke!
40.1K11 -
1:24:42
Russell Brand
4 hours agoHow the State Department Shapes Global Narratives
91K87 -
50:18
Ben Shapiro
2 hours agoEp. 2108 - Musk, Trump Team Up To KILL Pork Bill
34.6K26 -
1:52:02
vivafrei
6 hours agoLock Liz Cheney Up! Spending Bill MADNESS! Not Just Pork, but GAIN OF FUNCTION! & MORE! Viva Frei
48.8K24 -
55:51
The Dan Bongino Show
6 hours agoWe Are NOT Falling For This Again (Ep. 2391) - 12/19/2024
673K3.02K -
1:57:58
The Charlie Kirk Show
3 hours agoAmericaFest: Day 1 | Bannon, Maloney, Posobiec, O'Keefe | 12.19.24
84.9K7 -
50:08
TheAlecLaceShow
5 hours agoGuests: AG Andrew Bailey & Dr. Michael Schwartz | DOGE Shuts Down Speaker’s CR | The Alec Lace Show
25.8K1 -
LIVE
hambinooo
2 hours agoPUBG DOMINATION
58 watching -
1:03:06
The Rubin Report
4 hours ago‘Piers Morgan’ Goes Off the Rails as 'TYT' Host Attacks Dave with Nasty Insults
60.9K91 -
1:47:50
Steven Crowder
5 hours agoLWC Christmas Special 2024 | Giving Back with Santa Crowder
143K464