Good morning, I am returning to using Construct, and I am still unsure where to look for resources or examples.
I am making a game that will have a shop. In this shop, I will have some buttons, such as "Buy Upgrade." When clicking on this upgrade, I will deduct the coin value and change the sprite's animation of my object (the programming logic uses its animation value to perform tasks).
I can do this so far (maybe not in the best way, but it's manageable). What I need is a "confirmation" button when clicking on BUY. For example, when the player CLICKS, before deducting the value and giving the upgrade, I would like a message to appear like: Are you sure? [YES] [NO]
I thought about creating a new transparent layout on top, but I am a bit confused and think I might end up doing a lot of unnecessary work. Are there any examples of how to perform this validation?
If the requirement is met (sufficient coins), when clicking the buy button, the confirmation of YES or NO appears. If YES, apply; if NO, revert to normal.
Thanks for all