Hi,
I’m looking at Techniques for Swapping Images and I am wondering if any of those methods could be applied to the default image file in a newButton widget?
In my game, I have a weapon button which starts off blank or “empty” and when a player picks up a weapon, I want to display a different image as the weapon button to show they have something to shoot now.
Should I create a new button widget when the player picks up a weapon and then remove it when they shoot or should I use newImageRect as the empty weapon button and swap the images?
Any ideas from experienced game devs would be helpful.
Thanks.