Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
November 24, 2009
Image Size
17.3 KB
Resolution
480×360
Link
Thumb
Embed

Stats

Views
8,908 (2 today)
Favourites
40 (who?)
Comments
35
Downloads
2,248
×
Engine Prototype 05 - by axcho on November 24, 2009

This is my fifth prototype of the Dejeweled physics engine. The engine now supports collisions between circles and capsules. This version is simple, with an inefficient method of finding colliding pairs. And objects can pass through each other if they are traveling too fast. But that will all change soon.

This ragdoll is just like the one from Engine Prototype 01, but with a ball to play with. Objects can actually collide now! :D Nifty, eh?

Click the window to start. Then use the arrow keys to move the stick figure around. You can also click and drag the mouse to move the ball, too.

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. ;)

Dejeweled Development Blog

Physics Prototypes by axcho
Add a Comment:
 
:iconstarblazer2155:
StarBlazer2155 Featured By Owner Jul 4, 2013  Hobbyist Digital Artist
press random buttons and hes breakdancing!^^ i love thus game!
Reply
:icondevgem:
devgem Featured By Owner Apr 24, 2010
rlly cool. give him a small ball and a sowrd. that'd be legend! baseball
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Nov 26, 2009
Potentially fun thing.
Hmm it is kind of hard to make produce symmetrical results :) It seems I can kick hard to the left but not to the right :) And it seems tapping buttons randomly produces better results then trying to do it intentionally :)
Reply
:iconaxcho:
axcho Featured By Owner Nov 27, 2009
If you're talking about the ragdoll, this may be because of some inaccuracies in the spring lengths. If it is impossible to satisfy a set of constraints, there will be extra forces added inadvertently and the ragdoll will spin more to one side. You can see this more clearly if you turn off gravity and friction, and turn up rigidity all the way. Fortunately, this only happens with bad data - it's not inherent to the simulation. :)

As for tapping buttons randomly, well, that's what practice is for. ;)
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Nov 27, 2009
I did practice :) Hmm how about making a kicking bag? You know like one boxers train on :) Somewhere in center of the screen :)
Reply
:iconaxcho:
axcho Featured By Owner Nov 27, 2009
Ah, good idea. I'll have to try that sometime. :)
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Nov 28, 2009
Hehe :) Also if possible add damage texts floating on collisions with it :) It seems looks of it are not that informative. What I tough was good kick was not pushing ball much but I am not shore I can push it much at all :)
Reply
:iconaxcho:
axcho Featured By Owner Nov 28, 2009
Hmm, yeah I can see that being useful. I'll try it.
Reply
:iconwonderwhy-er:
wonderwhy-ER Featured By Owner Nov 28, 2009
Ok :)
Reply
:iconmichikothehedgehog:
MichikoTheHedgehog Featured By Owner Nov 25, 2009
Quite interesting when you have control all that way up and bounce turned down and press left to right quickly. Translates to: OMFG THIS IS AWESOME.
Lol this is really cool. Excellent job, but he stays on his side a lot :/
Reply
Add a Comment: