Name: Jared Barker
Date: March 15th, 2023
9:41 PM EST
Xodius Studio Blogs:
Showing the Shop Item thumbnail in "Forgotten Memories"
The Problem:
The Item thumbnail for the ShopItem_UI won't show after I bind the thumbnail into the buttons image.
What it is supposed to do is that it binds the Shops data table from its thumbnail and shows the image when entering the shop. This error can bring some problems because the player can't tell what item it is if they only look at it from the thumbnail. It can also bring some problems when trying to debug the binding for the developers.
The Solution:
The solution I found is to create the bind function and use that for the shop item thumbnail. Next, I get the data table row for the shop data table that includes the item ID. After that, I make the brush from texture from the image's height and weight and return the node. When testing the shop now, it shows the items thumbnail and everything was resolved (the binding was now binding into the function).
(Bind Function Blueprint)
Comments
Post a Comment