libgdx 2D animation with TexturePacker/Atlas -


i'm trying animate 2d image, have each of images cut out appropriate sizes. not sure how use texturepacker , textureatlas animate them. looked @ libgdx github tutorial not show how works. have each of 7 images in appropriate format such (image_1,image_2,image_3...etc) suggested on tutorial, how pack these images , use them atlas? code sample appreciated

hey figured out guys i'm suppose pack texturepacker tool had download separate .jar file here , execute lines of code

textureatlas atlas; public animation<textureregion> runninganimation;  atlas = new textureatlas(gdx.files.internal("directory/pack.atlas")); runninganimation = new animation<textureregion>(0.033f,atlas.findregions("running"), playmode.loop); 

Comments

  1. Nice information provided by you, it really helped me to understand this topic. I have also referred this article to my friends and they also enjoyed this informative post
    download software texturepacker-crack

    ReplyDelete

Post a Comment

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -