www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - 2D game physics, macOS

reply Joel <joelcnz gmail.com> writes:
Is there a 2D physics library I can use on macOS, with D?

I already use a multimedia library for graphics, sound and input.
Jul 12 2017
parent reply Jacob Carlborg <doob me.com> writes:
On 2017-07-12 12:18, Joel wrote:
 Is there a 2D physics library I can use on macOS, with D?
 
 I already use a multimedia library for graphics, sound and input.
Box2D [1] perhaps. I think I've seen bindings for it, somewhere. [1] http://box2d.org -- /Jacob Carlborg
Jul 12 2017
parent reply Joel <joelcnz gmail.com> writes:
On Wednesday, 12 July 2017 at 12:05:33 UTC, Jacob Carlborg wrote:
 On 2017-07-12 12:18, Joel wrote:
 Is there a 2D physics library I can use on macOS, with D?
 
 I already use a multimedia library for graphics, sound and 
 input.
Box2D [1] perhaps. I think I've seen bindings for it, somewhere. [1] http://box2d.org
It doesn't look like there's any thing I can use. I've come across: dbox, dchip, and blaze. Blaze is dsource. dbox is alpha and hasn't been updated for 3 years. dchip [1] hasn't been updated for 2 years and doesn't compile (that's with out using any thing, just import and dub dependency). [1] https://github.com/d-gamedev-team/dchip
Jul 12 2017
parent reply Jacob Carlborg <doob me.com> writes:
On 2017-07-13 02:34, Joel wrote:

 It doesn't look like there's any thing I can use. I've come across: 
 dbox, dchip, and blaze.  Blaze is dsource. dbox is alpha and hasn't been 
 updated for 3 years. dchip [1] hasn't been updated for 2 years and 
 doesn't compile (that's with out using any thing, just import and dub 
 dependency).
You can try creating your own bindings. DStep [1] is a tool that can help with that. Make sure you build DStep from master. [1] http://github.com/jacob-carlborg/dstep -- /Jacob Carlborg
Jul 13 2017
parent Joel <joelcnz gmail.com> writes:
On Thursday, 13 July 2017 at 09:53:05 UTC, Jacob Carlborg wrote:
 On 2017-07-13 02:34, Joel wrote:

 It doesn't look like there's any thing I can use. I've come 
 across: dbox, dchip, and blaze.  Blaze is dsource. dbox is 
 alpha and hasn't been updated for 3 years. dchip [1] hasn't 
 been updated for 2 years and doesn't compile (that's with out 
 using any thing, just import and dub dependency).
You can try creating your own bindings. DStep [1] is a tool that can help with that. Make sure you build DStep from master. [1] http://github.com/jacob-carlborg/dstep
I don't know about trying to do that.
Jul 13 2017