How to use Physics2D.Net with WPF and Model-View-ViewModel

21 views
Skip to first unread message

Scott W.

unread,
Nov 8, 2009, 2:41:56 PM11/8/09
to Physics2D.Net
Hello,

I've been working on writing an application in WPF with the Model-View-
ViewModel (MVVM) pattern, and I had a need for a 2D physics engine, so
I integrated Physics2D.Net into the base application framework. I
posted an article on CodeProject about how it works:

- http://www.codeproject.com/KB/WPF/SoapBoxCorePinBallDemo.aspx

I also open sourced the entire framework and the demo application
(which happens to be a basic pin ball game to show off
Physics2D.Net). If you want to see how to use Physics2D.Net in WPF, I
think this is a good place to start. The framework makes it easy to
define your physics bodies using simple WPF Geometry objects and
automatically renders them as black and white unless you want to
override the default "View" with your own custom look for each body.
Here's the link to the open source project for the framework (called
SoapBox Core):

- http://soapboxcore.com/

I hope that's useful to someone! :)

Scott

JonoPorter

unread,
Nov 9, 2009, 2:09:32 PM11/9/09
to Physics2D.Net
That is pretty cool. Nice work.

On Nov 8, 12:41 pm, "Scott W." <g.scott.whitl...@gmail.com> wrote:
> Hello,
>
> I've been working on writing an application in WPF with the Model-View-
> ViewModel (MVVM) pattern, and I had a need for a 2D physics engine, so
> I integrated Physics2D.Net into the base application framework.  I
> posted an article on CodeProject about how it works:
>
>  -http://www.codeproject.com/KB/WPF/SoapBoxCorePinBallDemo.aspx
>
> I also open sourced the entire framework and the demo application
> (which happens to be a basic pin ball game to show off
> Physics2D.Net).  If you want to see how to use Physics2D.Net in WPF, I
> think this is a good place to start.  The framework makes it easy to
> define your physics bodies using simple WPF Geometry objects and
> automatically renders them as black and white unless you want to
> override the default "View" with your own custom look for each body.
> Here's the link to the open source project for the framework (called
> SoapBox Core):
>
>  -http://soapboxcore.com/
Reply all
Reply to author
Forward
0 new messages