Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- BitmapTextureAtlas splashTextureAtlas = new BitmapTextureAtlas(this.getTextureManager(), 1920, 1080, TextureOptions.DEFAULT);
- splashTextureRegion = BitmapTextureAtlasTextureRegionFactory.createFromAsset(splashTextureAtlas, this, "new/splash_bg1.JPG", 0, 0);
- splashTextureAtlas.load();
- Sprite splash = new Sprite(0, 0, splashTextureRegion, mEngine.getVertexBufferObjectManager());
- splash.setScale(mainScaleX);
- Sprite splash = new Sprite(0, 0, splashTextureRegion, mEngine.getVertexBufferObjectManager()) {
- protected void preDraw(GLState pGLState, Camera pCamera) {
- super.preDraw(pGlState, pCamera);
- pGlState.enableDither();
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement