Пример #1
0
 public void enter() {
   Gdx.input.setInputProcessor(this);
   Font.load();
   tiles = new Tile[scrollW * scrollH];
   for (int i = 0; i < tiles.length; i++) {
     tiles[i] = new FloorTile();
   }
 }
Пример #2
0
  public void render(SpriteBatch sb) {
    renderBG(sb);

    Font.draw("ABOUT", sb, xo + 100, yo + 256 + 128 - 30, 48);
    Font.draw("MADE BY MAX", sb, xo + 80, yo + 300, 24);
    Font.draw("WARNER", sb, xo + 140, yo + 265, 24);
    Font.draw("FOR LUDUM", sb, xo + 105, yo + 200, 24);
    Font.draw("DARE 27", sb, xo + 130, yo + 165, 24);

    sb.draw(button, xo + 130, yo + 35, 128 + 64, 64 + 32);
    Font.draw("BACK", sb, xo + 160, yo + 68, 32);
  }