Skip to content

Added a way to stop the currently running animation.#14

Open
x1024 wants to merge 1 commit into
cocos2d:masterfrom
x1024:stopAnimation
Open

Added a way to stop the currently running animation.#14
x1024 wants to merge 1 commit into
cocos2d:masterfrom
x1024:stopAnimation

Conversation

@x1024
Copy link
Copy Markdown

@x1024 x1024 commented Jun 18, 2013

I needed a way to stop an animation before it's finished.
(e.g. on an 'end level' screen where the player can earn up to three stars and either one, two, or three stars are animated on the scene)

The current code already included the required functionality, but it wasn't extracted into a separate public function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant