Kotlin LibGDX/KTX RPG Tutorial - Part 23 (Inventory)

Channel:
Subscribers:
1,720
Published on ● Video Link: https://www.youtube.com/watch?v=UdAC2Y1rg9g



Category:
Tutorial
Duration: 1:47:48
844 views
19


This is a tutorial series about game development using Kotlin, LibGDX with LibKTX extensions.
We are developing a small 2D adventure RPG using different technologies like Box2D, GdxAI, Entity Component System or Tiled.

The full source code of the tutorial can be found on github: https://github.com/Quillraven/MysticWoods

Part 23 - Inventory:
In this part we are going to learn how to create a drag and drop interface for an inventory of items.

Chapters:
00:00 - Demo of inventory
02:08 - Fix CameraSystem
04:24 - Fix diagonal player movement
07:30 - Creating inventory testscreen
14:05 - Create InventoryView UI
24:40 - Create InventorySlot widget
35:15 - Test first UI draft
43:12 - Drag and Drop
48:15 - DnD Source and Target
51:10 - DnD Source
56:48 - DnD Target
1:06:10 - DnD recap
1:09:40 - Update InputProcessor handling
1:14:05 - Test DnD draft
1:14:55 - Center drag actor
1:16:47 - onItemDropped function
1:20:20 - InventoryModel
1:25:20 - InventoryComponent
1:26:58 - ItemComponent
1:28:50 - InventoryModel handle function
1:30:05 - Setup initial player items
1:31:00 - InventorySystem
1:35:23 - Inventory UI toggle
1:37:27 - Test in-game inventory
1:38:34 - Update game model
1:45:40 - Final test







Tags:
kotlin
libgdx
libktx
rpg
tutorial
box2d
gdxai
ai
ecs
entity component system
game development
programming
scene2d
2d
pixel
retro
english
behavior tree
mvvm
model
view
viewmodel
data binding
delegates
delegation
drag and drop
dnd
inventory
items
gear
equipment