Created
August 28, 2013 14:15
-
-
Save MobiDevelop/6366503 to your computer and use it in GitHub Desktop.
Scene2D Action Snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static SequenceAction getClickActon() | |
{ | |
SequenceAction action = Actions.sequence( | |
Actions.scaleTo(1.1f, 0.9f, 0.15f), | |
Actions.scaleTo(0.92f, 1.08f, 0.15f), | |
Actions.scaleTo(1.06f, 0.94f, 0.15f), | |
Actions.scaleTo(0.96f, 1.04f, 0.15f), | |
Actions.scaleTo(1.0f, 1.0f, 0.15f), | |
Actions.color(Color.RED, 1.0f), | |
Actions.fadeOut(2.0f), | |
Actions.removeActor()); | |
return action; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment