Create Interactive Doors in Unity Using Chat GPT

  Рет қаралды 3,626

SpeedTutor

SpeedTutor

Күн бұрын

Пікірлер: 24
@SpeedTutor
@SpeedTutor Жыл бұрын
A lot of requests for me to make this video on how it was made, I hope you find it useful and let me know if you'd like to see anything more in the future! :) 🔥Unity Sales: bit.ly/UnitySalesHub 🔥SpeedTutor Unity Store: bit.ly/STUnityStorePuzzlePacks 🔥HUMBLE SAVINGS: bit.ly/5500PolygonAssetsBundle
@BadBanana
@BadBanana Жыл бұрын
So I surmise you've created a class and a struct, Similar here, I did this for my second game I released and this worked out lovely. Created a class called iInteractable Then structure built into player movement When center of screen raycast touches object mesh Checked to see if mesh has class in its structure. This in a coroutine closed off from the rest firing somewhere to the tune of every fourth of a second. Each object cam have the structure attached via iInteractable either as a custom script I built with editor references and edit possibilities, or added after monobehavior in preexisting scripts The referencing in the editor on each object that's interactive has sections for the ui name displayed Which simply changed a text solutions output to the desired new text rather than having loads of texts in an object and turning them off and on It also had referencing for things like cost of operation Delay Sound clip to play on click etc I was very proud of the system and turned it into all sorts ingame Doors. Wall buy guns. Repairing windows. Vaulting. Ladders. The Bad Banana power up. You get the picture Could have easily had some keys pertain to doors with checks using the same system just adding a new reference in the script. Yes very good my mate Very good
@SpeedTutor
@SpeedTutor Жыл бұрын
Oh awesome, man! How long did it take you to create your system? Do you plan on expanding on it, or is it already fully featured as you'd like?
@BadBanana
@BadBanana Жыл бұрын
@SpeedTutor well.. it was about 5 years ago and only my second full game release so it took me close to two months to write out. But I was learning still and made a lot of mistakes and errors I'd probably rewrite the entire system nowadays in likely a week or so, more scaleable and for sure I'd segregate it so It can be used in multiple projects.
@AstralNostalgia
@AstralNostalgia Жыл бұрын
you can use this approach to combine with a random loot genrator, if you open the door you can loot props , like the elevator action retro game.
@SpeedTutor
@SpeedTutor Жыл бұрын
You definitely could, thanks for the great suggestion! :)
@AstralNostalgia
@AstralNostalgia Жыл бұрын
@@SpeedTutor it is more interesting to make abstract thngs with doors, behaves like a loot system like old retro games where they focus on the maximun mechanics... I meat, those days have not any sence to create a door and behave like a loot chest, but for the core of the abtraction and polymorphism or interface it is cool challenge.
@thatsjustfunny1
@thatsjustfunny1 Жыл бұрын
Glad you're back to making tutorials!
@SpeedTutor
@SpeedTutor Жыл бұрын
Thanks man, I hope you found it useful! :)
@Mr_BreadMan
@Mr_BreadMan Жыл бұрын
Awesome work! Will this be added to the Adventure Puzzle Kit Pack?
@SpeedTutor
@SpeedTutor Жыл бұрын
You're exactly right! I will! :)
@a.technology1446
@a.technology1446 Жыл бұрын
always we got something usefull from ya Matt , Thank u ..
@SpeedTutor
@SpeedTutor Жыл бұрын
You're very welcome, my dude! :)
@alec_almartson
@alec_almartson Жыл бұрын
Really Cool! Thank You.
@SpeedTutor
@SpeedTutor Жыл бұрын
You're very welcome, thanks for watching!
@alec_almartson
@alec_almartson Жыл бұрын
​@@SpeedTutor by the way, I really like your approach for optimizing and perfecting the Tool working in Collaboration with ChatGPT (I work in a similar way). I think I will use your Door System in my future game Prototypes (FPS and 3rd Person - an Adventure Game), giving you the Credit for this Tool, of course.
@GasDudes
@GasDudes Жыл бұрын
I’m ready when you are….we could make a pretty epic prison style game together Matt! 😂
@SpeedTutor
@SpeedTutor Жыл бұрын
Haha, what's the idea?
@FarwalDev
@FarwalDev Жыл бұрын
I was implementing something like this in my horror game, with Coroutine() but I was having problems with the cabinets and this comes JOYITA :3 thank you very much as always.
@SpeedTutor
@SpeedTutor Жыл бұрын
You're very welcome! :) I hope you get it functioning how you want! :)
@RUDERUDYTUTORIALS
@RUDERUDYTUTORIALS Жыл бұрын
Thank you so much.
@SpeedTutor
@SpeedTutor Жыл бұрын
Thanks for watching, was it helpful to you? :)
@lopezangel3315
@lopezangel3315 2 ай бұрын
Pues no le pierdes eh
@SpeedTutor
@SpeedTutor 2 ай бұрын
I'm not sure what you mean?
Unbelievable $1 Assets! (Unity's Dec 24 Mega-Bundle)
8:44
SpeedTutor
Рет қаралды 4,8 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
90+ AWESOME FREE Unity Assets (December 2024 - Asset Store)
4:45
Can BUILD PROFILES Help You In Unity 6 (Build Profiles Tutorial)
5:36
playstation things: how i'm learning blender
5:17
Make, Show, Learn
Рет қаралды 1 М.
105+ AWESOME FREE Unity Assets (November 2024 - Asset Store)
5:05
GPU Resident Drawer In Unity 6 (Improve CPU performance)
6:37
Unity Assets To GET RIGHT NOW! (Black Friday 2024)
8:44
SpeedTutor
Рет қаралды 4,5 М.
Master JSON in Godot: Save Systems, Data Handling, and More!
8:12
Red Indie Games
Рет қаралды 397
How to Use Reference Images in Unity - Modular Dungeons
37:00
Game World Engineer
Рет қаралды 70
GHOST FLYCAM Camera in Unity (New Input System Tutorial)
14:14