Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
scene.page(3).step(4)
.createAnimation(() -> AnimatorFactory.createAnimator(submarine.getScaleX(), submarine.getScaleX() * 2))
.setListener(value -> {
submarine.setScaleX(value);
submarine.setScaleY(value);
});
scene.page(3).step(5)
.createAnimation(1, 0.5f)
.setListener(value -> {
fishLeftBottom.setScaleY(value);
fishLeftBottom.setScaleX(value);
fishLeft.setScaleX(value);
fishLeft.setScaleY(value);
fishRight.setScaleX(value);
fishRight.setScaleY(value);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.