Chipmunk2D on Windows Phone 7+

Official forum for the Chipmunk2D Physics Library.
Post Reply
DotNetGuy
Posts: 4
Joined: Sat Feb 08, 2014 1:49 pm
Contact:

Chipmunk2D on Windows Phone 7+

Post by DotNetGuy »

I am working on an XNA/MonoGame project that is going to use 2D physics and target Windows Phone 7, Windows Phone 8 and other platforms covered by MonoGame.

Is it possible to use Chipmunk2D on WP7 and WP8?

Thank you!

PS: I am not going to use Unity.
DotNetGuy
Posts: 4
Joined: Sat Feb 08, 2014 1:49 pm
Contact:

Re: Chipmunk2D on Windows Phone 7+

Post by DotNetGuy »

I would be interested in some tutorials on using Chipmunk2D with MonoGame as well. WP7 support is ideal, but I can probably leave without it or target multiple physics engines.

Thanks.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Chipmunk2D on Windows Phone 7+

Post by slembcke »

Well, Chipmunk is written in C and would need to be compiled as native code and accessed using PInvoke or similar. I don't think that's possible on WP7.

I know there were two developers that did a partial port of Chipmunk to WP7 for porting a game a couple years ago, but AFAIK they never released the code. It would have been a couple versions old anyway. You might be better of going with an existing, pure C# physics lib in this case.

I am curious though, why WP7? Isn't it pretty much dead at this point?
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
DotNetGuy
Posts: 4
Joined: Sat Feb 08, 2014 1:49 pm
Contact:

Re: Chipmunk2D on Windows Phone 7+

Post by DotNetGuy »

Well, there must be some people who are still on WP7 but in the end it is probably not worth the effort. What about C# bindings for Unity - are they Unity-specific or can be used independently (in terms of using with WP8)?
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Chipmunk2D on Windows Phone 7+

Post by slembcke »

Honestly most of the code in the Unity bindings is to make it act more like the built in physics API. It's all just PInvoke and a little bit of Mono code for doing the callbacks. It not sure how useful it would really be to you.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
DotNetGuy
Posts: 4
Joined: Sat Feb 08, 2014 1:49 pm
Contact:

Re: Chipmunk2D on Windows Phone 7+

Post by DotNetGuy »

OK, thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests