For my game, I would like to let users setup the game server before logging in.
The server could be distant or on the same pc, no problem, But the server is ran in a Headless context,
so I’m trying to get how I should implement a user’s friendly GUI in this case. (which seems to make no sense…)
Is there a way to use some default context and then switch in runtime to a headless context ?
Or maybe the server gui appli should close when hit “start” and then run another headless appli with parameters ?
You want to have a JME GUI for your server? That seems a bit overkill.
Just create a normal Java GUI that launches your server… and really a headless JME application is 90% overkill, I think. None of my network games do it… they just create their own game loop and… well, that’s it. That’s really the only thing you need.