PDA

View Full Version : Is there good 2d physics library with pascal bindings?



Darkhog
20-06-2013, 03:32 PM
As Box2D bindings for Pascal are virtually non-existent, I'm looking for alternative (so blocks removed by Mario in Super Heli Land could fly downwards in a cool way). Do you know about any 2d physics lib with Pascal bindings that actually work? Chipmunk? Newton? Some other?

SilverWarior
20-06-2013, 04:30 PM
You can use Newton Game Dynamics. More information (pascal headers, demos, etc.) on Sacha Williems webpage:
http://www.saschawillems.de/?page_id=75

imcold
20-06-2013, 04:37 PM
There were working Chipmunk bindings the last time I checked (2 years back).

wagenheimer
20-06-2013, 04:39 PM
Box2D for Delphi!

https://code.google.com/p/box2d-delphi/

Darkhog
20-06-2013, 09:11 PM
Yeah... about that... I need freepascal/Lazarus bindings as my game is going to be multiplatform (while I don't have Linux ATM, virtual machine should be enough to compile and test it).

SilverWarior
21-06-2013, 06:31 AM
Newton Game Dynamics does support Windows, Max, and LINUX and you can find newest pascal Header here (for both Delphi and FPC):
http://newtondynamics.com/forum/viewtopic.php?f=9&t=7395

Darkhog
23-06-2013, 10:17 PM
Thanks! When I went on Newton's site in first link of yours, I saw only Delphi/Pascal, which is bit vague and assumed it is Delphi-only. But since it isn't, my issue is now resolved. Big thanks!

WILL
24-06-2013, 06:44 AM
I think Newton started out as Delphi and Windows, but as the number of usable tools and supported targets grew so did the support for other compilers and platforms.