Reputation: 67
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
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