Package com.badlogic.gdx.graphics.g2d

Examples of com.badlogic.gdx.graphics.g2d.SpriteBatch


   
    cam = new OrthographicCamera();
    cam.setToOrtho(false, width, height);
    cam.update();
   
    batch = new SpriteBatch();
    batch.setProjectionMatrix(cam.combined);   
   
    shipTexture = new Texture("data/ship.png");
    shipTexture.setFilter(TextureFilter.Linear, TextureFilter.Linear);
   
View Full Code Here

TOP

Related Classes of com.badlogic.gdx.graphics.g2d.SpriteBatch

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.