Shop Forum More Submit  Join Login
Engine Prototype 03 - by axcho on September 3, 2009

This is my third prototype of the Dejeweled physics engine. Now the engine supports rod, pin, and door constraints, in two flavors: rigid and springy. And believe me, those springy door constraints weren't easy to make. :p

This ragdoll is just like the one from Engine Prototype 02, with a staff instead of a sword. The new door constraints let the ragdoll hold the staff at a certain angle, instead of just spinning freely.

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

Dejeweled Development Blog

Physics Prototypes by axcho
Add a Comment:
 
:iconstarblazer2155:
StarBlazer2155 Featured By Owner Jul 3, 2013  Hobbyist Digital Artist
Im donnatello! :TMNT 4:
Reply
:iconapplebloom5555:
Applebloom5555 Featured By Owner Jul 19, 2013  Student Artist
Dont you mean :tmnt4:?
Reply
:iconstarblazer2155:
StarBlazer2155 Featured By Owner Jul 19, 2013  Hobbyist Digital Artist

yes i meant<?xml:namespace prefix = da />Donatello La 

 

 

 

 

 

Reply
:iconsuperneko64:
SuperNeko64 Featured By Owner Mar 28, 2010
If you set up everything to the max and press the arrow keys randomly, he starts dancing the get down meme. xD
Reply
:icondevgem:
devgem Featured By Owner Sep 14, 2009
i just thought of something u could do 4 no 4!, u could do two swords,one in each hand! if u dont like it then cool but plz think about it!
Reply
:iconaxcho:
axcho Featured By Owner Sep 17, 2009
Heh, I like it 'cause it's easy, but I think there are a lot of people who want something new. For the next one I'm going to try making a tool for making your own structures.
Reply
:icondevgem:
devgem Featured By Owner Sep 14, 2009
yay!
no.3
i played all of these!
they cool!
Reply
:iconaxcho:
axcho Featured By Owner Sep 17, 2009
:)
Reply
:iconnomisluck:
Nomisluck Featured By Owner Sep 13, 2009  Hobbyist
dude, whatever your doing, its awesome! Coding takes some serious skill.
Reply
:iconaxcho:
axcho Featured By Owner Sep 17, 2009
Thanks, I'll try to keep doing it. :)
Reply
:icontylerelyt:
TylerelyT Featured By Owner Sep 6, 2009
When you press the left key to spin him left he spins left but if you let go and the stick becomes inverted so do the controls.
Reply
:iconaxcho:
axcho Featured By Owner Sep 9, 2009
Yeah, to spin you have to switch between left and right. I could have made it spin just by holding down one arrow, but the movement looks really unnatural that way.

Thanks for the feedback! ;)
Reply
:iconn3xuz:
N3XUZ Featured By Owner Sep 6, 2009
Okay, this is officially the COOLEST THING EVER. :D
Reply
:iconaxcho:
axcho Featured By Owner Sep 9, 2009
Haha, thanks! :D I hope my next release will be able to top that achievement. :p

Did you try the other ones yet?
Reply
:iconn3xuz:
N3XUZ Featured By Owner Sep 10, 2009
I did after finding this one, but I think I still like this one best :D
Reply
:iconaxcho:
axcho Featured By Owner Sep 10, 2009
Ah, cool. Glad you like it then. :)
Reply
:iconn3xuz:
N3XUZ Featured By Owner Sep 10, 2009
I assume it's all done in AS3, correct?
Reply
:iconaxcho:
axcho Featured By Owner Sep 10, 2009
Heh, it's in AS2, actually. The full game will be AS3 though.
Reply
:iconn3xuz:
N3XUZ Featured By Owner Sep 11, 2009
AWESOME! Hey, major props to you, I only know AS2 and thought I was the only person who hadn't swapped to AS3 yet. Question, how did you achieve the mirrored effect? I'd normally just learn by ripping apart your code, but you strike me as being cool enough to actually help a guy out :D (Yes, I have no shame.)
Reply
:iconaxcho:
axcho Featured By Owner Sep 11, 2009
Ha, well I've been using both now. I just started playing with the flixel engine for AS3 and I think it will work great, at least for pixel-y games: [link]

For physics-based games I'll eventually port my own Dejeweled Engine over to AS3.

The mirror effect is really simple, actually. Every frame I draw the stick figure into a movie clip with LineTo commands. Then I draw the stick figure upside-down with more LineTo commands in another movie clip, which has its _yscale set to 0.5 so it's squished. That's it! :D
Reply
(1 Reply)
:icontompfield:
TomPField Featured By Owner Sep 4, 2009
nice
Reply
:iconaxcho:
axcho Featured By Owner Sep 4, 2009
thanks
Reply
:iconunrated-hearts:
Unrated-Hearts Featured By Owner Sep 3, 2009
You gotta LOVE it to beleive it !!! This Prototype is Awsome . :love:
Reply
:iconaxcho:
axcho Featured By Owner Sep 3, 2009
Haha, thank you! :D

Did you try the other ones yet? [link] ;)
Reply
:iconunrated-hearts:
Unrated-Hearts Featured By Owner Sep 3, 2009
Not yet, but I love theM ^^;
Reply
Add a Comment:
 
×




Details

Submitted on
September 3, 2009
Image Size
15.0 KB
Resolution
480×360
Link
Thumb

Stats

Views
9,085
Favourites
41 (who?)
Comments
31
Downloads
2,304