This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-06-26 14:17:09

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Scrolling ragdoll??? =/

Making a ragdoll can be simple. But scrolling with it is not. (at least not with the methods that I know)
From the methods that I know, the trailing behind body relies on the head to change x and y positions. If you scroll, the head will not move. Therefore, the ragdoll becomes a rigid stickman. Everybody please post your ideas!


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#2 2009-06-26 15:56:17

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Scrolling ragdoll??? =/

Scrolling is simple, making a proper ragdoll is not.

The doll will not move, just the area around it.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#3 2009-06-26 16:16:50

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Scrolling ragdoll??? =/

I mean to get the ragdoll effect, you need to have the sprite move. But if the doll does not move because of the scrolling, how do I get the drag behind effect?


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#4 2009-06-26 16:28:21

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: Scrolling ragdoll??? =/

juststickman wrote:

I mean to get the ragdoll effect, you need to have the sprite move. But if the doll does not move because of the scrolling, how do I get the drag behind effect?

You could use some kind of virtual x change... Like if the scrollx goes up with 5 the "real" x of the head sprite virtually changes by -5. Start your calculations with that  tongue

It all depends on what script you used, we might be able to help when you upload your ragdoll.


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#5 2009-06-27 06:32:59

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Scrolling ragdoll??? =/

JSO wrote:

juststickman wrote:

I mean to get the ragdoll effect, you need to have the sprite move. But if the doll does not move because of the scrolling, how do I get the drag behind effect?

You could use some kind of virtual x change... Like if the scrollx goes up with 5 the "real" x of the head sprite virtually changes by -5. Start your calculations with that  tongue

It all depends on what script you used, we might be able to help when you upload your ragdoll.

Thanks... I was half asleep when I posted this.... Couldn't really think... =/


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#6 2009-06-27 11:21:55

torterra471
Scratcher
Registered: 2009-06-14
Posts: 25

Re: Scrolling ragdoll??? =/

well its just a pen soo you make a variable that will stretch its legs with x velocity.

so the variable will make his joints turn cw/ccw


so he said "grr" and she said "grrr" and he said "i love u" and she said i love you to" and he said "will you marry me" and she farts and we all walk away...

Offline

 

#7 2009-06-27 11:46:13

juststickman
Scratcher
Registered: 2009-05-31
Posts: 1000+

Re: Scrolling ragdoll??? =/

I Already Figured Out I Was Just Half Asleep When I Was Posting  hmm


http://is.gd/iBQi2 Add grob to your sig and help with world dominiation!http://is.gd/iBQ9Q                                                             Hey guys, we're seriously naming our team bob?

Offline

 

#8 2009-07-02 14:32:05

m44
Scratcher
Registered: 2008-02-04
Posts: 500+

Re: Scrolling ragdoll??? =/

here is some good ragdoll physics http://scratch.mit.edu/projects/m44/211958


METAL SLUG is out!!! (here) and M44's BESTShttp://img708.imageshack.us/img708/6673/msbanner.jpg

Offline

 

Board footer