2009/06/23

Engine Prototype 02


This is my second prototype of the Dejeweled physics engine. Now the engine supports both rod constraints and pin constraints, in two flavors: rigid and springy.

This ragdoll is just like the one from Engine Prototype 01, except now it has a sword! With pin constraints, the ragdoll can grab any point along the weapon, not just the ends. This opens up a lot of possibilities, as you'll see in the next few prototypes.

Click the window to start. Then use the arrow keys to move the stick figure around.

left - rotate left
right - rotate right
up - raise arms
down - spread legs

For slow motion, hold down the space bar. Click the meters to adjust the physics settings.

Let me know if you find anything interesting. ;)

4 comments:

  1. Wow this looks great! Did you guys make the physics from scratch? Looks very impressive!

    ReplyDelete
  2. Ha! I had him doing some pretty acrobatic things. If this stickman was in a game it might be a little tricky to control, but getting him to do things is kind of fun.

    ReplyDelete
  3. Thanks. :) The physics are all from scratch - that's why I'm doing these prototypes before making the actual game. The hard part is yet to come, though - I still have to implement collisions.

    I probably will use this little ragdoll in a game someday. Once I get collisions working, maybe. ;) I was thinking it might be fun in a sort of platformer fighting game...

    ReplyDelete
  4. you should totally make the platform game!!! it would own all those other ragdoll games like ragdoll masters, ragdoll kungfu ect.

    ReplyDelete