GLBasic forum

Main forum => GLBasic - en => Topic started by: mentalthink on 2010-Feb-06

Title: Is 2dBOX implemented for compile on Iphone?¿
Post by: mentalthink on 2010-Feb-06
Hi, there
Searching yesterday in the forum, about physics, I read about 2dBox, I make succesfully work on PC, but on Iphone not.

Is the port of 2dBox in developement?Ã,¿, or is possible to use on Iphone, I read what an user maded work it on Iphone, I make some probes but I canÃ,´t compile on iphone whit 2dBOX.

Thanks,
   Iván J.
Title: Re: Is 2dBOX implemented for compile on Iphone?¿
Post by: Mindfield on 2010-Feb-07
Box2D support was apparently being worked on, but as I understand it there were some problems integrating it into GLBasic, so right now it is not support, and I'm not sure if anyone is still working on it.
Title: Re: Is 2dBOX implemented for compile on Iphone?¿
Post by: mentalthink on 2010-Feb-07
HI Mindfield, thanks for your reply, another question is..., (sorry for my ignorance).

The Newton Physics, what are be implemented in GLbasic. It can use for 2D?Ã,¿ or only are for 3D, because I read in somewhere, what newton Physics are a Physics engine only for 3D.

In some Post, I read what Glbasic have samples about Newton, but I donÃ,´t look anywhere in the directoy of samples. Only I found teh .gbas SDK, and browsing the web.

Thanks.
Title: Re: Is 2dBOX implemented for compile on Iphone?¿
Post by: Schranz0r on 2010-Feb-07
you can use it for 2D, too.
Title: Re: Is 2dBOX implemented for compile on Iphone?¿
Post by: bigsofty on 2010-Feb-07
I think Ivan is looking for an iPhone2D Physics lib, I don't think GLB Newton works for that platform?
Title: Re: Is 2dBOX implemented for compile on Iphone?¿
Post by: mentalthink on 2010-Feb-07
Hi Schranz0r, I thinked what Nweton Physics only works in 3D  :enc:

Hi bigsofty, yes I want to implement on Iphone, I will make a probes, perhaps Newton works on Iphone, if not, I suppose what IÃ,´ve got to wait a port of 2DBox or something similar.

Thanks to both.

Best Regards ,Iván J.
Title: Re: Is 2dBOX implemented for compile on Iphone?¿
Post by: Schranz0r on 2010-Feb-07
Newton works on 2D, too!
simply use x = 0 thats it...

Newton only do the math!
Title: Re: Is 2dBOX implemented for compile on Iphone?¿
Post by: mentalthink on 2010-Feb-07
Thanks Schranz0r.

Best Regards.
Iván J
Title: Re: Is 2dBOX implemented for compile on Iphone?¿
Post by: codegit on 2010-Feb-08
Is Newton implemented as a .dll???
Title: Re: Is 2dBOX implemented for compile on Iphone?¿
Post by: Kitty Hello on 2010-Feb-08
Netwton is a dll for windows. I think there's a Mac and Linux port, too. Not sure.
It's a very good engine for 3D and you can make it 2D with a little tweaking http://cogwork.greatgamesexperience.com (http://cogwork.greatgamesexperience.com).
For other platforms it's not ported and it would be too slow.
There's Chipmunk, that has a C API, which would be rather easy to implement. Some also started on a Box2D wrapper, but it's all not finished, yet.