Dec/082
Bridge Builder Game! (Concept)

Constraint based bridge simulator
Some of you might remember a game called pontifex or bridge builder if you don’t; it’s a game in which you construct a bridge with beams and than let a train or car drive over it to see whether it holds. It is really fun and quite educational at the same time (equals morally appropriate right?). After some more research into rigid body constraints I found out that pontifex probably used the same stuff like I used in the 2D constraint based rope. So with some minor modifications it was easy to create a bridge simulator and with a littlebit more code even a bridge builder. It is still far from a game suitable for release and profit but it is definatly a playable minigame. Take a look at the working example by clicking theĀ ‘Continue Reading’ link.
You can build beams by first selecting a particle and than clicking somewhere else (within the ‘build length’) to place a particle to connect it with. To connect two particles with each other select one, and than hover over the other to make it blue and click. To simulate the whether the bridge will hold you need to click the ‘Simulate’ button. Press ‘Stop’ to stop the simulation and return to the old state. In the simulation you can remove beams by clicking on them.
Sorry, the comment form is closed at this time.
4:25 pm on December 31st, 2008
A suggestion: put the base of the bridge further below the header with the sliders to make room for higher bridges. And I lost some visualization after I made a bridge that got in to the slider area, but the simulation still proceeded even with some elements invisible. Nice game!
4:27 pm on January 1st, 2009
Thanks for the comments, this version was only a real quick mock up. I’m working on a new version that offers support for all kinds of bridges (draw bridges, suspension bridges) and lots of other neat features. More about that soon. The most problematic error in this version is that after a number of simulations, parts of the bridge dissappear. As soon as I get that fixed I’ll update this page.