Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- camera = new OrthographicCamera(320, 480);
- batch = new SpriteBatch();
- TextureAtlas atlas = Assets.inst().get("pack", TextureAtlas.class);
- splash = atlas.createSprite("intro");
- Tween.to(splash, SpriteAccessor.OPACITY, 1)
- .target(0)
- .delay(2)
- .start(tweenManager);
- batch.begin();
- splash.draw(main.batch);
- batch.end();
Add Comment
Please, Sign In to add comment