From what I got from the docs, StandardGame seems to be the preferred way to create a "real" game. So I created a simple Standardgame and added additionally to the DebugGameState my own gamestate which adds just a box to its rootNode.
The problem is that when I "fly" around the box I noticed that the Z-Order of the faces is wrong. Some faces are in the front which should be hidden in that moment and so on.
This is the ctor of my gamestate:
Box box = new Box("my box", new Vector3f(0, 0, 0), 2, 2, 2);
Then I have additional Questions. There is FixedFrameRateGame, VariableTimestepGame and so on. Which kind of game is StandardGame regarding to timestep and framerate?
codymanix said: There is FixedFrameRateGame, VariableTimestepGame and so on. Which kind of game is StandardGame regarding to timestep and framerate?
StandardGame is a configurable system that allows fixed frame-rate, vertical syncing, or can simply maximize processor usage to get the maximum FPS. This is where StandardGame can come in really handy is that it allows you to develop your game and either make this configurable by the user or simply hard-code it in your game and have the ability to change it later if you choose to.