本文整理汇总了Java中aurelienribon.tweenengine.TweenManager.update方法的典型用法代码示例。如果您正苦于以下问题:Java TweenManager.update方法的具体用法?Java TweenManager.update怎么用?Java TweenManager.update使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类aurelienribon.tweenengine.TweenManager
的用法示例。
在下文中一共展示了TweenManager.update方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: show
import aurelienribon.tweenengine.TweenManager; //导入方法依赖的package包/类
@Override
public void show() {
batch = new SpriteBatch();
tweenManager = new TweenManager();
Tween.registerAccessor(Sprite.class, new SpriteAccessor());
float widthScale = Gdx.graphics.getWidth() / Config.WIDTH;
float heightScale = Gdx.graphics.getHeight() / Config.HEIGHT;
Texture splashTexture = new Texture("icons/nolatorg.png");
splashTexture.setFilter(TextureFilter.Nearest, TextureFilter.Nearest);
splash = new Sprite(splashTexture);
splash.setSize(widthScale * splash.getWidth(), heightScale * splash.getHeight());
splash.setOrigin(splash.getWidth() / 2, splash.getWidth() / 2);
splash.setPosition(Gdx.graphics.getWidth() / 2 - splash.getWidth() / 2,
Gdx.graphics.getHeight() / 2 - splash.getHeight() / 2);
Tween.set(splash, SpriteAccessor.ALPHA).target(0f).start(tweenManager);
Tween.to(splash, SpriteAccessor.ALPHA, 1f).target(1f).repeatYoyo(1, 1f).setCallback(new TweenCallback() {
@Override
public void onEvent(int type, BaseTween<?> source) {
((Game) Gdx.app.getApplicationListener()).setScreen(new MainMenu());
}
}).start(tweenManager);
tweenManager.update(Float.MIN_VALUE);
}
示例2: initAnimations
import aurelienribon.tweenengine.TweenManager; //导入方法依赖的package包/类
private void initAnimations() {
tweenManager = new TweenManager();
Tween.registerAccessor(Sprite.class, new SpriteAccessor());
Tween.registerAccessor(Image.class, new ImageAccessor());
Tween.registerAccessor(ParticleEffect.class, new ParticleEffectAccessor());
Tween.set(splash, SpriteAccessor.ALPHA).target(0).start(tweenManager);
Tween.set(startImageButton, ImageAccessor.ALPHA).target(0).start(tweenManager);
Tween.set(closeImageButton, ImageAccessor.ALPHA).target(0).start(tweenManager);
Tween.set(settingsImageButton, ImageAccessor.ALPHA).target(0).start(tweenManager);
Tween.to(splash, SpriteAccessor.ALPHA, Config.ANIMATION_DURATION).target(1).start(tweenManager);
Tween.to(startImageButton, ImageAccessor.ALPHA, Config.ANIMATION_DURATION).target(1).delay(Config.ANIMATION_DURATION / 2f).start(tweenManager);
Tween.to(closeImageButton, ImageAccessor.ALPHA, Config.ANIMATION_DURATION).target(1).delay(Config.ANIMATION_DURATION / 2f).start(tweenManager);
Tween.to(settingsImageButton, ImageAccessor.ALPHA, Config.ANIMATION_DURATION).target(1).delay(Config.ANIMATION_DURATION / 2f).start(tweenManager);
tweenManager.update(Float.MIN_VALUE);
}
示例3: show
import aurelienribon.tweenengine.TweenManager; //导入方法依赖的package包/类
@Override
public void show() {
//if(Gdx.app.getType() == ApplicationType.Desktop)
// Gdx.graphics.setDisplayMode((int) (Gdx.graphics.getHeight() / 1.5f), Gdx.graphics.getHeight(), false);
// apply preferences
//Gdx.graphics.setVSync(Settings.vSync());
batch = new SpriteBatch();
tweenManager = new TweenManager();
Tween.registerAccessor(Sprite.class, new SpriteAccessor());
//Colocar el splash centrado y adaptado a las dimensiones de la pantalla
float width = Gdx.graphics.getWidth();
float height = Gdx.graphics.getHeight();
splash = new Sprite(new Texture("data/Cesar1.png"));
float desiredWidth = width * .7f;
float scale = desiredWidth / splash.getWidth();
splash.setSize(splash.getWidth() * scale, splash.getHeight() * scale);
splash.setPosition((width / 2) - (splash.getWidth() / 2), (height / 2)- (splash.getHeight() / 2));
Tween.set(splash, SpriteAccessor.ALPHA).target(0).start(tweenManager);
Tween.to(splash, SpriteAccessor.ALPHA, 1.5f).target(1).repeatYoyo(1, 3f).setCallback(new TweenCallback() {
@Override
public void onEvent(int type, BaseTween<?> source) {
((Game) Gdx.app.getApplicationListener()).setScreen(new FinSegundoNivel3(game));
//((Game) Gdx.app.getApplicationListener()).setScreen(new MainMenu());
}
}).start(tweenManager);
tweenManager.update(Float.MIN_VALUE); // update once avoid short flash of splash before animation
}
示例4: show
import aurelienribon.tweenengine.TweenManager; //导入方法依赖的package包/类
@Override
public void show() {
//if(Gdx.app.getType() == ApplicationType.Desktop)
// Gdx.graphics.setDisplayMode((int) (Gdx.graphics.getHeight() / 1.5f), Gdx.graphics.getHeight(), false);
// apply preferences
//Gdx.graphics.setVSync(Settings.vSync());
batch = new SpriteBatch();
tweenManager = new TweenManager();
Tween.registerAccessor(Sprite.class, new SpriteAccessor());
//Colocar el splash centrado y adaptado a las dimensiones de la pantalla
float width = Gdx.graphics.getWidth();
float height = Gdx.graphics.getHeight();
splash = new Sprite(new Texture("data/Phone.png"));
float desiredWidth = width * .7f;
float scale = desiredWidth / splash.getWidth();
splash.setSize(splash.getWidth() * scale, splash.getHeight() * scale);
splash.setPosition((width / 2) - (splash.getWidth() / 2), (height / 2)- (splash.getHeight() / 2));
Tween.set(splash, SpriteAccessor.ALPHA).target(0).start(tweenManager);
Tween.to(splash, SpriteAccessor.ALPHA, 1.5f).target(1).repeatYoyo(1, 3f).setCallback(new TweenCallback() {
@Override
public void onEvent(int type, BaseTween<?> source) {
((Game) Gdx.app.getApplicationListener()).setScreen(new FinPrimerNivel2(game));
//((Game) Gdx.app.getApplicationListener()).setScreen(new MainMenu());
}
}).start(tweenManager);
tweenManager.update(Float.MIN_VALUE); // update once avoid short flash of splash before animation
}
示例5: show
import aurelienribon.tweenengine.TweenManager; //导入方法依赖的package包/类
@Override
public void show() {
//if(Gdx.app.getType() == ApplicationType.Desktop)
// Gdx.graphics.setDisplayMode((int) (Gdx.graphics.getHeight() / 1.5f), Gdx.graphics.getHeight(), false);
// apply preferences
//Gdx.graphics.setVSync(Settings.vSync());
batch = new SpriteBatch();
tweenManager = new TweenManager();
Tween.registerAccessor(Sprite.class, new SpriteAccessor());
//Colocar el splash centrado y adaptado a las dimensiones de la pantalla
float width = Gdx.graphics.getWidth();
float height = Gdx.graphics.getHeight();
splash = new Sprite(new Texture("data/Phone1.png"));
float desiredWidth = width * .7f;
float scale = desiredWidth / splash.getWidth();
splash.setSize(splash.getWidth() * scale, splash.getHeight() * scale);
splash.setPosition((width / 2) - (splash.getWidth() / 2), (height / 2)- (splash.getHeight() / 2));
Tween.set(splash, SpriteAccessor.ALPHA).target(0).start(tweenManager);
Tween.to(splash, SpriteAccessor.ALPHA, 1.5f).target(1).repeatYoyo(1, 3f).setCallback(new TweenCallback() {
@Override
public void onEvent(int type, BaseTween<?> source) {
((Game) Gdx.app.getApplicationListener()).setScreen(new FinPrimerNivel3());
//((Game) Gdx.app.getApplicationListener()).setScreen(new MainMenu());
}
}).start(tweenManager);
tweenManager.update(Float.MIN_VALUE); // update once avoid short flash of splash before animation
}
示例6: show
import aurelienribon.tweenengine.TweenManager; //导入方法依赖的package包/类
@Override
public void show() {
//if(Gdx.app.getType() == ApplicationType.Desktop)
// Gdx.graphics.setDisplayMode((int) (Gdx.graphics.getHeight() / 1.5f), Gdx.graphics.getHeight(), false);
// apply preferences
//Gdx.graphics.setVSync(Settings.vSync());
batch = new SpriteBatch();
tweenManager = new TweenManager();
Tween.registerAccessor(Sprite.class, new SpriteAccessor());
//Colocar el splash centrado y adaptado a las dimensiones de la pantalla
float width = Gdx.graphics.getWidth();
float height = Gdx.graphics.getHeight();
splash = new Sprite(new Texture("data/Roma1.png"));
float desiredWidth = width * .7f;
float scale = desiredWidth / splash.getWidth();
splash.setSize(splash.getWidth() * scale, splash.getHeight() * scale);
splash.setPosition((width / 2) - (splash.getWidth() / 2), (height / 2)- (splash.getHeight() / 2));
Tween.set(splash, SpriteAccessor.ALPHA).target(0).start(tweenManager);
Tween.to(splash, SpriteAccessor.ALPHA, 1.5f).target(1).repeatYoyo(1, 3f).setCallback(new TweenCallback() {
@Override
public void onEvent(int type, BaseTween<?> source) {
((Game) Gdx.app.getApplicationListener()).setScreen(new Instrucciones3(game));
//((Game) Gdx.app.getApplicationListener()).setScreen(new MainMenu());
}
}).start(tweenManager);
tweenManager.update(Float.MIN_VALUE); // update once avoid short flash of splash before animation
}
示例7: show
import aurelienribon.tweenengine.TweenManager; //导入方法依赖的package包/类
@Override
public void show() {
//if(Gdx.app.getType() == ApplicationType.Desktop)
// Gdx.graphics.setDisplayMode((int) (Gdx.graphics.getHeight() / 1.5f), Gdx.graphics.getHeight(), false);
// apply preferences
//Gdx.graphics.setVSync(Settings.vSync());
batch = new SpriteBatch();
tweenManager = new TweenManager();
Tween.registerAccessor(Sprite.class, new SpriteAccessor());
//Colocar el splash centrado y adaptado a las dimensiones de la pantalla
float width = Gdx.graphics.getWidth();
float height = Gdx.graphics.getHeight();
splash = new Sprite(new Texture("data/Neil2.png"));
float desiredWidth = width * .7f;
float scale = desiredWidth / splash.getWidth();
splash.setSize(splash.getWidth() * scale, splash.getHeight() * scale);
splash.setPosition((width / 2) - (splash.getWidth() / 2), (height / 2)- (splash.getHeight() / 2));
Tween.set(splash, SpriteAccessor.ALPHA).target(0).start(tweenManager);
Tween.to(splash, SpriteAccessor.ALPHA, 1.5f).target(1).repeatYoyo(1, 3f).setCallback(new TweenCallback() {
@Override
public void onEvent(int type, BaseTween<?> source) {
((Game) Gdx.app.getApplicationListener()).setScreen(new LevelMenu());
//((Game) Gdx.app.getApplicationListener()).setScreen(new MainMenu());
}
}).start(tweenManager);
tweenManager.update(Float.MIN_VALUE); // update once avoid short flash of splash before animation
}
示例8: show
import aurelienribon.tweenengine.TweenManager; //导入方法依赖的package包/类
@Override
public void show() {
//if(Gdx.app.getType() == ApplicationType.Desktop)
// Gdx.graphics.setDisplayMode((int) (Gdx.graphics.getHeight() / 1.5f), Gdx.graphics.getHeight(), false);
// apply preferences
//Gdx.graphics.setVSync(Settings.vSync());
batch = new SpriteBatch();
tweenManager = new TweenManager();
Tween.registerAccessor(Sprite.class, new SpriteAccessor());
//Colocar el splash centrado y adaptado a las dimensiones de la pantalla
float width = Gdx.graphics.getWidth();
float height = Gdx.graphics.getHeight();
splash = new Sprite(new Texture("data/Space.png"));
float desiredWidth = width * .7f;
float scale = desiredWidth / splash.getWidth();
splash.setSize(splash.getWidth() * scale, splash.getHeight() * scale);
splash.setPosition((width / 2) - (splash.getWidth() / 2), (height / 2)- (splash.getHeight() / 2));
Tween.set(splash, SpriteAccessor.ALPHA).target(0).start(tweenManager);
Tween.to(splash, SpriteAccessor.ALPHA, 1.5f).target(1).repeatYoyo(1, 3f).setCallback(new TweenCallback() {
@Override
public void onEvent(int type, BaseTween<?> source) {
((Game) Gdx.app.getApplicationListener()).setScreen(new IntroTercerNivel1(game));
//((Game) Gdx.app.getApplicationListener()).setScreen(new MainMenu());
}
}).start(tweenManager);
tweenManager.update(Float.MIN_VALUE); // update once avoid short flash of splash before animation
}
示例9: show
import aurelienribon.tweenengine.TweenManager; //导入方法依赖的package包/类
@Override
public void show() {
//if(Gdx.app.getType() == ApplicationType.Desktop)
// Gdx.graphics.setDisplayMode((int) (Gdx.graphics.getHeight() / 1.5f), Gdx.graphics.getHeight(), false);
// apply preferences
//Gdx.graphics.setVSync(Settings.vSync());
batch = new SpriteBatch();
tweenManager = new TweenManager();
Tween.registerAccessor(Sprite.class, new SpriteAccessor());
//Colocar el splash centrado y adaptado a las dimensiones de la pantalla
float width = Gdx.graphics.getWidth();
float height = Gdx.graphics.getHeight();
splash = new Sprite(new Texture("data/Cesar.png"));
float desiredWidth = width * .7f;
float scale = desiredWidth / splash.getWidth();
splash.setSize(splash.getWidth() * scale, splash.getHeight() * scale);
splash.setPosition((width / 2) - (splash.getWidth() / 2), (height / 2)- (splash.getHeight() / 2));
Tween.set(splash, SpriteAccessor.ALPHA).target(0).start(tweenManager);
Tween.to(splash, SpriteAccessor.ALPHA, 1.5f).target(1).repeatYoyo(1, 3f).setCallback(new TweenCallback() {
@Override
public void onEvent(int type, BaseTween<?> source) {
((Game) Gdx.app.getApplicationListener()).setScreen(new FinSegundoNivel2());
//((Game) Gdx.app.getApplicationListener()).setScreen(new MainMenu());
}
}).start(tweenManager);
tweenManager.update(Float.MIN_VALUE); // update once avoid short flash of splash before animation
}
示例10: show
import aurelienribon.tweenengine.TweenManager; //导入方法依赖的package包/类
@Override
public void show() {
//if(Gdx.app.getType() == ApplicationType.Desktop)
// Gdx.graphics.setDisplayMode((int) (Gdx.graphics.getHeight() / 1.5f), Gdx.graphics.getHeight(), false);
// apply preferences
//Gdx.graphics.setVSync(Settings.vSync());
batch = new SpriteBatch();
tweenManager = new TweenManager();
Tween.registerAccessor(Sprite.class, new SpriteAccessor());
//Colocar el splash centrado y adaptado a las dimensiones de la pantalla
float width = Gdx.graphics.getWidth();
float height = Gdx.graphics.getHeight();
splash = new Sprite(new Texture("data/Neil2.png"));
float desiredWidth = width * .7f;
float scale = desiredWidth / splash.getWidth();
splash.setSize(splash.getWidth() * scale, splash.getHeight() * scale);
splash.setPosition((width / 2) - (splash.getWidth() / 2), (height / 2)- (splash.getHeight() / 2));
Tween.set(splash, SpriteAccessor.ALPHA).target(0).start(tweenManager);
Tween.to(splash, SpriteAccessor.ALPHA, 1.5f).target(1).repeatYoyo(1, 3f).setCallback(new TweenCallback() {
@Override
public void onEvent(int type, BaseTween<?> source) {
((Game) Gdx.app.getApplicationListener()).setScreen(new LevelMenu(game));
//((Game) Gdx.app.getApplicationListener()).setScreen(new MainMenu());
}
}).start(tweenManager);
tweenManager.update(Float.MIN_VALUE); // update once avoid short flash of splash before animation
}
示例11: show
import aurelienribon.tweenengine.TweenManager; //导入方法依赖的package包/类
@Override
public void show() {
//if(Gdx.app.getType() == ApplicationType.Desktop)
// Gdx.graphics.setDisplayMode((int) (Gdx.graphics.getHeight() / 1.5f), Gdx.graphics.getHeight(), false);
// apply preferences
//Gdx.graphics.setVSync(Settings.vSync());
batch = new SpriteBatch();
tweenManager = new TweenManager();
Tween.registerAccessor(Sprite.class, new SpriteAccessor());
//Colocar el splash centrado y adaptado a las dimensiones de la pantalla
float width = Gdx.graphics.getWidth();
float height = Gdx.graphics.getHeight();
splash = new Sprite(new Texture("data/Neil.png"));
float desiredWidth = width * .7f;
float scale = desiredWidth / splash.getWidth();
splash.setSize(splash.getWidth() * scale, splash.getHeight() * scale);
splash.setPosition((width / 2) - (splash.getWidth() / 2), (height / 2)- (splash.getHeight() / 2));
Tween.set(splash, SpriteAccessor.ALPHA).target(0).start(tweenManager);
Tween.to(splash, SpriteAccessor.ALPHA, 1.5f).target(1).repeatYoyo(1, 3f).setCallback(new TweenCallback() {
@Override
public void onEvent(int type, BaseTween<?> source) {
((Game) Gdx.app.getApplicationListener()).setScreen(new FinTercerNivel2(game));
//((Game) Gdx.app.getApplicationListener()).setScreen(new MainMenu());
}
}).start(tweenManager);
tweenManager.update(Float.MIN_VALUE); // update once avoid short flash of splash before animation
}
示例12: show
import aurelienribon.tweenengine.TweenManager; //导入方法依赖的package包/类
@Override
public void show() {
//if(Gdx.app.getType() == ApplicationType.Desktop)
// Gdx.graphics.setDisplayMode((int) (Gdx.graphics.getHeight() / 1.5f), Gdx.graphics.getHeight(), false);
// apply preferences
//Gdx.graphics.setVSync(Settings.vSync());
batch = new SpriteBatch();
tweenManager = new TweenManager();
Tween.registerAccessor(Sprite.class, new SpriteAccessor());
//Colocar el splash centrado y adaptado a las dimensiones de la pantalla
float width = Gdx.graphics.getWidth();
float height = Gdx.graphics.getHeight();
splash = new Sprite(new Texture("data/Neil1.png"));
float desiredWidth = width * .7f;
float scale = desiredWidth / splash.getWidth();
splash.setSize(splash.getWidth() * scale, splash.getHeight() * scale);
splash.setPosition((width / 2) - (splash.getWidth() / 2), (height / 2)- (splash.getHeight() / 2));
Tween.set(splash, SpriteAccessor.ALPHA).target(0).start(tweenManager);
Tween.to(splash, SpriteAccessor.ALPHA, 1.5f).target(1).repeatYoyo(1, 3f).setCallback(new TweenCallback() {
@Override
public void onEvent(int type, BaseTween<?> source) {
((Game) Gdx.app.getApplicationListener()).setScreen(new FinTercerNivel3());
//((Game) Gdx.app.getApplicationListener()).setScreen(new MainMenu());
}
}).start(tweenManager);
tweenManager.update(Float.MIN_VALUE); // update once avoid short flash of splash before animation
}
示例13: show
import aurelienribon.tweenengine.TweenManager; //导入方法依赖的package包/类
@Override
public void show() {
//if(Gdx.app.getType() == ApplicationType.Desktop)
// Gdx.graphics.setDisplayMode((int) (Gdx.graphics.getHeight() / 1.5f), Gdx.graphics.getHeight(), false);
// apply preferences
//Gdx.graphics.setVSync(Settings.vSync());
batch = new SpriteBatch();
tweenManager = new TweenManager();
Tween.registerAccessor(Sprite.class, new SpriteAccessor());
//Colocar el splash centrado y adaptado a las dimensiones de la pantalla
float width = Gdx.graphics.getWidth();
float height = Gdx.graphics.getHeight();
splash = new Sprite(new Texture("data/Intro3.png"));
float desiredWidth = width * .7f;
float scale = desiredWidth / splash.getWidth();
splash.setSize(splash.getWidth() * scale, splash.getHeight() * scale);
splash.setPosition((width / 2) - (splash.getWidth() / 2), (height / 2)- (splash.getHeight() / 2));
Tween.set(splash, SpriteAccessor.ALPHA).target(0).start(tweenManager);
Tween.to(splash, SpriteAccessor.ALPHA, 1.5f).target(1).repeatYoyo(1, 3f).setCallback(new TweenCallback() {
@Override
public void onEvent(int type, BaseTween<?> source) {
((Game) Gdx.app.getApplicationListener()).setScreen(new PantallaActual());
//((Game) Gdx.app.getApplicationListener()).setScreen(new MainMenu());
}
}).start(tweenManager);
tweenManager.update(Float.MIN_VALUE); // update once avoid short flash of splash before animation
}
示例14: show
import aurelienribon.tweenengine.TweenManager; //导入方法依赖的package包/类
@Override
public void show() {
//if(Gdx.app.getType() == ApplicationType.Desktop)
// Gdx.graphics.setDisplayMode((int) (Gdx.graphics.getHeight() / 1.5f), Gdx.graphics.getHeight(), false);
// apply preferences
//Gdx.graphics.setVSync(Settings.vSync());
batch = new SpriteBatch();
tweenManager = new TweenManager();
Tween.registerAccessor(Sprite.class, new SpriteAccessor());
//Colocar el splash centrado y adaptado a las dimensiones de la pantalla
float width = Gdx.graphics.getWidth();
float height = Gdx.graphics.getHeight();
splash = new Sprite(new Texture("data/Intro1.png"));
float desiredWidth = width * .7f;
float scale = desiredWidth / splash.getWidth();
splash.setSize(splash.getWidth() * scale, splash.getHeight() * scale);
splash.setPosition((width / 2) - (splash.getWidth() / 2), (height / 2)- (splash.getHeight() / 2));
Tween.set(splash, SpriteAccessor.ALPHA).target(0).start(tweenManager);
Tween.to(splash, SpriteAccessor.ALPHA, 1.5f).target(1).repeatYoyo(1, 3f).setCallback(new TweenCallback() {
@Override
public void onEvent(int type, BaseTween<?> source) {
((Game) Gdx.app.getApplicationListener()).setScreen(new IntroPrimerNivel2(game));
//((Game) Gdx.app.getApplicationListener()).setScreen(new MainMenu());
}
}).start(tweenManager);
tweenManager.update(Float.MIN_VALUE); // update once avoid short flash of splash before animation
}
示例15: show
import aurelienribon.tweenengine.TweenManager; //导入方法依赖的package包/类
@Override
public void show() {
//if(Gdx.app.getType() == ApplicationType.Desktop)
// Gdx.graphics.setDisplayMode((int) (Gdx.graphics.getHeight() / 1.5f), Gdx.graphics.getHeight(), false);
// apply preferences
//Gdx.graphics.setVSync(Settings.vSync());
batch = new SpriteBatch();
tweenManager = new TweenManager();
Tween.registerAccessor(Sprite.class, new SpriteAccessor());
//Colocar el splash centrado y adaptado a las dimensiones de la pantalla
float width = Gdx.graphics.getWidth();
float height = Gdx.graphics.getHeight();
splash = new Sprite(new Texture("data/logo.png"));
float desiredWidth = width * .7f;
float scale = desiredWidth / splash.getWidth();
splash.setSize(splash.getWidth() * scale, splash.getHeight() * scale);
splash.setPosition((width / 2) - (splash.getWidth() / 2), (height / 2)- (splash.getHeight() / 2));
Tween.set(splash, SpriteAccessor.ALPHA).target(0).start(tweenManager);
Tween.to(splash, SpriteAccessor.ALPHA, 1.5f).target(1).repeatYoyo(1, .5f).setCallback(new TweenCallback() {
@Override
public void onEvent(int type, BaseTween<?> source) {
((Game) Gdx.app.getApplicationListener()).setScreen(new Splash(game));
//((Game) Gdx.app.getApplicationListener()).setScreen(new MainMenu());
}
}).start(tweenManager);
tweenManager.update(Float.MIN_VALUE); // update once avoid short flash of splash before animation
}