Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I made a general function for every time a button is pressed I want the buttons to wiggle. It seems to wiggle all buttons of the button family. Is there a more elegant way of doing this? Also using a tween is great but its unresponsive once you press the button. Is there a way to reset a tween or maybe use a different technique for this? I am tying to make bouncy buttons like you see in Clash Royale.
Pass button's UID in function parameters, and pick family instance inside the function by this UID.
Develop games in your browser. Powerful, performant & highly capable.
You need to pass the UID of the button to the function:
EDIT: Oops, sorry Dop, didn't see your reply!