Android Open Source - SimpleGDX Desktop Starter






From Project

Back to project page SimpleGDX.

License

The source code is released under:

Apache License

If you think the Android project SimpleGDX listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.proglive.lesson1.alyoshin.simplegdx;
//w  ww.j  a v  a2s  . c  o  m

import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;

public class DesktopStarter {
    public static void main(String[] args) {
        LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
        cfg.title = "MyGame";
        cfg.useGL20 = true;
        cfg.width = 800;
        cfg.height = 480;
        new LwjglApplication(new MyGame(), cfg);
    }
}




Java Source Code List

com.proglive.lesson1.alyoshin.simplegdx.DesktopStarter.java
com.proglive.lesson1.alyoshin.simplegdx.MainActivity.java
com.proglive.lesson1.alyoshin.simplegdx.MyGame.java