A Flash Developer Resource Site

Results 1 to 14 of 14

Thread: Ragdoll thing

  1. #1
    Junior Member
    Join Date
    Sep 2005
    Posts
    6

    Ragdoll thing

    I have made a platform engine with a ragdoll. If you have any better way of coding the platform part or have any feedback, pls do so. I just need a better platform code, because you can see that the one I have is a bit messed up.

    Heres the link: www.chewableonline.com/~daryl/public/rag.swf

    BTW, press K to kill your self and arrow keys to move, J to punch. You can hit
    the "punching bag".
    Last edited by monstercheif; 09-22-2005 at 08:25 AM.

  2. #2
    A very senior man mrpauly99's Avatar
    Join Date
    Feb 2002
    Location
    Cool Britania
    Posts
    429
    yay go mr floppy!

    now why didnt i ever think of putting in a kill myself key before!? great feature!

  3. #3
    SaphuA SaphuA's Avatar
    Join Date
    Oct 2002
    Location
    The Netherlands
    Posts
    2,182
    Hey that's pretty neat
    One thing though, it seemed that the arms were going up too soon (somewhere in the dead-zone of the jump). That made it look a bit odd.
    I liked the kill myself function aswell

  4. #4
    M.D. mr_malee's Avatar
    Join Date
    Dec 2002
    Location
    Shelter
    Posts
    4,139
    the guy looks better when he's dead or dying. Maybe have actual animtion up until the point of death.

    Good work though, funny stuff.
    lather yourself up with soap - soap arcade

  5. #5
    V For Victory! R1TAL1N's Avatar
    Join Date
    Jun 2005
    Location
    Chillin in Dub V...
    Posts
    230
    Is that difficult to do? I've always wanted to try it, but I wouldn't know where to start.
    My Music

    Click it.

  6. #6
    Junior Member
    Join Date
    Sep 2005
    Posts
    6
    Its not that difficult, its mostly maths. you can search the web for inverse kinematics. And thanks for the feedback.

  7. #7
    Doesn't the name say it all?
    Join Date
    Oct 2000
    Posts
    148
    I've always wanted to experiment with this type of stuff for a fighting/platform game. I am most interested in how you made the punching motion work. Can you use the same method to control joint movement along with endpoint movement? (because I was thinking of attempting an engine that has natural poses, but blends with completely ragdoll reactions/inbetweens)

  8. #8
    doItLikeThis
    Join Date
    Jan 2004
    Location
    :noitacoL
    Posts
    1,080
    hehehehe, sorry dude, that's one of the coolest and funniest things i have seen. just go forwards and keep jumping (you can get the *frolic frolic* feeling). For platform, I guess you should try point based collision detection for slopes.
    -Aditya

  9. #9
    Junior Member
    Join Date
    Sep 2005
    Posts
    6
    How do you do that?
    And evil demon creature, you can, thats what i did

  10. #10
    Insignificant Member Joshman_123's Avatar
    Join Date
    Nov 2004
    Posts
    395
    Cool! I think there should be a whole different running animation and punching animation, then the ragdoll effects come into action on death. But put restrictions on the ragdoll effect (realistic joints, not so floppy) and increase the gravity so the body falls faster. A bit of a bounce when the player hits the ground would be awesome too.

    Just saying this because you seem very competent.
    I have like, a gazillion posts on my other account.

  11. #11
    Junior Member
    Join Date
    Sep 2005
    Posts
    6
    I made a better one:
    www.chewableonline.com/~daryl/public/rag2.swf
    I did the slope collision, but its still a bit wierd. Any platform codes would still be welcomed.
    Thx for feedback.

  12. #12
    Doesn't the name say it all?
    Join Date
    Oct 2000
    Posts
    148
    Heh, cool. I'll have to look it up sometime. Although I do have some feedback, not about the platform collison though.

    Whenever I drag and throw someone through the air, they tend to slow down mid-air until they start falling down vertically. Considering how little friction an object has in air, this seems to take a bit away from your realistic physics.

  13. #13
    Style Through Simplicity alillm's Avatar
    Join Date
    Mar 2004
    Location
    Wales
    Posts
    1,988
    agreed. I noticed the stopping in mid air too. Quite a nice little engine there would be cool to see a propper game with it. I also think you need to add angle constraints, cause at the moment its like all his bones are broken . Other than that though, good work would be nice to see some propper graphics too

    Ali

  14. #14
    better than chuck norris
    Join Date
    Jun 2004
    Location
    West Coast of Michigan
    Posts
    667
    it looks a bit ridiculous if you ask me. but cool.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center