SpriteHand
Module Border
  Foobars and Farseer Phyiscs
Module Border
Location: BlogsAndy's Blog    
Posted by: host 11/9/2007 10:19 AM

My "coding for fun" time has been very scarce the past month because of some "coding for money" projects :) But I did have a little time to finally play with the Farseer Physics engine and create a "Sort the Foobars" game:

The object of the game is simply to get the ugly, zombie looking foobars into the left pen and the happy, healthy looking foobars into the right pen. Even though this is a very simple example, it shows how Storyboard animations (such as the Foobar's expressions) can be mixed with more complex animation supplied from the Farseer Physics engine.

If you haven't checked out Farseer yet, here are some great links to get started:

The Farseer Page on Codeplex

A Group of Demos by Bill Reiss (who ported Farseer to Silverlight)

A Nice Demo by the Farseer XNA Creator, Jeff Weber

Permalink |  Trackback

Comments (2)   Add Comment
Re: Foobars and Farseer Phyiscs    By Anonymous on 5/12/2008 5:02 PM
Is there anyway you could post the source fot this? I've combed through the Farseer silverlight demos, but their physics items seem to be strictly geometric (and created programmatically). I'm curious to see some of these physics demos working with Silverlight UserControls that can let me seperate the physics from the visuals.

Re: Foobars and Farseer Phyiscs    By Anonymous on 5/12/2008 5:17 PM
There is a previous post with some good getting started info. Unfortunately I haven't updated for Silverlight 2 Beta 1 but there are actually not a lot of changes:

http://www.andybeaulieu.com/Default.aspx?tabid=67&EntryID=89


Title:
Comment:
Add Comment   Cancel 
Module Border Module Border
Module Border
  Blog_List
Module Border
Module Border Module Border
Module Border
  Subscribe
Module Border

RSS

Module Border Module Border
Module Border
  Diversions
Module Border

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



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) 2008 andy.beaulieu.com - Login