Search in sources :

Example 6 with GdxTest

use of com.badlogic.gdx.tests.utils.GdxTest in project libgdx by libgdx.

the class JglfwDebugStarter method main.

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 SuperKoalio();
    JglfwApplicationConfiguration config = new JglfwApplicationConfiguration();
    config.vSync = true;
    new JglfwApplication(test, config);
}
Also used : SharedLibraryLoader(com.badlogic.gdx.utils.SharedLibraryLoader) SuperKoalio(com.badlogic.gdx.tests.superkoalio.SuperKoalio) JglfwApplication(com.badlogic.gdx.backends.jglfw.JglfwApplication) GdxTest(com.badlogic.gdx.tests.utils.GdxTest) JglfwApplicationConfiguration(com.badlogic.gdx.backends.jglfw.JglfwApplicationConfiguration)

Aggregations

GdxTest (com.badlogic.gdx.tests.utils.GdxTest)6 JglfwApplication (com.badlogic.gdx.backends.jglfw.JglfwApplication)2 JglfwApplicationConfiguration (com.badlogic.gdx.backends.jglfw.JglfwApplicationConfiguration)2 LwjglApplication (com.badlogic.gdx.backends.lwjgl.LwjglApplication)2 LwjglApplicationConfiguration (com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration)2 GdxRuntimeException (com.badlogic.gdx.utils.GdxRuntimeException)2 Bundle (android.os.Bundle)1 DisplayMode (com.badlogic.gdx.Graphics.DisplayMode)1 InputAdapter (com.badlogic.gdx.InputAdapter)1 AndroidApplicationConfiguration (com.badlogic.gdx.backends.android.AndroidApplicationConfiguration)1 Lwjgl3Application (com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application)1 Lwjgl3ApplicationConfiguration (com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration)1 Lwjgl3Window (com.badlogic.gdx.backends.lwjgl3.Lwjgl3Window)1 Lwjgl3WindowListener (com.badlogic.gdx.backends.lwjgl3.Lwjgl3WindowListener)1 FPSLogger (com.badlogic.gdx.graphics.FPSLogger)1 Texture (com.badlogic.gdx.graphics.Texture)1 BitmapFont (com.badlogic.gdx.graphics.g2d.BitmapFont)1 SpriteBatch (com.badlogic.gdx.graphics.g2d.SpriteBatch)1 SuperKoalio (com.badlogic.gdx.tests.superkoalio.SuperKoalio)1 SharedLibraryLoader (com.badlogic.gdx.utils.SharedLibraryLoader)1