Featured post
box2d - What is the most performant 2D graphics engine for use with Android? -
i have managed make hello world jbox2d application, , works (i have bouncing balls). however, read comment on forum post, claims jbox2d produces lot of garbage, , causes animation poor. true?
if yes, other 2d engines available me? use physics engine 2d game, if it's simple one.
update:
just tried running jbox2d bouncing balls demo on phone, , performance terrible. looks libgdx way go physics, since think comes native version of box2d works on android. andengine, game engine , not physics engine, may use in conjunction libgdx give myself head start.
update 2:
i've had quick play libgdx , andengine. i've found they're both android game engines, andengine has less steep learing curve @ cost of being more limiting. if want build serious game, want use libgdx allow more (but harder use).
jbox2d port native version called box2d. native version didn't need worry garbage collection written language used manual memory management (c++ think).
the problem comes port java jbox2d hasn't been optimised, , of such, lots of temporary variables created triggers garbage collections lot , consequently slows framerate.
as cristian suggested, try andengine. can't remember if uses jbox2d though or native box2d.
i suggest engine badlogicgames called libgdx here:
http://code.google.com/p/libgdx/
it uses box2d natively , has option of developing whole application on desktop , porting android testing. porting needs few lines of code , there couple of example apps not tricky! :)
it maintained, updates being made time!
anyway, hope helps!
andy.
- Get link
- X
- Other Apps
Comments
Post a Comment