After a few requests I decided to create a little java library for how to create a 2D game in jME.
This library will assist the user in making a 2D game with or without physics.
I make use of Dyn4j as physics engine.
Please give it a try and let me know if there is any difficulty using it.
I do have a good wiki page of how one would use it under the readme file.
Never mind, I see what happen and I also fix it. Just use jmonkeyEngine sdk to create a Java Class Library and import all the Galago2D source code in it , and also import .jar file that galago need. Then just simple build to jar, and import to another project libraries.
Hi @Simon, first I want to say thanks for using and testing the code.
I noticed from your screenshot that you do not have the dyn4j 3.3 library setup in your project.
Would you mind adding it and then let me know if it works then?
You are welcome @ndebruyn , and thanks for the link that you share. I add the dn4j libraries to my project and most error are disappear but I realize it had another error at this line:
import com.bruynhuis.galago.sprite.Sprite;
Then I found the Galago framework ,I just download and import to my porject. Now the Galago2D libraries are working fine.
Hi all.
After some action on the 2D front in jME I decided I had to update my 2D library to make use of the latest Dyn4J version.
This is still a work in progress but here you can see I have simple draw box to screen and physics space sample.