A very simple button push down sprite animation.

2

Stats

646 visits, 803 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 14 Aug, 2022. Last updated 24 Aug, 2022

First,we will draw normal button and button pushed frame on a sprite.

Do Not Forget To Put The Animation Speed To Zero.

Normal button frame(frame 0):

Pushed button frame(frame 1):

Now, we insert the touch input object by insert an object option.

And now we write this event.

This waits a bit before the next action.You can adjust the time wait.

This tutorial is more like touch screen's but its applicable for mouse input too by changing condition.

  • 0 Comments

Want to leave a comment? Login or Register an account!