Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (590)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Which physics engine?  (Read 2547 times)
0 Members and 1 Guest are viewing this topic.
Offline Cutter

Senior Newbie





« Posted 2007-02-11 05:30:43 »

I need a physics engine for my first full game but I don't know which one to choose. The ideal engine doesn't have to be very sophisticated, in fact I would prefer a simple one that I can get started with quickly. Major pluses would be documentation or examples/tutorials on the web, small jar size and speed over accuracy.

I looked at JOODE but there were no documentation or docs and it looked a bit incomplete and possibly buggy (I don't know why but I wasn't filled with confidence by what was on its website).

Any suggestions?

P.S. - The game is a top down sports sim so i need 3 dimensions and I'll be dealing mainly with a sphere
Offline biggeruniverse

Senior Newbie




That's just peanuts to space.


« Reply #1 - Posted 2007-02-11 06:54:34 »

Tell you what, try out ODEJava and JOODE; they both use very similar APIs. For JOODE, check the examples. ODEJava is more mature, but JOODE is a pure-Java implementation.
Offline t_larkworthy

Senior Devvie


Medals: 1
Projects: 1


Google App Engine Rocks!


« Reply #2 - Posted 2007-02-11 12:48:31 »

If its spheres on a plane then yes I think JOODE could well fullfil your needs. I am currently trying to write documentation for it at the moment....

Runesketch: an Online CCG built on Google App Engine where players draw their cards and trade. Fight, draw or trade yourself to success.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline irrisor

Junior Devvie





« Reply #3 - Posted 2007-02-11 13:56:34 »

If you were choosing jME as scene graph you can use jME Physics 2 which can switch between JOODE and ODE. There are some basic tutorials and a nice community... but you should choose on the scene graph first...
Offline t_larkworthy

Senior Devvie


Medals: 1
Projects: 1


Google App Engine Rocks!


« Reply #4 - Posted 2007-02-11 14:21:26 »

Yeah, Irrisor is right. The physicsy bit is probably the easiest bit. To use JOODE or odejava you need to connect them to the graphics engine which will probably be quite game specific. You need to understand your graphics engine first. 

Runesketch: an Online CCG built on Google App Engine where players draw their cards and trade. Fight, draw or trade yourself to success.
Offline Marvin Fröhlich

Senior Devvie




May the 4th, be with you...


« Reply #5 - Posted 2007-02-11 18:55:59 »

Just for cmpleteness: Have a look at Xith3D, too. It is a nice, fast and feature-rich scenegraph implementation. We are working on a Physics abstraction, too, that is capable of switching between arbitrary physics engines (like JOODE and ODEJava). We even have very good documentation.

Marvin
Offline Amos Wenger

Senior Devvie




Everything's possible, but not everything's fun...


« Reply #6 - Posted 2007-02-12 12:39:35 »

Personally I'd advise you the Xith3D+JOODE couple. I won't dissert on why Xith3D and not jME/Java3D but know it's a viable alternative. About ODEJava vs JOODE, true ODEJava is more mature but also  you sometime experience unforeseeable bugs for no particular reason (hardly debuggable, since it's a JNI binding of ODE).

But in the end, all advice in the world can't replace testing.. so go on and test some solutions, stick on whatever feel most comfortable for you..

"Once you start working on something, don't be afraid of failure and don't abandon it. People who work sincerely are the happiest"
Offline Cutter

Senior Newbie





« Reply #7 - Posted 2007-02-13 10:21:19 »

Thanks for the quick replys everyone.

I guess I didn't give enough information in my original post (sorry bout that) so I'll try and clear up everything:

a) I will need 3 dimensions but the game is done in 2D, with the X and Y axies representing left/right and backwards/forwards respectively, up and down being represented by going in and out of the screen i.e. faked by moving shadows - however the calculations are done as normal. So I won't be needing any scene-graph or anything like that. In short the game is 2D not 3D.

b) I've pretty much ruled out ODEJava because as a noob some unexplainable error (that's not even my fault) might be too much for me to recover from and I really want something that's all Java.

c) Is there anywhere I can just get the JOODE JAR because I have no idea how to use subversion (even though I really should by now), ahem!! Embarrassed

That should be about it (for now) , thanks!!
Offline t_larkworthy

Senior Devvie


Medals: 1
Projects: 1


Google App Engine Rocks!


« Reply #8 - Posted 2007-02-13 10:44:38 »

Yeah I will setup a link on the website ... pending (shell sccess down at sourceforge, but ready to deploy)

Runesketch: an Online CCG built on Google App Engine where players draw their cards and trade. Fight, draw or trade yourself to success.
Offline gideon

Senior Newbie





« Reply #9 - Posted 2007-02-15 12:45:44 »

If the physics are 2d, you could give phys2d (http://www.cokeandcode.com/phys2d/) a try, its quite basic. However there is no other documentation than the comments that go with the code and consequently javadoc documentation. No tutorials whatsoever. There are a lot of demos that should get you started though.

The towship's adventures
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline t_larkworthy

Senior Devvie


Medals: 1
Projects: 1


Google App Engine Rocks!


« Reply #10 - Posted 2007-02-27 19:43:44 »

OK. Finally up:-
http://joode.sourceforge.net/download.html

Runesketch: an Online CCG built on Google App Engine where players draw their cards and trade. Fight, draw or trade yourself to success.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

trollwarrior1 (28 views)
2014-11-22 12:13:56

xFryIx (70 views)
2014-11-13 12:34:49

digdugdiggy (49 views)
2014-11-12 21:11:50

digdugdiggy (43 views)
2014-11-12 21:10:15

digdugdiggy (37 views)
2014-11-12 21:09:33

kovacsa (61 views)
2014-11-07 19:57:14

TehJavaDev (65 views)
2014-11-03 22:04:50

BurntPizza (63 views)
2014-11-03 18:54:52

moogie (78 views)
2014-11-03 06:22:04

CopyableCougar4 (78 views)
2014-11-01 23:36:41
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!