Jing Hu
Jing Hu

Reputation: 67

How to achieve effect of balloon expands with libgdx?

I want to achieve a expanded effect just like a balloon expands. Change from small to big. How can I achieve this with libgdx?

Upvotes: 0

Views: 67

Answers (1)

Sebastian
Sebastian

Reputation: 6057

Given that you are using Sprites I'd just try to scale them:

https://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/graphics/g2d/Sprite.html#setScale-float-float-

Upvotes: 1

Related Questions