Skip to content

Commit

Permalink
Add bounce effect to label
Browse files Browse the repository at this point in the history
  • Loading branch information
elnormous committed Jan 20, 2016
1 parent ce832c6 commit 29e4344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/sprite/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ namespace ouzel

std::vector<AnimatorPtr> sequence2 = {
AnimatorPtr(new Animator(1.0f)), // delay
AnimatorPtr(new Ease(AnimatorPtr(new MoveTo(4.0f, Vector2(0.0f, -240.0f))), Ease::Type::OUT, Ease::Func::ELASTIC))
AnimatorPtr(new Ease(AnimatorPtr(new MoveTo(2.0f, Vector2(0.0f, -240.0f))), Ease::Type::OUT, Ease::Func::BOUNCE))
};

label->animate(AnimatorPtr(AnimatorPtr(new Sequence(sequence2))));
Expand Down

0 comments on commit 29e4344

Please sign in to comment.