A Flash Developer Resource Site

Page 1 of 2 12 LastLast
Results 1 to 20 of 30

Thread: [View] Leviathan RagdollPhysics

  1. #1
    Member
    Join Date
    Dec 2005
    Posts
    60

    [View] Leviathan RagdollPhysics

    Hi, i'm developping a 2D Shooter that's called Leviathan. I finished the ragdolls for it. So tell me what you think!

    http://x300.putfile.com/videos/a2-2414035445.swf

    Controls: Click to focus and zqsd to hold bodyparts

  2. #2
    Senior Member random10122's Avatar
    Join Date
    Mar 2002
    Location
    Sheffield, UK
    Posts
    1,747
    Hey snipergen,

    Nice prototype... i can certainly see the potential for some great shooting battles and intersting weaponary (thinking gravity gun)

    You might want to sort out the elasticity on the upper body - the legs seem to stay together fine but the arms etc are easily seperated...

    fracture2 - the sequel
    fracture - retro shooter
    blog - games, design and the rest

    "2D is a format, not a limitation" -Luis Barriga

  3. #3
    A Flashkit User
    Join Date
    Sep 2005
    Location
    Ontario, Canada
    Posts
    405
    So much fun to throw around the character...

    Looks good, the game should be awesome. Keep us informed

    -Ostil-

  4. #4
    Member
    Join Date
    Dec 2005
    Posts
    60
    Thanks, I will

  5. #5
    Junior Member
    Join Date
    Dec 2005
    Posts
    23
    very good

  6. #6
    avatar free
    Join Date
    Jul 2002
    Location
    UK
    Posts
    835
    That is really nice actually. I'd love to see it with multiple dolls, see how many it can handle at once. I especially like how the body comes to rest - it's very easy for these kinds of things to become unstable and start to "jiggle" around, but you seem to have made sure that does happen. Very impressed

    How is this going to work within the Leviathan game? Will the ragdoll physics turn on upon death?

    Are you/will you blog the developement process? random10122 and I are interested in linking to other flash game dev blogs that document the making of a game from scratch to finish. If you do decide to do that, please let one of us know, and we will share the links

    Good luck with this project.
    jonmack
    flash racer blog - advanced arcade racer development blog

  7. #7
    Script kiddie VENGEANCE MX's Avatar
    Join Date
    Jun 2004
    Location
    England
    Posts
    2,590
    You need to use Inverse Kinetics - the joints don't stay together if you press S.
    http://www.birchlabs.co.uk/
    You know you want to.

  8. #8
    do your smiles love u? slicer4ever's Avatar
    Join Date
    Dec 2005
    Location
    in a random occurance
    Posts
    475
    nice job very fun to play around with

  9. #9
    Senior Member Orkahm52's Avatar
    Join Date
    Jan 2006
    Location
    Perth, Australia
    Posts
    335
    You need a twinge more gravity. It's more like the moon at the moment.

  10. #10
    n00b LeechmasterB's Avatar
    Join Date
    May 2004
    Location
    Switzerland
    Posts
    1,067
    Looks good exept for the gaps between the arm junktions and that the torso seems a little stiff. Nice work!
    I do stuff that does stuff...

    J-Force

  11. #11
    Unregistered User dnalogic's Avatar
    Join Date
    Feb 2001
    Location
    UK
    Posts
    146
    Thats excellent. Awesome physics.

  12. #12
    doItLikeThis
    Join Date
    Jan 2004
    Location
    :noitacoL
    Posts
    1,080
    Totally awesome I love the leg hold and swinging part, makes me feel "control"
    -Aditya

  13. #13
    Senior Member ozmic66's Avatar
    Join Date
    Oct 2005
    Posts
    472
    edit: sorry about the double post
    my wireless is giving me trouble
    Last edited by ozmic66; 01-27-2006 at 12:39 PM.

  14. #14
    Senior Member ozmic66's Avatar
    Join Date
    Oct 2005
    Posts
    472
    Hey, very nice demo

    it's nice to see that more people are using flash to create cool physics games

    i was just wondering what kind of collision detection you used against the scenery?

    just as a suggestion:

    if you want to avoid the arms stretching out too much, try using more iterations per frame, and instead of constraining the body part directly to the mouse, constrain it to a spring that's attached to the mouse

  15. #15
    Senior Member Ray Beez's Avatar
    Join Date
    Jun 2000
    Posts
    2,793
    That's it! I QUIT!!


    I can't compete with this kind of stuff.
    Last edited by Ray Beez; 01-27-2006 at 01:43 PM.

  16. #16
    Iron Chef In-Training OpethRockr55's Avatar
    Join Date
    Sep 2005
    Location
    Kitchen Stadium
    Posts
    313
    Aw... come on Ray Beez. There's a good reason why we have a Math & Physics forum!

  17. #17
    Member
    Join Date
    Dec 2005
    Posts
    60
    Quote Originally Posted by ozmic66
    Hey, very nice demo

    it's nice to see that more people are using flash to create cool physics games

    i was just wondering what kind of collision detection you used against the scenery?

    just as a suggestion:

    if you want to avoid the arms stretching out too much, try using more iterations per frame, and instead of constraining the body part directly to the mouse, constrain it to a spring that's attached to the mouse
    Yeah, nice idea, but i'll create a gravity gun so you don't need to drag him with the mouse.

    Just another question: is someone skillfull enough to create from a huge script one function? It would be easy for me to add ragdolls when an enemy dies.

  18. #18
    Getting the hang of Flash
    Join Date
    Jan 2006
    Location
    Brighton, Colorado, USA
    Posts
    24
    Very fun, and slightly addictive. One thing I noticed is that if you get him moving at a high velocity and switch controls (i.e. from head to arm) you might "miss" him and not have control unless you click on him again.

    But it's very nice

    It's especially fun to let him come to rest, put your mouse in the upper-right hand corner, tap the "Q" button, and watch him fly off the screen

    -Chris (tm)
    Sig banner removed until I can be bothered to make it fit guidelines...
    I use Flash 8.

  19. #19
    Senior Member ozmic66's Avatar
    Join Date
    Oct 2005
    Posts
    472
    Quote Originally Posted by Snipergen
    Just another question: is someone skillfull enough to create from a huge script one function? It would be easy for me to add ragdolls when an enemy dies.
    what exactly do you mean?
    do u have some code to show?

    ...and what about my collisions question?
    Last edited by ozmic66; 01-28-2006 at 04:44 PM.

  20. #20
    Iron Chef In-Training OpethRockr55's Avatar
    Join Date
    Sep 2005
    Location
    Kitchen Stadium
    Posts
    313
    If I remember correctly, he uses the Flade collision.

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