HOW TO MAKE AN INVENTORY WITH UNITY & C# - BEGINNER TUTORIAL - 1/2
Ойындар
Welcome to a new tutorial series on how to make an Inventory with unity and C# !
In this first episode we will create the UI for our inventory as well as give the player the ability to pickup items and add them to his inventory !
------------------------------------------------------------------------------------------------------
SUPPORT ME : / blackthornprod
------------------------------------------------------------------------------------------------------
DOWNLOAD the COMPLETE PROJECT : github.com/BlackthornProd/Inv...
UI 101 TUTORIAL : • How to make UI in UNIT...
------------------------------------------------------------------------------------------------------
JOIN THE BTP DISCORD SERVER : / discord
FOLLOW ME on TWITTER : / noacalice
Пікірлер: 409
I have to say man, you're tutorials really have started to kick up my hobby games. I know there's a place for more step-by-step stuff but there's a lot of love for your kind of 'you know the basics, let's get onto it' sort of approach. I was developing an inventory for a text RPG and your approach made it very easy to branch off and figure out what I needed.
This channel has one of the best Tutorials on KZread.
@Blackthornprod
6 жыл бұрын
Thanks so much James for the encouraging comment :) !! I do my best :) !
@ani-gamer320
2 жыл бұрын
How to transform weapon to hand?
Most wanted tutorial ever!
@saumyasaurav159
6 жыл бұрын
Hey How are you?
@AlexanderZotov
6 жыл бұрын
Hi! Not too bad :-) Thanks for asking!
@Blackthornprod
6 жыл бұрын
Thanks mate :) !! A lot of people were asking for this series, I was more than happy to make it !
@AlexanderZotov
6 жыл бұрын
@@Blackthornprod Indeed! This is going to be monumental ;-)
@vorlon478
6 жыл бұрын
Hi i watch your vids
You honestly really helped me over the last few months with your videos. Keep up the amazing work! You definitely deserve more subscribers!
@Blackthornprod
6 жыл бұрын
Thanks for the support :) !! I'm really glad my channel is helping you out on your game creation journey, keep it up :) !
This is brilliant, I'm so glad I found this channel as it's been a really helpful one for my games Keep on making tutorials for all of us :D
@Blackthornprod
6 жыл бұрын
Thanks :) ! I'm definitely keeping it up :) !!
@ani-gamer320
2 жыл бұрын
How to transform weapon to hand?
I really love our tuto. Thanks, I've been waiting this one for ages ! Awesome.
This literally saved my uni project! Thank you so so much! All other tutorials I tried were way too complicated and frustrating. Yours was really nice and well explained for a unity beginner
I love your pace of bringing new videos . It requires a great devotion. Keep it up
Great video! You have a great ability to simply content in a way that makes it digestible and easy understand. Look forward to seeing more.
This was so great! I loved that you explained how the code functions! As a beginner it really helped me understand much better instead of getting daunted with coding! Thank you so much
subbed since like 500 subs i'm really glad that you've got this far!
For God sake, you always make a surprise useful video
srsly this is my best channel, good work dude, keep filling us with such quality content
Yes, I need this because I started actually using unity, this was AMAZING
Thanks so Much Noa! Another Great Tutorial! This helped me to make a simple inventory but also inspired me to create my own styled inventory for my rpg game. Thanks so much!
Outstanding tutorial! If others following this run into a problem with the item object spawning very small inside the UI slot you may have neglected to see, as I did, that the item pickup is the same image yet a different object then the image that you load into your UI space. I.E. the item pickup is a object in world space and the item prefab image that pops into the UI slot is built in UI space and saved as such. In essence, they share the same image yet are different objects.
I never comment on videos but you have made my game possible man, thank you for your well made tutorials
best channel ever i bought your top down shooter udemy course it was great i learned a lot of it thx
Your unity tutorials are awesome! I'm a student learning unity and all your videos are really useful and help a lot! Thanks a lot man :D
dude, I've been searching for a simple inventory for a week, wish I had seen this first. Great video
Must say, probably not for the first time, your art style is delightful. I enjoy and learn from your tutorials, and your discord server is a welcome addition to my active servers. Thank you.
@Blackthornprod
6 жыл бұрын
Thanks mate :) ! I'm so glad you're enjoying my content and the discord server !
awesome tutorial! thank you :D
Awesome video :) !! Thanks so much, this inventory system is just what I needed !
Dude, awsome!!! I´ve seen a lot of tutos, but yours are best
Would love to see a continuation about crafting/ combining items and item stats to make new items with new, combined stats, but this was a great start!
I love your tutorials honestly. I don't know How I'd learn without them
i've found your channel not long ago and i really like your tutorials. All of them simple and understandable for the beginners. Thank you and keep going, you are doing great work. You deserve at least 1m subscribers;)
@Blackthornprod
6 жыл бұрын
HAHA Thanks mate :) !! Those words are so encouraging :) !
The easiest inventory tutorial out there! Thank you BTP!!
Happy to see my little doodle on the top supporter page, I made an account just to support you for the awesome vids you make!
@Blackthornprod
6 жыл бұрын
Thanks so much for the support mate :) ! It's so appreciated !
Nice video, Just started and am ready to go with the tutorial
This tutorial is the most well made, and helpful video I’ve seen
@ani-gamer320
2 жыл бұрын
How to transform weapon to hand?
You make some of the best tutorials ever, thank you so much!
Man you tutorials are so deeply goods. Short, well explained, always working like a piece of cake. Never had a single problem following your process and i've watched almost every tutorial en your channel. I'm not a good english speaker but i hope you i'll understand your best quality in my opinion. You are almost a 80% 2D game dev, if i'm right. But still with your explanation and the quality of your coding every single piece of tutorial you made also work for 3D like a charm. If we listen to your explanation then apply it into unity, everything become simple. I'm making a dark souls like around sorcery with a kind of gameplay like the new SpellBreak br ( for the spell shooting ) and trust me, your channel, your attitude, your intense and good work, make my imagination come true. Ps: if you wan't to check the result of your great explanation in for me in 3D i've made a little vidéo where i showcase the basic really basic core of my magic system, all of this was possible with your tutorial :D THANKS YOU !!!!!!!!!!!
Absolutely awesome you helped me get my inventory working after literal days of looking for help Thank you :)
This is so high quality for how free is! Thanks for the tutorial
Yo dude cheers for the tips it's reallly nice to finally get the basics on how to make a basic inventory thanks
This channel teaches better than any of my teachers. Honestly your videos have saved my ass so many times. Thank you!!
I really love your tutorials and style...you are amazing. Thank you so much for sharing this
Not only is this incredibly helpful...IT IS ADORABLE
I used this video as a reference to make a inventory to show a list of enemies and all their data! thanks great video
This was so good. it helped me get over my coding scare and I could follow along perfectly. also love your video's
As always great tutorial Noah, for those who can't see the image in the slot remember to create the image that shows in the UI as a UI image, and to set that in the inspector in stead of a simple sprite
@lethn2929
4 жыл бұрын
I know it's an old video but I thought I'd drop a note pointing out that note having the button set to a UI Image causes positioning issues as well.
i love ur tutorials thx a lot for your teachings
I have been troubleshooting with the inventory and video for the second time and i got it. thank i love you so much for this. i am currently a beginner i am a 13 year old and i have a lot of love for codding.
Yes yes yes, i'm really waiting for this
Its like you have a list of videos people really want to know how to do lol I like your art and your tutorials are great!!
@Blackthornprod
6 жыл бұрын
Thanks mate :) ! I actually ask people from my discord server what they would like to see most on the channel with regular pools ;D !
awesome, you have a great style of explaining!
Thank you very much! I love your videos and I hope you get more subs :D
easy and usefull especially for game jams, I would do somechanges if i want to use this in production but still super helfull! Good job buddy!
Why do you have so low amount of subscribers, you deserve 1M subscribers! This channel is so underrated!
Holy fuck I love this style! Those graphics are so amazing, I hope I will be able to make something like this one day. Keep doing your videos man!
Another great video! Keep it up!
I like the way you explain. Full on energetic and gentle voice. The video is very inviting. Will be useful.
this person! this person right here is one day gonna work as part of team cherry or nintendo!!!
thank you so much your video was amazing, in just 20 minutes i created my own inventory, love you :D
excellent video I've seen longer tutorials that doesnt explain so well as you thx fr
Welp, just found the best guy out there, thanks for the help!
Dude you did it! Thank you so much
Great job as always keel going you are very great
Nice tutorial. At around 3:45 where you make the for loop to check for empty slots and add the item if empty - this for loop should be in a method on the Inventory script called something like AddItem(GameObject item). That way the code related to the Inventory is in that class and it exposes a simple API: AddItem, UseItem etc.
This helped me so much! (even though I was working in 3D)!!!
Excellent information. I subscribed to your channel and look forward to seeing your other tutorials. Note: the sound from your video when played on my computer wasn't particularly good...not sure why.
Good job man! I know this tutorial is for beginners and you did great explaining it but I think you could have made the bool array private and it takes dynamically the length of the slots array in the awake function. Otherwise nice work and keep it up :)
Didn't know this with double tab. Thanks!
Finally, a tutorial which doesn't take 2 hours
great video cant wait for the next video :P
Great tutorials thank you!
Thank you so much for this tutorial! I was able to learn a lot from this! +1 Sub
This is best tutorial i ever found :D
Thank you so much for the tutorial.
Finally a inventory that is hotbar only and that works with picking up stuff!
As always very nice video ! Continue l'ami !
@Blackthornprod
6 жыл бұрын
Merci beaucoup :) !!
awesome man! thanks :)
love your channel eventough not using unity myself
Damn this taught me a lot lol, thanks (:
You are the fucking best, never stop please. Btw, would you be open to do a 'tips & tricks C# tutorial'? Explaining the most used classes, general concepts, etc.
This is a a really great inventory for smaller games!
@Blackthornprod
6 жыл бұрын
Exactly :) ! Great for beginners or those just wanting to quickly prototype an inventory system for a game jam for example :) !
Awesome! thanks very much!
Thanks Noa! You're Awesome
@Blackthornprod
6 жыл бұрын
And thanks to you for the support :) !! It's really appreciated !
You are just Awesome!!!
U saved my life. Thank you
Great as always
@Blackthornprod
6 жыл бұрын
Thanks mate :) !!
Hi Noa! Splendid tutorial as always! I have a little request : Can you make a tutorial on how to save the inventory? BTW splendid videos, keep it up!
@James-mu8rp
5 жыл бұрын
Daniele Susino do you mean save it so it can be loaded when turning the game of then back on?
So helpful, more tuts please, thanks
Hooray!
DUDE YOU ARE A LIFESAVER :)
@Blackthornprod
6 жыл бұрын
HAHA I'm glad to hear that :) !!
Extremely helpful and modifiable thanks alot.
@ani-gamer320
2 жыл бұрын
How save this inventory?
Your art is really amazing, are you working on something big?
رووعة استمر
My man. This is what I was looking for. This is what I call simple. I was looking for a simple inventory system but all the other tutorials felt bloated and messy. This is nice and tidy.
THANK YOU! SERIOUSLY
It's really a nice video, appreciate your efforts in making it. but I want ask if there is another way of doing the for loop each time you collide with a pick up, I believe its not the best performance. Maybe like a Fixed list of items and you check if its not full then push in it. This is not criticizing really, I just want to open up a discussion to get a best performance Inventory system. Great work man :D .
Really helpful!
@Blackthornprod
6 жыл бұрын
Thanks :) !!
I struggled for a bit before understanding I had to remove the health potion from the UI and place the prefab of item button in pickup script, which was not shown in the video. Without that, I constantly had a health potion in the middle of my screen, hahaha.
@tiarasandtech
2 жыл бұрын
Thank you! I was struggling with this too!
@ez4noobs950
Жыл бұрын
thank you dude
@towel3452
Жыл бұрын
@@ez4noobs950 I finally realized that too but its not showing up in the slot. Any tips?
@CatKouhai
Жыл бұрын
Thank you I was stuck at making the second UI item not show on the game screen, this helped!
Hmm... Maybe I can use this as a deck system. Will give it a try. 😁
@Blackthornprod
6 жыл бұрын
I'm thinking of making a card game tutorial series some time in the future ;D !! But in the mean time this tutorial might help a bit :) !
@MayasMotivation
6 жыл бұрын
Blackthornprod Alright! That sounds awesome! Looking forward to it. 😀
Awesome video! Just wondering, do you use Github? If so, would you consider doing a tutorial on version control?
This is Amazing
Thanks dude!
unlike the other tutorial maker, he's voice is very good ( look like a teacher oof )
Just a quick question, is there any way to replace the "Inventory" data-structure? Apparently, unity cannot identify the type for me, and i'm wondering if theres any other data-structure I can use that will have a similar use.
@uhhhimhungry4077
2 жыл бұрын
yeah i need help with this aswell
@leaf4645
2 жыл бұрын
i just removed the "s" from GameObjects and it fixed it i dunno why
@leaf4645
2 жыл бұрын
oh and remember to spell inventory the same as the inventory script name