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
-
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
323 watching -
2:15:09
Badlands Media
17 hours agoOnlyLands Ep. 27: Power Hour Hangover, Trump’s Wartime Shift, and Portland in Flames
113K26 -
22:21
DeVory Darkins
7 hours ago $17.63 earnedRioters attack Portland ICE Facility as Democrats make shocking admission
22.8K89 -
2:06:06
TimcastIRL
10 hours agoTrump DOJ Announces INTERVENTION In Portland Over Nick Sortor Arrest | Timcast IRL
238K389 -
6:53:58
SpartakusLIVE
11 hours ago#1 All-American HERO with LUSCIOUS hair and AVERAGE forehead brings Friday Night HYPE
68.9K7 -
3:06:43
Laura Loomer
9 hours agoEP147: Islamic Terror EXPLODES In The West After UK Synagogue Attack
52.9K43 -
1:02:50
Flyover Conservatives
15 hours agoEric Trump: America’s Most Subpoenaed Man SPEAKS OUT! | FOC Show
45.8K14 -
3:36:44
PandaSub2000
1 day agoSuper Mario Galaxy 1 & 2 | ULTRA BEST AT GAMES (Original Live Version)
35K3 -
1:26:04
Glenn Greenwald
13 hours agoJournalist Ken Klippenstein on Trump's New Domestic Terrorism Memo; Glenn Takes Your Questions on Bari Weiss's CBS Role, His Interview with Nick Fuentes, and More | SYSTEM UPDATE #526
101K86 -
3:49:14
SynthTrax & DJ Cheezus Livestreams
2 days agoFriday Night Synthwave 80s 90s Electronica and more DJ MIX Livestream GOTH NIGHT Special Edition
57.9K6