Could we update the tutorials? I got the JMonkeyEngine book an read through it and I went through the online tutorials, and I still had major hurdles to jump over to get started. For example, seeing how to work the InputManager while it’s in Main(), and then having to put it in an appState or Control or Node (yes, I’ve done it in all three), gets confusing. When you’re just getting started, you don’t have enough experience to know where the best place to put it is. I do fine now but, I still don’t know how others do it. And, from there, how do you interact with the spatial. *(See note below)
I got that, “Scene graph is not properly updated for rendering,” too many times. (“Um, I’m done updating so, yes, I think it is…”) There was little or no discussion from a noobs perspective, with all that there is to learn and read through it may have been missed, about where/when to set translations and rotations when you move all that out of Main(). I just saw a post about how to update a spatial in a networked game. I ended up creating a base class that works either way. In update(), without an active network connection it sets the translation and rotation immediately, and with a network connection it sends the update to the server and waits for the server’s reply to do the update. I got the idea from MonkeyZone. So, now, I set states that get checked in the update phase. (Uh, that is how ya’all do it, right?) But, I feel like I had to come up with that myself.
I guess I’m asking for something like a node pull. Find what everyone struggles with and redo the examples, or add to the examples with completely JME organized examples. Since appStates are so important, I think they should be introduced in the intermediate (or even beginner) section, and all the example code, especially for the InputManager, moved to them/it. Also, I’d like to see the Advanced section upgraded, or a More Advanced section added, with more complete examples. As for examples, there are MMORPGs and space/flight sims. Are there any more genres in 3D gaming for which a skeleton program could be written?
- I did a quick review of the Sample Projects and remembered that I found them to be overwhelming. I could make sense of them now.