Hey guys, I need help on something. I saw a video of a guy using construct 3 engine where he uses an icon for ammunitons that looks like a weapon and loses a small part for every bullet shot. How can I make something similar to this?
thank you so much mr men for your support every time! I have viewed and now I have a little clearer ideas.
but I can’t understand how to use the masking extension gradually as in the gif sent by me in the previous post.
I would like to give a value to the hudweapons object and when the bullet is fired gradually subtract that value.
Think of the mask as defining a window through which the other sprite is displayed. If you make the masking sprite narrower by changing it’s width or Y scale, less of the other sprite will be shown.
activating the underlined code it easily takes the size of the weapon selected in the hud.
the problem arises when I ask to subtract the magazine value of the selected weapon, the width of the original “maskhudweapons” object is taken into consideration and the resizing is not considered.
I hope I explained myself