This project has moved and is read-only. For the latest updates, please go here.

Bridge Basher

Topics: Developer Forum, User Forum
May 2, 2008 at 3:23 PM
Edited Oct 15, 2009 at 1:20 AM

I've created a simple bridge design game with the Farseer Physics Engine. The goal is to build the best bridge you can, and then destroy it. The better the bridge, the harder it is to destroy it, or at least that is the hope!
I know it is still not that realistic at this point, but I'm still tweaking all of the physics parameters. If you have any suggestions on how to make it more realistic, please let me know!

May 2, 2008 at 6:29 PM
Very cool.

I posted about it on my blog...

I'll play it some more when I'm not at work and let you know if I see anything I think could be improved.
May 3, 2008 at 4:20 PM
Edited May 3, 2008 at 4:20 PM

I posted your game to the Fun-Motion forums. Some of them are having trouble getting the game to run. Just thought you might want to know.

Here is the thread:
May 4, 2008 at 11:27 PM
thanks for the heads up! i thought all the bugs were worked out, i had already stamped it with the 'works on my machine certification'...
May 5, 2008 at 5:37 AM
Nice game, but I can't play - every time when I start building bridge it restarting. This same when try to run simulation.
May 5, 2008 at 6:02 AM
Are you saying that when you click the 'Build' button on the top right, the game restarts? It doesn't show any popups with error information? If you don't mind, please try it again and post your bridge code. Thanks!
May 5, 2008 at 7:37 AM
Now I can see error message:
Error Type: ManagedRuntimeError
Error Message: HRESULT: 0x80000FFFF (E_UNEXPECTED)
at ...
at System.Windows.CoreInvokeHandler.InvokeEnventHandler(...)
at MS.Internal.JoltHelper.FireEvent(...)
Error Code: 4002
May 5, 2008 at 12:21 PM
This may be the "Locals" bug. It causes exceptions on non English systems.

It's an easy fix...

See here:
May 5, 2008 at 2:52 PM
Edited May 5, 2008 at 2:56 PM
crashlander, you are the man. that is precisely the problem. i fixed a few instances of it this morning, but i'll have to look at it more when i get home from work.

also, that is a really cool forum you posted Bridge Breaker at. i've never been there before.
May 5, 2008 at 5:35 PM

average wrote:
also, that is a really cool forum you posted Bridge Breaker at. i've never been there before.

Yeah, Fun-Motion is a great place to test out physics games before releasing them to the masses.
May 11, 2008 at 7:53 AM
Edited May 11, 2008 at 7:54 AM
I've renamed the game to Bridge Basher. Apparently, Bridge Breaker is already a registered trademark name. I should've done my homework before naming it in the first place, I suppose.

I've also made some changes to make the game more realistic (at least I hope!). The K-truss doesn't collapse on itself anymore, so that's a step in the right direction. Also, the diamond shaped bridge that PlasmaMan posted on the fun-motion physics forums can no longer beat IMPOSSIBLY HEAVY! I challenge anyone to see if they can still beat IMPOSSIBLY HEAVY!

Now, what I'm most excited about is the new feature: Joint Monkeys! That's right, now you can hang monkeys from your bridge's joints. What could possibly be more fun? My best run has been 23 total monkeys with 7 hanging from a single joint.
May 12, 2008 at 4:08 AM
I get this error in FireFox 3 Beta 5:

Silverlight Error:

Error Type:    ParserError
Error Message: illegal xml character
Error Code:    5014
Xaml File:      BridgeBasher.xap
Xml Element:   
Xml Attribute: 
Line:           1
Position:       3

May 13, 2008 at 1:35 PM
I don't think Silverlight supports Firfox 3 yet.  It's too new.
May 29, 2008 at 2:25 PM
I wish the were a bit of an explanation on how to build a good bridge.  I'm tying joints together, but I don't feel like I know what I'm doing otherwise.  On the plus side I've seen similar games, and this one works the best.
Jun 3, 2008 at 11:15 PM
Edited Jun 3, 2008 at 11:15 PM
That is a good point and that is what I was hoping the Bridge Code feature would help with.  People have posted some interesting bridges over at the fun-motion physics forum: