Inventory - How to Make a 2D Game in Java #27
In this video we implement player's inventory so we can display items and select them.
If you want to use my asset (images/maps/sound) that are used in this tutorial, here's the link:
https://drive.google.com/drive/folders/1OBRM8M3qCNAfJDCaldg62yFMiyFaKgYx?usp=sharing
*I'm releasing my art/music/sound effects to help your smooth learning with this series. If you wish to use them to create a public content (profitable/non-profitable), please contact me via Twitter or email. Both links are in the About section of this channel.
Thanks for watching.
Timestamps:
0:00 Introduction
0:31 Create Inventory Window
2:32 Create Inventory Slot
4:00 Create Cursor
7:30 Move Cursor
11:49 Create Inventory ArrayList
13:55 Draw Player Items
17:30 Increase Slot Size
18:41 Create Description Window
21:46 Draw Description Text
27:10 Final Result
#javagamedevelopment #javatutorial