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

  • @thebadshave503
    @thebadshave5035 жыл бұрын

    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.

  • @AbhishekSharma-im6zo
    @AbhishekSharma-im6zo6 жыл бұрын

    This channel has one of the best Tutorials on KZread.

  • @Blackthornprod

    @Blackthornprod

    6 жыл бұрын

    Thanks so much James for the encouraging comment :) !! I do my best :) !

  • @ani-gamer320

    @ani-gamer320

    2 жыл бұрын

    How to transform weapon to hand?

  • @AlexanderZotov
    @AlexanderZotov6 жыл бұрын

    Most wanted tutorial ever!

  • @saumyasaurav159

    @saumyasaurav159

    6 жыл бұрын

    Hey How are you?

  • @AlexanderZotov

    @AlexanderZotov

    6 жыл бұрын

    Hi! Not too bad :-) Thanks for asking!

  • @Blackthornprod

    @Blackthornprod

    6 жыл бұрын

    Thanks mate :) !! A lot of people were asking for this series, I was more than happy to make it !

  • @AlexanderZotov

    @AlexanderZotov

    6 жыл бұрын

    @@Blackthornprod Indeed! This is going to be monumental ;-)

  • @vorlon478

    @vorlon478

    6 жыл бұрын

    Hi i watch your vids

  • @panayiotispetsas7426
    @panayiotispetsas74266 жыл бұрын

    You honestly really helped me over the last few months with your videos. Keep up the amazing work! You definitely deserve more subscribers!

  • @Blackthornprod

    @Blackthornprod

    6 жыл бұрын

    Thanks for the support :) !! I'm really glad my channel is helping you out on your game creation journey, keep it up :) !

  • @RifterPortal
    @RifterPortal6 жыл бұрын

    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

    @Blackthornprod

    6 жыл бұрын

    Thanks :) ! I'm definitely keeping it up :) !!

  • @ani-gamer320

    @ani-gamer320

    2 жыл бұрын

    How to transform weapon to hand?

  • @mirhandil
    @mirhandil6 жыл бұрын

    I really love our tuto. Thanks, I've been waiting this one for ages ! Awesome.

  • @Cat567100
    @Cat567100 Жыл бұрын

    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

  • @vaidikgupta6b967
    @vaidikgupta6b9676 жыл бұрын

    I love your pace of bringing new videos . It requires a great devotion. Keep it up

  • @jonathanfoss7825
    @jonathanfoss78255 жыл бұрын

    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.

  • @aakankshamittra8181
    @aakankshamittra81814 жыл бұрын

    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

  • @skagenmacka_t3444
    @skagenmacka_t34446 жыл бұрын

    subbed since like 500 subs i'm really glad that you've got this far!

  • @junoxii6181
    @junoxii61816 жыл бұрын

    For God sake, you always make a surprise useful video

  • @damdidum2601
    @damdidum26016 жыл бұрын

    srsly this is my best channel, good work dude, keep filling us with such quality content

  • @nostalgia5031
    @nostalgia50314 жыл бұрын

    Yes, I need this because I started actually using unity, this was AMAZING

  • @Voidyn
    @Voidyn4 жыл бұрын

    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!

  • @m.guiliano6128
    @m.guiliano61284 жыл бұрын

    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.

  • @trentonwilson122
    @trentonwilson1223 жыл бұрын

    I never comment on videos but you have made my game possible man, thank you for your well made tutorials

  • @wiesbrone9126
    @wiesbrone91265 жыл бұрын

    best channel ever i bought your top down shooter udemy course it was great i learned a lot of it thx

  • @prismapsychosis8545
    @prismapsychosis85456 жыл бұрын

    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

  • @NotARealPersonBR
    @NotARealPersonBR2 жыл бұрын

    dude, I've been searching for a simple inventory for a week, wish I had seen this first. Great video

  • @beardordie5308
    @beardordie53086 жыл бұрын

    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

    @Blackthornprod

    6 жыл бұрын

    Thanks mate :) ! I'm so glad you're enjoying my content and the discord server !

  • @shirley60921
    @shirley609216 жыл бұрын

    awesome tutorial! thank you :D

  • @footballcreation2031
    @footballcreation20316 жыл бұрын

    Awesome video :) !! Thanks so much, this inventory system is just what I needed !

  • @zeneto2157
    @zeneto21575 жыл бұрын

    Dude, awsome!!! I´ve seen a lot of tutos, but yours are best

  • @juamibenito2558
    @juamibenito25586 жыл бұрын

    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!

  • @GlassPenguin
    @GlassPenguin5 жыл бұрын

    I love your tutorials honestly. I don't know How I'd learn without them

  • @aslanmussayev5243
    @aslanmussayev52436 жыл бұрын

    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

    @Blackthornprod

    6 жыл бұрын

    HAHA Thanks mate :) !! Those words are so encouraging :) !

  • @rashidfarhan6223
    @rashidfarhan62235 жыл бұрын

    The easiest inventory tutorial out there! Thank you BTP!!

  • @not2shabby17
    @not2shabby176 жыл бұрын

    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

    @Blackthornprod

    6 жыл бұрын

    Thanks so much for the support mate :) ! It's so appreciated !

  • @IndieEclipse
    @IndieEclipse6 жыл бұрын

    Nice video, Just started and am ready to go with the tutorial

  • @luciacover9909
    @luciacover99096 жыл бұрын

    This tutorial is the most well made, and helpful video I’ve seen

  • @ani-gamer320

    @ani-gamer320

    2 жыл бұрын

    How to transform weapon to hand?

  • @kirukanya
    @kirukanya4 жыл бұрын

    You make some of the best tutorials ever, thank you so much!

  • @iknowcturne7362
    @iknowcturne73625 жыл бұрын

    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 !!!!!!!!!!!

  • @deathcoredude6565
    @deathcoredude65653 жыл бұрын

    Absolutely awesome you helped me get my inventory working after literal days of looking for help Thank you :)

  • @sonictrain1
    @sonictrain14 жыл бұрын

    This is so high quality for how free is! Thanks for the tutorial

  • @byrondesignsgames2397
    @byrondesignsgames23974 жыл бұрын

    Yo dude cheers for the tips it's reallly nice to finally get the basics on how to make a basic inventory thanks

  • @beepboop4615
    @beepboop46154 жыл бұрын

    This channel teaches better than any of my teachers. Honestly your videos have saved my ass so many times. Thank you!!

  • @jseneque
    @jseneque5 жыл бұрын

    I really love your tutorials and style...you are amazing. Thank you so much for sharing this

  • @jph9696
    @jph9696 Жыл бұрын

    Not only is this incredibly helpful...IT IS ADORABLE

  • @kapkoder4009
    @kapkoder40094 жыл бұрын

    I used this video as a reference to make a inventory to show a list of enemies and all their data! thanks great video

  • @lifelessplaysgames9666
    @lifelessplaysgames96664 жыл бұрын

    This was so good. it helped me get over my coding scare and I could follow along perfectly. also love your video's

  • @Artistica3D
    @Artistica3D5 жыл бұрын

    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

    @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.

  • @ZXMcFly1981
    @ZXMcFly19815 жыл бұрын

    i love ur tutorials thx a lot for your teachings

  • @gamingmodeon5963
    @gamingmodeon59634 жыл бұрын

    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.

  • @praadiiit
    @praadiiit6 жыл бұрын

    Yes yes yes, i'm really waiting for this

  • @terrillwilson1345
    @terrillwilson13456 жыл бұрын

    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

    @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 !

  • @mogastudios4482
    @mogastudios44825 жыл бұрын

    awesome, you have a great style of explaining!

  • @reallpepe1747
    @reallpepe17476 жыл бұрын

    Thank you very much! I love your videos and I hope you get more subs :D

  • @The28studio
    @The28studio6 жыл бұрын

    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!

  • @tijon1350
    @tijon13503 жыл бұрын

    Why do you have so low amount of subscribers, you deserve 1M subscribers! This channel is so underrated!

  • @arlinghardinger859
    @arlinghardinger8596 жыл бұрын

    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!

  • @Rambolink94
    @Rambolink946 жыл бұрын

    Another great video! Keep it up!

  • @vaishnav_mallya
    @vaishnav_mallya5 жыл бұрын

    I like the way you explain. Full on energetic and gentle voice. The video is very inviting. Will be useful.

  • @thewaterleaf7929
    @thewaterleaf79295 жыл бұрын

    this person! this person right here is one day gonna work as part of team cherry or nintendo!!!

  • @marcellodelfiore1361
    @marcellodelfiore1361 Жыл бұрын

    thank you so much your video was amazing, in just 20 minutes i created my own inventory, love you :D

  • @perfilcomentarista2922
    @perfilcomentarista2922 Жыл бұрын

    excellent video I've seen longer tutorials that doesnt explain so well as you thx fr

  • @wizzy7444
    @wizzy74444 жыл бұрын

    Welp, just found the best guy out there, thanks for the help!

  • @andyjh07_
    @andyjh07_6 жыл бұрын

    Dude you did it! Thank you so much

  • @MSarhan
    @MSarhan6 жыл бұрын

    Great job as always keel going you are very great

  • @johnforde7735
    @johnforde77356 жыл бұрын

    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.

  • @tejpatel6652
    @tejpatel66523 жыл бұрын

    This helped me so much! (even though I was working in 3D)!!!

  • @LesP56
    @LesP563 жыл бұрын

    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.

  • @AyoubGharbi
    @AyoubGharbi6 жыл бұрын

    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 :)

  • @RobertHoefig
    @RobertHoefig5 жыл бұрын

    Didn't know this with double tab. Thanks!

  • @cryptacide4814
    @cryptacide48145 жыл бұрын

    Finally, a tutorial which doesn't take 2 hours

  • @pixeljamjar7531
    @pixeljamjar75316 жыл бұрын

    great video cant wait for the next video :P

  • @satobi46
    @satobi462 жыл бұрын

    Great tutorials thank you!

  • @ARAPHELLE
    @ARAPHELLE4 жыл бұрын

    Thank you so much for this tutorial! I was able to learn a lot from this! +1 Sub

  • @mrhates9068
    @mrhates90683 жыл бұрын

    This is best tutorial i ever found :D

  • @brawnie3969
    @brawnie39693 жыл бұрын

    Thank you so much for the tutorial.

  • @muellerhans
    @muellerhans3 жыл бұрын

    Finally a inventory that is hotbar only and that works with picking up stuff!

  • @MOurs-gi2ff
    @MOurs-gi2ff6 жыл бұрын

    As always very nice video ! Continue l'ami !

  • @Blackthornprod

    @Blackthornprod

    6 жыл бұрын

    Merci beaucoup :) !!

  • @ManuelHerrera-ms1gm
    @ManuelHerrera-ms1gm6 жыл бұрын

    awesome man! thanks :)

  • @weitnow
    @weitnow6 жыл бұрын

    love your channel eventough not using unity myself

  • @micr0wav3_able
    @micr0wav3_able2 жыл бұрын

    Damn this taught me a lot lol, thanks (:

  • @Chronomatrix
    @Chronomatrix6 жыл бұрын

    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.

  • @Alexander_Meyer
    @Alexander_Meyer6 жыл бұрын

    This is a a really great inventory for smaller games!

  • @Blackthornprod

    @Blackthornprod

    6 жыл бұрын

    Exactly :) ! Great for beginners or those just wanting to quickly prototype an inventory system for a game jam for example :) !

  • @rafa_guitar
    @rafa_guitar5 жыл бұрын

    Awesome! thanks very much!

  • @syrinekhelifi1130
    @syrinekhelifi11306 жыл бұрын

    Thanks Noa! You're Awesome

  • @Blackthornprod

    @Blackthornprod

    6 жыл бұрын

    And thanks to you for the support :) !! It's really appreciated !

  • @gavrilfilip2818
    @gavrilfilip28185 жыл бұрын

    You are just Awesome!!!

  • @alessandrodanovaro181
    @alessandrodanovaro1814 жыл бұрын

    U saved my life. Thank you

  • @MikeKing710
    @MikeKing7106 жыл бұрын

    Great as always

  • @Blackthornprod

    @Blackthornprod

    6 жыл бұрын

    Thanks mate :) !!

  • @danielesusino9159
    @danielesusino91596 жыл бұрын

    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

    @James-mu8rp

    5 жыл бұрын

    Daniele Susino do you mean save it so it can be loaded when turning the game of then back on?

  • @danielnguyen777
    @danielnguyen7776 жыл бұрын

    So helpful, more tuts please, thanks

  • @skiesquiggles7319
    @skiesquiggles73196 жыл бұрын

    Hooray!

  • @graphicx1000
    @graphicx10006 жыл бұрын

    DUDE YOU ARE A LIFESAVER :)

  • @Blackthornprod

    @Blackthornprod

    6 жыл бұрын

    HAHA I'm glad to hear that :) !!

  • @domedin9894
    @domedin98942 жыл бұрын

    Extremely helpful and modifiable thanks alot.

  • @ani-gamer320

    @ani-gamer320

    2 жыл бұрын

    How save this inventory?

  • @SimonHesjevik
    @SimonHesjevik6 жыл бұрын

    Your art is really amazing, are you working on something big?

  • @yousefabubaker9484
    @yousefabubaker94846 жыл бұрын

    رووعة استمر

  • @waleedbeituni1147
    @waleedbeituni11472 жыл бұрын

    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.

  • @seyma1282
    @seyma1282 Жыл бұрын

    THANK YOU! SERIOUSLY

  • @MohamedAdelQuickDeveloper
    @MohamedAdelQuickDeveloper6 жыл бұрын

    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 .

  • @mirela9974
    @mirela99746 жыл бұрын

    Really helpful!

  • @Blackthornprod

    @Blackthornprod

    6 жыл бұрын

    Thanks :) !!

  • @Dominic1354
    @Dominic13542 жыл бұрын

    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

    @tiarasandtech

    2 жыл бұрын

    Thank you! I was struggling with this too!

  • @ez4noobs950

    @ez4noobs950

    Жыл бұрын

    thank you dude

  • @towel3452

    @towel3452

    Жыл бұрын

    @@ez4noobs950 I finally realized that too but its not showing up in the slot. Any tips?

  • @CatKouhai

    @CatKouhai

    Жыл бұрын

    Thank you I was stuck at making the second UI item not show on the game screen, this helped!

  • @MayasMotivation
    @MayasMotivation6 жыл бұрын

    Hmm... Maybe I can use this as a deck system. Will give it a try. 😁

  • @Blackthornprod

    @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

    @MayasMotivation

    6 жыл бұрын

    Blackthornprod Alright! That sounds awesome! Looking forward to it. 😀

  • @DarthMerlin
    @DarthMerlin6 жыл бұрын

    Awesome video! Just wondering, do you use Github? If so, would you consider doing a tutorial on version control?

  • @momo-zr1tz
    @momo-zr1tz6 жыл бұрын

    This is Amazing

  • @binsonfeng1205
    @binsonfeng12055 жыл бұрын

    Thanks dude!

  • @felinchene0150
    @felinchene01503 жыл бұрын

    unlike the other tutorial maker, he's voice is very good ( look like a teacher oof )

  • @vantagepoint.6237
    @vantagepoint.62374 жыл бұрын

    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

    @uhhhimhungry4077

    2 жыл бұрын

    yeah i need help with this aswell

  • @leaf4645

    @leaf4645

    2 жыл бұрын

    i just removed the "s" from GameObjects and it fixed it i dunno why

  • @leaf4645

    @leaf4645

    2 жыл бұрын

    oh and remember to spell inventory the same as the inventory script name

Келесі