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
-
14:05
Sideserf Cake Studio
23 hours ago $19.00 earnedHYPERREALISTIC HAND CAKE GLOW-UP (Old vs. New) 💅
69.5K12 -
28:37
marcushouse
1 day ago $10.94 earnedSpaceX Just Dropped the Biggest Starship Lander Update in Years! 🤯
36K15 -
14:54
The Kevin Trudeau Show Limitless
3 days agoThe Hidden Force Running Your Life
124K27 -
2:16:35
DLDAfterDark
12 hours ago $15.46 earnedIs The "SnapPocalypse" A Real Concern? Are You Prepared For SHTF? What Are Some Considerations?
37.9K15 -
19:58
TampaAerialMedia
23 hours ago $10.96 earnedKEY LARGO - Florida Keys Part 1 - Snorkeling, Restaurants,
50.6K23 -
1:23
Memology 101
2 days ago $10.53 earnedFar-left ghoul wants conservatives DEAD, warns Dems to get on board or THEY ARE NEXT
39.6K77 -
3:27:27
SavageJayGatsby
14 hours ago🔥🌶️ Spicy Saturday – BITE Edition! 🌶️🔥
63.7K7 -
26:09
Exploring With Nug
23 hours ago $12.98 earned13 Cold Cases in New Orleans What We Discovered Beneath the Surface!
57.6K28 -
27:39
MYLUNCHBREAK CHANNEL PAGE
18 hours agoDestroying Time.
140K44 -
3:27:19
Mally_Mouse
14 hours ago🌶️ 🥵Spicy BITE Saturday!! 🥵🌶️- Let's Play: Minecraft Christmas Adventure!!
136K13