2D Physics Library

Previous topic - Next topic

aroldo

Here GLBasic community!

I would like to know if there is a 2D physics library that is compatible with GLBasic,
Besides the Box2D posted by Kitty Hello http://www.glbasic.com/forum/index.php?topic=3561.0?
[a http://apd-games.com/][img http://apd-games.com/images/APDGames135.png][/a]
MacBook Pro OS X El Capitan
XCode Version 7
iPhone 6 running  iOS 9
iPad Mini running  iOS 7.1
Galaxy S5
Dell Latitude Windows 8 Enterprise
Palm Pre, Palm Pre2

Kitty Hello

what's wrong with box2d?

aroldo

Nothing is wrong, I just wanted another one to compare features.
[a http://apd-games.com/][img http://apd-games.com/images/APDGames135.png][/a]
MacBook Pro OS X El Capitan
XCode Version 7
iPhone 6 running  iOS 9
iPad Mini running  iOS 7.1
Galaxy S5
Dell Latitude Windows 8 Enterprise
Palm Pre, Palm Pre2

AlienMenace

Quote from: Kitty Hello on 2012-Feb-24
what's wrong with box2d?

Box2D is great but the version available of GLB is outdated and incomplete.
Apps published: 3

matchy

Quote from: AlienMenace on 2012-Feb-26
Box2D is great but the version available of GLB is outdated and incomplete.
:zzz:
Right then, how far did you get with it? What complex design do you have that require more than that? What do you think about the successful prototypes and productions?

AlienMenace

#5
I would like to be able to turn a wheel with a motor so I can create a complex
machine or even a not-so-complex one. Pulleys and prismatic joints would be
nice too. 

Prototypes and productions? Sorry, I'm not sure what that means.
Apps published: 3

matchy

#6
Quote from: AlienMenace on 2012-Feb-26
I would like to be able to turn a wheel with a motor so I can create a complex
machine or even a not-so-complex one. Pulleys and prismatic joints would be
nice too. 

Prototypes and productions? Sorry, I'm not sure what that means.

Seriously? Do you have any sample apps? Pulleys and motors isn't game talk and it depends on the technique and design as much is still possible with Box2D. What's wrong with a simple pool game for starters?

aroldo

Gernot,

I am looking for a Physics engine that I can use with sprites.
Do have a Box2D example that with sprites? Does Box2D only works with rectangles, circles and polygons drawn on the fly?
[a http://apd-games.com/][img http://apd-games.com/images/APDGames135.png][/a]
MacBook Pro OS X El Capitan
XCode Version 7
iPhone 6 running  iOS 9
iPad Mini running  iOS 7.1
Galaxy S5
Dell Latitude Windows 8 Enterprise
Palm Pre, Palm Pre2

Qedo

I attach an example with sprites that I hope will be useful
Ciao

[attachment deleted by admin]

erico

When I run that demo I get tons of errors and it fails.
Am I missing something?

matchy

The demo is missing the whole Box2D folder, eg; it requires Box2D.h.

Quote from: aroldo on 2012-Feb-26
I am looking for a Physics engine that I can use with sprites.

Sprites and 3D are not in the physics "engine" but in GLB.

Qedo

Insert the  attached box2d files in the pogram's folder
Ciao


[attachment deleted by admin]

erico

works fine now!

AlienMenace

#13
I said that Box2D on GLB is outdated and incomplete, I didn't say it was unusable.

Not game talk?

Games that use motors and prismatic joints like those side-view motorcycle games:
http://www.emanueleferonato.com/2009/04/06/two-ways-to-make-box2d-cars/

and pulley joints on display in Limbo:
http://www.youtube.com/watch?v=mOnTwgMDmI8

I had to move development of my platform game over to a different
language because it needed motors and now has pulleys implemented
as well.

I'm not a beginner and I don't need to start out with a pool game but
thanks for the suggestion. :)
Apps published: 3

aroldo

Qedo,

Grazie Mille!
I will give it a try.

AlienMenace, what is the other platform you switched to? Corona? Shiva?
[a http://apd-games.com/][img http://apd-games.com/images/APDGames135.png][/a]
MacBook Pro OS X El Capitan
XCode Version 7
iPhone 6 running  iOS 9
iPad Mini running  iOS 7.1
Galaxy S5
Dell Latitude Windows 8 Enterprise
Palm Pre, Palm Pre2