One of the implementations I really wanted to add to the inventory system was being able to move the widget around. Drag and Drop operations, as it turns out, aren't as simple as just drag and drop. A whole new BP must be created that will be used by whatever it is you want to drag, and several functions must be overwritten to do so. As mentioned in the previous blog post, I have started this project again, as the backup I had wasn;t totally up to date and it could stand to be a lot more cleaner. If you have been following along, there is a chance some of the variables or blueprints may not be the same. As always, if you read this blog post and would like more information, please view the original tutorial by youtube user " Unreal Gaime Dev " The first step The first thing to be done is to create a new BP with a parent class of "DragDropOperation." There is nothing required in the construction script or the event graph, it simply requires to vari...
Unfortunately, every time I screen record, the unreal engine crashes. So, I'm instead going to have to backtrack through what I have already done to try and showcase it in several screenshots instead, so that I can upload a small amount here and there whenever I have added something to the games blueprints! Woo! The following posts will be following an already existing tutorial that I will be talking through, made by user " Unreal Gaime Dev " - Please make sure to watch his tutorials and show him some love, whilst this inventory isn't clean or crisp, it is a very well functioning inventory using physical slots instead of a list. I just got done adding a very very simple currency system that currently isn't used anywhere else in the game, that's something that will come at a later date. Instead of spending two 6-hour days coding, I figured I'll stop until tomorrow and show the blog some love. The screen shot dimensions may be a little off on the ...
Comments
Post a Comment