Guest User

Untitled

a guest
Jul 22nd, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. camera = new OrthographicCamera(320, 480);
  2. batch = new SpriteBatch();
  3.  
  4. TextureAtlas atlas = Assets.inst().get("pack", TextureAtlas.class);
  5. splash = atlas.createSprite("intro");
  6.  
  7. Tween.to(splash, SpriteAccessor.OPACITY, 1)
  8. .target(0)
  9. .delay(2)
  10. .start(tweenManager);
  11.  
  12. batch.begin();
  13. splash.draw(main.batch);
  14. batch.end();
Add Comment
Please, Sign In to add comment