I am using jMonkeyEngine for some months yet and was curious if there are any bigger example games with source code made with jmonkey. I am working on a bigger project at the moment and wanted to see how other solved some common problems, e.g. clever usage of controls and appstates, maybe messaging systems, handling bigger terrains and so on. I already have solutions for that in my project but I think my code is pretty unflexible at the moment. I already looked some things up (mokeyzone, general code design, ā¦) but it wasnĀ“t the kind of source code/code design I was looking for. So do you guys know some useful sources of inspiration?
This one was very useful to me at the start, it is not a real game, but it utilize control and appstate, not sure if it the optimum or not but it is a good start
A few of my open source tools are full up JME apps and show how to use app states and stuff:
There are also Zay-ES examples that you can findā¦ Asteroid Panic and Monkey Trap.
It turns out that I use controls minimally in my ES-based applications but there are some usage. I use a lot of app states as I find it a very nice service model.
Also note: depending on what you are trying to do with touchā¦ if it is somehow interacting with a UI then the Lemur UI library supports multi-touch āout of the boxā, so to speak. Like, you can drag one slider with one finger while you drag another slider with another.
This picking event model is also usable on its own without the GUI parts.
Iām looking for and would suggest to the developers that, the ābasicGameā that the IDE instructs us to setup first, should be configured to use either opengl v1 or v2 .
As a newbie, i installed, setup the basicgame, decided to test run the project, only to see an error with opengl version.
I did the driver update, didnāt help, my dell POS is old like me and doesnāt support opengl v2, but instead has opengl v1.4 installed.
Left scratching my head and wondering i can even use jmonkey, i searched and found references online and in the jmonkey GUI help.
Problem is, iām a newbie and being forced to edit the code that i donāt completely understandā¦
my search suggests that the engine can be used with opengl v1 IF itās configured to do so.
Does a version of the ābasic gameā exist where i can select the version of opengl to use ( maybe a pop-up at run time ) informing me that opengl v2 isnāt supported, click this [button] to configure and run using opengl v1 instead.
seems to me the default ābasicgameā should be configured this way from the get goā¦ seeing that i almost uninstalled thinking my computer graphics card wasnāt compatible, but turns out ( only through searching and using specific settings) that it mite still work ! .