Skip to content

Instantly share code, notes, and snippets.

Avatar

James Jurach jjurach

  • Austin, TX
View GitHub Profile
@jjurach
jjurach / blank-game-flickers
Created Jul 23, 2013
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.
View blank-game-flickers
public class BlankGame extends Game {
MainScreen screen;
@Override
public void create () {
MainScreen screen = new MainScreen();
this.setScreen(screen);
}
You can’t perform that action at this time.