Hey Guys, Working on my game and facing some issues. I have an action button that trigger Melee attack when player tap it. What I want to achieve is that when the player Taps it, button becomes disabled for 3 seconds. Also while it disabled I want to play an animation for that button that show's to the player how it recharges, how can I achieve that? Cheers
I don't think is possible, "while is disabled", you can animate it all the time or from time to time (a small move, or something). From your UI, where you add the "action button", there are 3 animation possible for UI, Open,Idle,Close. Animate your action button, in Idle. I will open tomorow BB and if i will figure something else..
Ok, I see. What I want is basically to avoid melee attack spamming for the player. Maybe its possible then to wait until Attack animation is finished before the next Animation can be performed again? Otherwise it looks ugly if I tap a button, animation will reset and restarts instead of playing it till end.
Somehow, you must "hack" it, i also need mode specifyc details. For example : You have an Action button ,when you press it , it play an animation . at the end of that animation you want button active again . You can try : you can charge 1Point per animation, and at the end of animation, reward player with 1P , so while is playing the animation , player doesnt have money, at the end of animation, player have money, so can play animation again. This is just an idea. but i think is also something else .
Ya it is kinda pity that the Action Button has the timer function but but does not support refill in seconds, always displays hh:mm:ss to refill and no way to assign a refill animation to it instead. @Andy, any plans for improving this in the feature? Like the refill value I expected to be in seconds instead of minutes, respecting the decimals since you can enter that into the field, plus have the ability to select display format (at least few preselect ones) and to be able to assign an animation to it (independently looping or synchronized sprite animation)?