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 (http://www.glbasic.com/forum/index.php?topic=3561.0)?
what's wrong with box2d?
Nothing is wrong, I just wanted another one to compare features.
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.
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?
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.
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?
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?
I attach an example with sprites that I hope will be useful
Ciao
[attachment deleted by admin]
When I run that demo I get tons of errors and it fails.
Am I missing something?
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.
Insert the attached box2d files in the pogram's folder
Ciao
[attachment deleted by admin]
works fine now!
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. :)
Qedo,
Grazie Mille!
I will give it a try.
AlienMenace, what is the other platform you switched to? Corona? Shiva?
Out of respect for Gernot, I'd rather not say. Hope you understand. :)
Quote from: AlienMenace on 2012-Feb-26
I'm not a beginner and I don't need to start out with a pool game but
thanks for the suggestion. :)
Hope I helped.
I think a newer version of Box2D should work by simply replacing the files.
I have one "box2D.cpp" file that's from me which includes all the cpp files into one file for easier compiling.
Gernot,
Box2D is at version 2.2.1.
http://code.google.com/p/box2d/downloads/detail?name=Box2D_v2.2.1.zip&can=2&q= (http://code.google.com/p/box2d/downloads/detail?name=Box2D_v2.2.1.zip&can=2&q=)
Is it just a matter to update the C++ code in the Box2D for GLBasic?
:) how do i update?