Lets advance our inventory system by allowing for stacking and splitting our items! We'll be working off of the previous videos below:
Menu UI: • Menu UI with Tab Switching - Top Down Unit...
Save System: • EASY Save System for your Game - Top Down ...
Inventory: • Drag and Drop Inventory UI - Top Down Unit...
Inventory Saving: • How to Save Items Positions in your Invent...
Item Pickup: • Pickup Items and Add to Inventory UI - Top...
Item Dropping: • Drop Items from Inventory (+Bounce FX!) - ...
Get the Code: / stack-and-split-126349264
Download the Top Down Template🐸: https://gamecodelibrary.itch.io/top-d...
Full Playlist: • Top Down Tutorial Series - Unity 2D
Sprite sheet: https://pixel-boy.itch.io/ninja-adven...
All source code for all videos I have made and will make in the future can be found on my Patreon:
/ gamecodelibrary
If you have any suggestions, feedback or questions, be sure to comment below! Any opinions will help me out on this journey ♡
Check out the full platformer playlist!
• FULL Platformer Tutorial Series - Unity 2D
BUY THE COMPLETE PLATFORMER GAME TEMPLATE NOW!!!
https://gamecodelibrary.itch.io/2d-pl...
/ shop
#unity #gamedev #gamedevelopment #unity2d #topdown
0:00 - Intro
0:31 - Quantity Text
1:29 - Item Script
4:17 - InventorySaveData Script
4:38 - InventoryController Script
7:51 - Stacking on Pickup Test
8:27 - ItemDragHandler Script (1)
13:42 - Make InventoryController an Instance
14:11 - ItemDragHandler Script (2)
15:57 - Fix Null Reference
16:18 - Broken Test
16:30 - Bug Fix
17:27 - Working Test!
18:09 - Next Video
18:30 - Get the Code
18:52 - Outro