Hello. I am too use to Gamestates from JME2, so now I am just curious what the most efficient way is to have the game open with a different window size, say, 900 x 700?
Thank you very much!
Play around with this in your main class
[java] public static void main(String[] args) {
MyGame app = new MyGame();
AppSettings settings = new AppSettings(true);
settings.setRenderer(AppSettings.LWJGL_OPENGL2);
settings.setWidth(1024);
settings.setHeight(768);
app.setShowSettings(false);
app.setSettings(settings);
app.start();
}
[/java]
If anyone could tell me how to position the game windown on the desktop (I don’t want it in the middle), that would be nice.
1 Like
thank you very much. worked like a charm