Hello everyone,
I’ve just completed Day 8 of my Unreal Engine 5 Gameplay Engineer journey.
Today I implemented my first Inventory System completely in C++.
Features implemented:
USTRUCT Inventory Item
TArray Inventory
AddItem Function
Collectible Integration
Item Storage
Score System
Gameplay Programming in C++
Current functionality:
• Collect items
• Store items in an inventory
• Increase score
• Remove collectibles from the world
• Track inventory size
Example output:
Added Item: Coin
Inventory Size: 1
Score: 1
Added Item: Coin
Inventory Size: 2
Score: 2
Current project systems:
Day 1 - First C++ Actor
Day 2 - Character Movement
Day 3 - Health System
Day 4 - Sprint System
Day 5 - Double Jump
Day 6 - Interaction System
Day 7 - Collectible Items System
Day 8 - Inventory System
Video:Day 8:https://youtu.be/D0CGl3eqMWI
I’m building every gameplay system from scratch using Unreal Engine 5 and C++ while documenting my journey to become a Gameplay Engineer.
Any feedback, suggestions, or code review comments are welcome.
Thank you!