Be a Supporter!

ragdoll in flash8

  • 544 Views
  • 9 Replies
New Topic Respond to this Topic
sandbox12
sandbox12
  • Member since: Aug. 13, 2010
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
ragdoll in flash8 2010-08-17 13:54:35 Reply

hello
Im making a game like interactive buddy
i just need help
With ragdolls
iv got the code
just the bones where the heck are the bones!


LawldonkerLAWL

BBS Signature
MichaelJ
MichaelJ
  • Member since: Mar. 2, 2009
  • Offline.
Forum Stats
Member
Level 18
Voice Actor
Response to ragdoll in flash8 2010-08-17 17:02:41 Reply

At 8/17/10 01:54 PM, sandbox12 wrote: hello
Im making a game like interactive buddy
i just need help
With ragdolls
iv got the code
just the bones where the heck are the bones!

I've prepared a line for each of your lines...
1. hello
2. I don't know what interactive buddy is
3. with ragdolls
4. I don't have the code
5. I don't know what you are talking about.

NO a more serious note, you need to show us what the code is and explain your situation better, all I can tell you now is : ___________________


BBS Signature
sandbox12
sandbox12
  • Member since: Aug. 13, 2010
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to ragdoll in flash8 2010-08-17 17:03:47 Reply

A physic sandbox all i need to know is how to make a ragdoll


LawldonkerLAWL

BBS Signature
MichaelJ
MichaelJ
  • Member since: Mar. 2, 2009
  • Offline.
Forum Stats
Member
Level 18
Voice Actor
Response to ragdoll in flash8 2010-08-17 17:04:13 Reply

I meant "on" not "no" lol


BBS Signature
sandbox12
sandbox12
  • Member since: Aug. 13, 2010
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to ragdoll in flash8 2010-08-17 17:05:57 Reply

lool ok
anyways how can i make a ragdoll?


LawldonkerLAWL

BBS Signature
MichaelJ
MichaelJ
  • Member since: Mar. 2, 2009
  • Offline.
Forum Stats
Member
Level 18
Voice Actor
Response to ragdoll in flash8 2010-08-17 17:07:26 Reply

At 8/17/10 05:05 PM, sandbox12 wrote: lool ok
anyways how can i make a ragdoll?

Well, I searched for a ragdoll tutorial, I couldn't quite find a good one, perhaps someone else can link you to one.


BBS Signature
sandbox12
sandbox12
  • Member since: Aug. 13, 2010
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to ragdoll in flash8 2010-08-17 17:08:45 Reply

Well i have the .fla of a ragdoll
but i dont get it though
theirs no code
all i really need is the bones!


LawldonkerLAWL

BBS Signature
the1manwiththeplan
the1manwiththeplan
  • Member since: Jun. 10, 2008
  • Offline.
Forum Stats
Member
Level 17
Blank Slate
Response to ragdoll in flash8 2010-08-18 02:12:06 Reply

At 8/17/10 05:08 PM, sandbox12 wrote: Well i have the .fla of a ragdoll
but i dont get it though
theirs no code
all i really need is the bones!

If you cant even find the code your probably not gonna be capable enough to make a rag-doll game anyway, They are difficult to make and require lots of knowledge of incorporating maths into flash keeping the distance between limbs constant but still movable etc.

How about you try make an interactive buddy without rag-doll physics before you make the leap to a fully functional rag-doll physics based pet.


...

Pezboy440
Pezboy440
  • Member since: Nov. 14, 2006
  • Offline.
Forum Stats
Member
Level 19
Blank Slate
Response to ragdoll in flash8 2010-08-18 09:05:21 Reply

The guy above me is right, learn to code. And if you do dont make a ragdall game, theres already 1 ..... thats enough.....

51lver
51lver
  • Member since: Jan. 14, 2008
  • Offline.
Forum Stats
Member
Level 24
Blank Slate
Response to ragdoll in flash8 2010-08-18 09:05:38 Reply

What I did was create invisible moviclips for where I wanted a new joint.
So I had:
-Head
-Neck
-Hands
-Waist
-Feet

I then specified a set distance I wanted these joints to be from each other; For example:
- Neck to Hands would be 100 Pixels.

After specifying these distances I made a separate MovieClip to draw on the limbs with simple API lineTo(X, Y);

Now all I did was create constraints holding these points at those set distances from each other and apply some simply gravity + momentum to the points, allowing them to swing and move freely.

Now so you know I'm not lying, here are some examples of Ragdolls I made in Flash 8.
Ragdoll 1
This one just click + drag the head, then release to throw it. All done in Actionscript.
Ragdoll 2
This one is just stuck on the mouse, however instead of all done in AS it's images that are set at specific angles/distances, therefore making it easy for me to customise how it looks.

Personally I found the first one easier to make.

If you wanna learn more, I suggest you look up Kinematics.