Skip to content

Instantly share code, notes, and snippets.

View jjurach's full-sized avatar

James Jurach jjurach

  • Austin, TX
View GitHub Profile
@jjurach
jjurach / blank-game-flickers
Created July 23, 2013 04:48
Here is a gdx Game class which creates and sets a screen, which clears and then uses a SpriteBatch to draw a single texture. This pair of classes "flickers" or "tears".. it seems to blink as a grey bar goes from top to bottom.
public class BlankGame extends Game {
MainScreen screen;
@Override
public void create () {
MainScreen screen = new MainScreen();
this.setScreen(screen);
}