physics

48 views
Skip to first unread message

paul jobs

unread,
Apr 4, 2009, 3:54:07 PM4/4/09
to phon...@googlegroups.com
does phonegap have a physics library for game development
thanks

reverend

unread,
Apr 4, 2009, 4:33:48 PM4/4/09
to phonegap
PhoneGap is just surfacing a chromeless browser window, along with
javascript hooks in to some device constructs, like accelerometer
data, GPS data, etc.

So things running in PhoneGap use Javascript/HTML/CSS/AJAX to drive
content. This means you could probably use Box2DJS to do your
physics...

reverend

unread,
Apr 4, 2009, 8:57:03 PM4/4/09
to phonegap
Although, I just tried some Box2dJS content just in Mobile Safari.
First attempt crashed the browser. Second attempt worked, but only
at about 1.5 fps. So not looking likely. Might be able to scale
it down a bit, and do some simple stuff with it, but I don't know.

paul jobs

unread,
Apr 5, 2009, 1:35:33 AM4/5/09
to phon...@googlegroups.com
thanks so objective c is better for complicated games
--
BidEgg - Worlds best low price Auction site
http://bidegg.com

BidEgg - Worlds best low price Auction site

reverend

unread,
Apr 5, 2009, 1:10:48 PM4/5/09
to phonegap
No doubt Objective C is a better way to go for complicated stuff.
You can do a lot in PhoneGap, but any way you look at it, Javascript
is interpreted code, and Objective C is compiled. So anything that
takes massive amount of computation should probably be done in
Objective C.
> BidEgg - Worlds best low price Auction sitehttp://bidegg.com

Chris McCormick

unread,
Apr 5, 2009, 1:27:51 PM4/5/09
to phon...@googlegroups.com
Hi,

Whilst it's not a physics engine, I've found the geometry tutorials on this
page very useful: <http://www.kevlindev.com/geometry/index.htm>

Best,

Chris.
-------------------
http://mccormick.cx
Reply all
Reply to author
Forward
0 new messages