SpriteHand
Module Border
  Physics Helper 3: Now with WPF Support!
Module Border
Location: BlogsAndy's Blog    
Posted by: host 8/17/2009 1:34 PM
Several people have asked if the Physics Helper Library for Silverlight could also support WPF. While there are lots of similarities between Silverlight and WPF, there are also LOTS of differences, including the way VisualTreeHelper works - which is something the library uses for its boundary detection.

While I had it somewhere on my TO DO list to incorporate WPF support, it had always been on the backburner in favor of other tasks. But thanks to a new contributor to the code, Bill Seddon, I'm happy to say a new version of the Physics Helper Library is available with WPF support!

This library of Behaviors and Controls for Expression Blend makes it very quick to create physics games and simulations in Silverlight and WPF using the Farseer Physics Engine.

DOWNLOAD PHYSICS HELPER 3

VIEW THE DEMOS

Here are the highlights for this release:
  • Special thanks to contributions made by Bill Seddon!

    • WPF Support has been added
    • MagneticBehavior added, allowing two objects to attract
    • Behaviors now Categorized in Blend Asset Folder

  • PhysicsSoundBehavior adds support for buffered sound

  • PhysicsJoint has Min and Max angle limits

  • Silverlight Pinball game sample added (video tutorial coming soon)

Demos using Behaviors

Demo Behaviors 1
Falling Astronaut
Demo Behaviors 2
Rag Doll
Demo Behaviors 3
Truck w/Camera
Demo Behaviors 4
Flying Astronaut
Pinball Game
Pinball Game

Getting Started Videos

I have a couple of quick (10 min) screen casts which show how to use the new Physics Behaviors:

VIDEO ON "THE BASICS": VIEW | DOWNLOAD

VIDEO ON "JOINTS + PROGRAMMING": VIEW | DOWNLOAD


Permalink |  Trackback

Comments (6)   Add Comment
Physics Helper 3: Now with WPF Support! - Andy Beaulieu    By TrackBack on 8/18/2009 1:09 PM
Thank you for submitting this cool story - Trackback from DotNetShoutout
# DotNetShoutout

Re: Physics Helper 3: Now with WPF Support!    By Anonymous on 8/20/2009 10:45 AM
With the new magnetic behavior, does this mean we can create an object like a planet and a star and make the planet orbit the star?

Re: Physics Helper 3: Now with WPF Support!    By Anonymous on 8/20/2009 12:48 PM
I don't think the magnetic behavior would help you with that. You might be able to use a couple of Joints between the planet and the star - but even then that would only work from a "top down" view.
-Andy

Re: Physics Helper 3: Now with WPF Support!    By Anonymous on 8/20/2009 6:55 PM
It would be nice if you could create an object and give it its own gravity, then have have other objects in the scene be attacted to it just like the ground, but from all directions. Then you could get the orbiting planet effect, I suppose.

Re: Physics Helper 3: Now with WPF Support!    By Anonymous on 8/21/2009 1:49 AM
hey, Andy.I want to know how can I attach these behaviors to objects in codes?

Re: Physics Helper 3: Now with WPF Support!    By admin on 8/23/2009 8:52 AM
Added a blog post on attaching behaviors at runtime

http://www.andybeaulieu.com/Home/tabid/67/EntryID/168/Default.aspx


Title:
Comment:
Add Comment   Cancel 
Module Border Module Border
Module Border
  Subscribe
Module Border
RSS   Twitter
Module Border Module Border
Module Border
  Diversions
Module Border

TALKING RAGDOLL
This Windows Phone 7 App was created using Silverlight, the  Physics Helper Library,  and the Farseer Physics Engine. It gets interesting when you import your friends photos and have your way with them!

MORE INFO



DROPPYPOP
This Windows Phone 7 game was created using Silverlight, the  Physics Helper Library,  and the Farseer Physics Engine.
DEMO

MORE INFO



BOSS LAUNCH
This physics game won first place in the Server Quest Contest. Created using Silverlight 2, the Physics Helper Library,  and the Farseer Physics Engine.
PLAY IT

MORE INFO



DESTROY ALL INVADERS
A scrolling shooter game where the objective is to destroy the invading UFO's flying over a neighborhood of your choosing. Imagery provided by Microsoft Virtual Earth. Created using Silverlight 2.
PLAY IT

INFO AND CODE



PHYSICS HELPER DEMOS
These demos were created for the Physics Helper Library, which makes it easy to create physics games and simulations using Expression Blend, Silverlight, and the Farseer Physics Engine.
PLAY IT

INFO AND CODE



HOOK SHOT
This little basketball game took first place in the TeamZoneSports Silverlight Contest. Created using Silverlight 2 and the Farseer Physics engine.
PLAY IT

MORE INFO



SORT THE FOOBARS
A game where you need to sort the good foobars from the bad ones. Created using Silverlight 2 and the Farseer Physics engine.
PLAY IT

MORE INFO



POLYGON PHYSICS DEMO
A demo showing polygon physics where the user draws physics objects with the mouse. Created using Silverlight 2 and the Farseer Physics engine.
PLAY IT

MORE INFO



SILVERLIGHT ROCKS!
Destroy the asteroids before they destroy your ship! Created using Silverlight 2.
PLAY IT

INFO AND CODE



FISH GAME
A simple game of harpoon-the-fish. Written using the AJAX Sprite Toolkit.
PLAY IT

INFO AND CODE

Module Border Module Border
Module Border
  Search_Blog
Module Border
Module Border Module Border
Module Border
  Blog_Archive
Module Border
Module Border Module Border
Copyright (c) 2014 andy.beaulieu.com - Login