Пример #1
0
  public static void main(String[] argv) {
    // this is only here for me to debug native code faster
    //		new
    // SharedLibraryLoader("../../extensions/gdx-audio/libs/gdx-audio-natives.jar").load("gdx-audio");
    //		new
    // SharedLibraryLoader("../../extensions/gdx-image/libs/gdx-image-natives.jar").load("gdx-image");
    //		new
    // SharedLibraryLoader("../../extensions/gdx-freetype/libs/gdx-freetype-natives.jar").load("gdx-freetype");
    //		new
    // SharedLibraryLoader("../../extensions/gdx-controllers/gdx-controllers-desktop/libs/gdx-controllers-desktop-natives.jar").load("gdx-controllers-desktop");
    //		new SharedLibraryLoader("../../gdx/libs/gdx-natives.jar").load("gdx");

    GdxTest test = new FreeTypeFontLoaderTest();
    LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
    config.r = config.g = config.b = config.a = 8;
    //		config.width = 320;
    //		config.height = 241;
    config.width = 960;
    config.height = 600;
    new LwjglApplication(test, config);
  }