How to Craft Items with Scriptable Objects! (Unity Tutorial)

preview_player
Показать описание
👍 Learn to make awesome games step-by-step from start to finish.
Let's take our Crafting System and make it super easy to add new Items and Recipes using Scriptable Objects!
👇
🌍 Get Code Monkey on Steam!
👍 Interactive Tutorials, Complete Games and More!

Make Your Games Designer Friendly! (Scriptable Objects)

Minecraft Crafting System in Unity

Simple Inventory System in Unity (Store, Use, Stack and Drop Items)

How to Equip Weapons and Items in Unity (Drag, Drop, Inventory)

Build Awesome Easy to Use Tools with Custom Editors!

If you have any questions post them in the comments and I'll do my best to answer them.

See you next time!

#unitytutorial #unity3d #unity2d

--------------------------------------------------------------------

Hello and welcome, I am your Code Monkey and here you will learn everything about Game Development in Unity 2D using C#.

I've been developing games for several years with 7 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.

--------------------------------------------------------------------

Рекомендации по теме
Комментарии
Автор

Let's look at a concrete use case for Scriptable Objects to help make our game more designer friendly.
🌐 Have you found the videos Helpful and Valuable?

CodeMonkeyUnity
Автор

This is SO good on so many levels, theres a lot covered with a nice way of speaking + teaching, thanks for this

JoseORosario
Автор

I think Code Monkey can read minds, I needed an Inventory video and then you upload a video about it

remus
Автор

In September I will officially start my GameDev career. First thing in the to-do list is to become your Patreon supporter! Cannot wait for it! Keep up the great work <3

Alzimovich
Автор

Awesome follow up. I think I am starting to see some useful uses. A dialog database comes to mind.

WelbyCoffeeSpill
Автор

I waited for video like that thank you so much

matrettr
Автор

Awesome video,
Love to see how others use the tools unity provides and learn something new

bluegru
Автор

Imo this tutorial has a great example, the code at 2:16 highlights why scriptable objects should be used.

It’s basically like polymorphism

RandomShowerThoughts
Автор

Thank you! I finally understand scriptable objecta and why to use them. This video and your interfaces video are super game changing for me

overrideFunction
Автор

Code Monkey: "... a whole ton of errors. So let's fix all of them!"
-> Proceeds by commenting almost the whole script

Well, that's how we all prefer to do our bug fixing xD
(Just a joke)

andalox
Автор

Great video as always! Every single video you read my mind, i was just looking for this haha. I just have a question... Using these scriptableObjects to store items data, what would be the best architecture to set the "effects" for item usage? e.g.: A life potion should run a "Cure(HPpoints)" and a Key should run a "Open(Some Gate)". I always have this doubt of how would be a professional way to do it...

thektec
Автор

Nice! The Second part of that other video.

algs
Автор

A very good episode, thx. I find especially usefull, that you show, how to integrate SciptableObjects in an existing program.

Kaikaku
Автор

Thanks for the tutorial. I have one question though. @1:02, is that a blur background behind the character sprite? Can share how to achieve that in unity?

RobertGercia
Автор

There is one kind of huge gotcha with this technique. If you ever get an error in a scripts le object script it won't compile and unity will sometimes lose the reference in game objects. You'll suddenly find nulls where scriptabls objects should be and things will stop working.

I use a much more advanced version of this - I create device profiles for device-specific code (android and iOS), network profiles for different servers (and local file reading and writing counts as a 'server' for this process) and a huge event system where the game object itself is the unity event and I can attach it to script handlers where I need them.

Its a great system... Until I break something and I have to figure out where the references got lost. Then it's a headache.

justinwhite
Автор

Can you make a video about Playerprefs save system
Like
player buy a weapon than click the save button to save the player data what he by

Updates_
Автор

Is there any way to automatically list all ScriptableObjects in asset folder?

sergeybond
Автор

Hey code monkey, I love your vids and I am currently making a game based on your "Endless Runner Level Generator in Unity" video, and I was wandering how I could make a score system based on distance, with a high score and last score. I have been trying to figure it out for almost 2 weeks now, if you could make a video on how to do this it would really mean a lot. thanks for reading this😊

IyaB
Автор

I was waiting for 12:16 so much... and I watched your another video but I cannot find how to make all those effects with sprites. Where should I read more about EditorGUILayout and GUILayout? Thanks

rickloyd
Автор

super stuck haha. how you would go about adding the shotgun you used in your top down shooter to this system?

hatesful
join shbcf.ru