Very new to unreal engine - Does anyone have a helpful new beginners guide relevant to creating a 2D based inventory system with picking up an object etc.
I’ve had very little exposure to unreal so I don’t understand much of anything. I tried watching one created by LesserDogs on Youtube but that goes through a system of having a dedicated button for interactions.
I want mine to be based purely on 1 Mouse interaction that being left click.
Likewise my projet is about making a 2D game so any other help would be great.
for a click based 2d inventory the structure that scales is: an array holding a struct per item (on the player controller or an inventory component), plus a widget that renders that array. clicks go to the world objects, never to the widget.
flow: get hit result under cursor on left click, cast the hit actor to your pickup blueprint, call its interact function, which adds the item struct to the inventory array and destroys the pickup. the widget then rebuilds its grid from the array, creating one entry widget per item and passing the struct in right after create widget. the click itself is the interaction, so no dedicated button, and the widget never needs references to individual pickups, it only reads the array.
if you want a working reference to read while you learn, the Hidden Object Game Template is built on exactly this pattern, a data table defines the objects, clicking actors in the scene marks them found and adds them to a list widget at the bottom of the screen, and since it is commented blueprint end to end you can trace how the pieces talk to each other and reuse the structure for your inventory: Multiplayer Hidden Object Game Template | Fab