Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (degenerate_762), 1,114 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
3Dgs Box2D wrapper #361142
03/01/11 06:20
03/01/11 06:20
Joined: Feb 2010
Posts: 320
TANA/Madagascar
3dgs_snake Offline OP
Senior Member
3dgs_snake  Offline OP
Senior Member

Joined: Feb 2010
Posts: 320
TANA/Madagascar
Hi to All,

I have created a 3dgs Box2D(Box2D 2.1.2) physics plugin (Working with all A7/A8 editions). Actually it has all the Box2D functions, but I plan to integrate other additional functionalities, like buoyancy, gravity and others. All functions are quite the same as the C++ version except member properties are accessed through getters an setters, so Box2D knowledge can be used with Lite-C. I also plan to create some demos that use more advanced Box2D features.

To use it with 3DGS, Box2D performs the simulation, the simulation results are then used to animate (move and rotate) 2D Objects accordingly(ex PANELS).



Below are some testbed screens :

Ragdoll (From http://box2dflash.sourceforge.net/ )



Bridge (From Box2D TestBed)



Theo Jansen Walker (From box2D Testbed)


Best regards.

Last edited by 3dgs_snake; 10/10/12 09:04. Reason: Added google drive link
Re: 3Dgs Box2D wrapper [Re: 3dgs_snake] #361147
03/01/11 07:26
03/01/11 07:26
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline
Expert
fogman  Offline
Expert
F

Joined: Apr 2005
Posts: 4,506
Germany
How cool is that, please? laugh
Great work!


no science involved
Re: 3Dgs Box2D wrapper [Re: fogman] #361149
03/01/11 08:00
03/01/11 08:00
Joined: Feb 2010
Posts: 320
TANA/Madagascar
3dgs_snake Offline OP
Senior Member
3dgs_snake  Offline OP
Senior Member

Joined: Feb 2010
Posts: 320
TANA/Madagascar
Hi Mr fogman,
This is the thing I told you grin. Unfortunately, I wasn't able to use the code you gave me, but I'm still finding a way to draw (and fill) primitives, so your code will be usefull.

Best regards.

Re: 3Dgs Box2D wrapper [Re: 3dgs_snake] #361153
03/01/11 08:46
03/01/11 08:46
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
wow this is some good stuff


"empty"
Re: 3Dgs Box2D wrapper [Re: flits] #361156
03/01/11 09:03
03/01/11 09:03
Joined: Feb 2010
Posts: 320
TANA/Madagascar
3dgs_snake Offline OP
Senior Member
3dgs_snake  Offline OP
Senior Member

Joined: Feb 2010
Posts: 320
TANA/Madagascar
Thanks,

Actually, it is my contest entry. You will be able to get it in the free resources very soon I think.

Have a nice day.

Last edited by 3dgs_snake; 03/01/11 09:04.
Re: 3Dgs Box2D wrapper [Re: 3dgs_snake] #361160
03/01/11 11:02
03/01/11 11:02
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
awesome! laugh

i have some ideas for 2d physics games so this will be helpful. if only i had more time...

a while ago i tried to use chipmunk which is written in c. i thought maybe no wrapper would be needed but lite-c was too incompatible.

Re: 3Dgs Box2D wrapper [Re: ventilator] #361162
03/01/11 11:22
03/01/11 11:22
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
YAY! we can make Angry Birds now wink


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: 3Dgs Box2D wrapper [Re: ventilator] #361163
03/01/11 11:23
03/01/11 11:23
Joined: Feb 2010
Posts: 320
TANA/Madagascar
3dgs_snake Offline OP
Senior Member
3dgs_snake  Offline OP
Senior Member

Joined: Feb 2010
Posts: 320
TANA/Madagascar
Hi ventilator,

In the first time, I also thought about using chipmunk, and like you said, there were incompatibilities (I wanted to rewrite it but I failed), And after some tests I finally wrapped Box2D.

I am really waiting for the awesome things that others will create with it laugh .

Re: 3Dgs Box2D wrapper [Re: Helghast] #361170
03/01/11 13:53
03/01/11 13:53
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Originally Posted By: Helghast
YAY! we can make Angry Birds now wink


Na, that was already possible:



Nice contribution!


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: 3Dgs Box2D wrapper [Re: WretchedSid] #361200
03/01/11 17:41
03/01/11 17:41
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Man, I love it! Thanks a lot!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Page 1 of 3 1 2 3

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1