Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
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  
  Quality of Box2D?  (Read 807 times)
0 Members and 1 Guest are viewing this topic.
Offline Best Username Ever

Junior Devvie





« Posted 2013-01-19 04:31:57 »

I heard of something called "Box2D" but did not know much about it. I went to look at the API, but found the applet demo first. I noticed the bridge demo was buggy. Fire da bomb and it occasionally flies through the bridge. Another demo froze. I tried the Flash port demos of Box2D too. One of the objects went through another object once. The ray casting demo was broken. It's a little surprising. I would have thought obvious bugs would have been eliminated or at least not so obvious. Isn't it a fairly old project used in quite a few games?
Offline sproingie

JGO Kernel


Medals: 202



« Reply #1 - Posted 2013-01-19 05:31:15 »

Box2D works fine, it's good enough for Angry Birds and all that.  The demos sound like they need a little work with their precision, maybe their timestep, since it sounds like they're exhibiting tunneling effects (one of the reasons to use a fixed timestep!)  It's a usage problem with any physics library, it's not a bug in Box2D.

Offline krasse
« Reply #2 - Posted 2013-01-19 08:48:19 »

Box2D is of high quality but there are many ports out there of old and alpha versions of it which degrades its reputation.
I think that you can increase the quality of collision detection for fast moving objects like bullets to deal with tunneling more robustly.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline pitbuller
« Reply #3 - Posted 2013-01-19 10:33:10 »

Maker of box2d is Industry veteran Erin Catto and his physics are good enough for Blizzard Diablo series. Best physic engine I have ever used.
But just like every physic engine using it carelessly can break it.
Offline Best Username Ever

Junior Devvie





« Reply #4 - Posted 2013-01-19 16:41:56 »

That still leaves the question: Is the Java port of Box2D better than its demos?
Offline matheus23

JGO Kernel


Medals: 114
Projects: 3


You think about my Avatar right now!


« Reply #5 - Posted 2013-01-19 17:29:00 »

That still leaves the question: Is the Java port of Box2D better than its demos?

Depends. Either you're talking about JBox2D or LibGDX's port of LibGDX. JBox2D isn't updated that often anymore, afaik, and is a direct port from the C++ code into Java, whereas LibGDX's Box2D is a link, a wrapper between the original C++ code and the Java code.

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline Best Username Ever

Junior Devvie





« Reply #6 - Posted 2013-01-19 17:40:49 »

That still leaves the question: Is the Java port of Box2D better than its demos?

Depends. Either you're talking about JBox2D or LibGDX's port of LibGDX. JBox2D isn't updated that often anymore, afaik, and is a direct port from the C++ code into Java, whereas LibGDX's Box2D is a link, a wrapper between the original C++ code and the Java code.

I am glad you brought that up. I did not know it existed and it's not technically a port. Knowing JBox2D is not updated often is also very helpful. (By that I assume you mean less often than Box2D and slow to fix bugs. One could have a flawless piece of software and never have to update at all.)
Offline pitbuller
« Reply #7 - Posted 2013-01-19 21:39:32 »

"flawless piece of software"
lolled.
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.

rwatson462 (35 views)
2014-12-15 09:26:44

Mr.CodeIt (26 views)
2014-12-14 19:50:38

BurntPizza (60 views)
2014-12-09 22:41:13

BurntPizza (95 views)
2014-12-08 04:46:31

JscottyBieshaar (55 views)
2014-12-05 12:39:02

SHC (71 views)
2014-12-03 16:27:13

CopyableCougar4 (73 views)
2014-11-29 21:32:03

toopeicgaming1999 (133 views)
2014-11-26 15:22:04

toopeicgaming1999 (124 views)
2014-11-26 15:20:36

toopeicgaming1999 (34 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

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
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!