how to get textureRegion or texture object from animation

Forum for the book "Beginning Android Games", see http://www.apress.com/9781430230427

how to get textureRegion or texture object from animation

Postby bigbang » Wed Jul 11, 2018 3:14 am

hi
im new in libgdx.
how to get textureRegion or texture object from animation .

Code: Select all
TextureRegion myTexture = animation.getKeyFrame(animationTimer);


thankyou.
bigbang
 
Posts: 1
Joined: Tue Jul 10, 2018 4:29 pm

Return to Beginning Android Games

Who is online

Users browsing this forum: No registered users and 1 guest