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

#1 2007-07-10 16:50:34

Dirge
Scratcher
Registered: 2007-06-27
Posts: 15

Walking

UMM I know this is going to sound really stupid... but how do you make a sprite look like its walking? I have a sprite named Richard, and he has 3 walking coustumes, and is seen from the side. How do I get it to change from costume and like glide from left to right at the same time? Do you have 2 different scripts? a change coustume on and a change x by 2? I tried that, but it makes it really jerky and he like flys across the screen...
I appreciate any sugestions!!
**Dirgey**

-------------------------------------------------------------------
Richard: What kind of meat curry is it?
"Crow"
Richard: Better make it veggetable curries then.

Offline

 

#2 2007-07-10 16:59:44

paulmedwal
Scratcher
Registered: 2007-03-09
Posts: 100+

Re: Walking

look at the blocks in this project http://scratch.mit.edu/projects/paulmedwalhelp/20712 The cat glides and walks at the same time.


clutter.scratch.mit.edu Visit the Clutter site to create multi-scene stories and multi-level games with Scratch.

Offline

 

#3 2007-07-10 17:01:45

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Walking

Two scripts: one for the glide and one for the loop of costume changes (with WAIT between the changes) is probably easiest.

Offline

 

#4 2007-07-10 19:58:21

Dirge
Scratcher
Registered: 2007-06-27
Posts: 15

Re: Walking

Okay.....now I have another question... why does it when I change costumes on Richard that he moves? even though theres no script that tells him to move! Like the first one is in the right place but then if I change it to #2 then it moves like halfway across the screen and then #3 goes right to the edge! Why is this??

THANK YOU!!!!

Offline

 

#5 2007-07-10 20:09:29

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Walking

You probably have to set the "rotation center" on each costume to be in the same place relative to his body.

Offline

 

#6 2007-07-10 20:19:29

Dirge
Scratcher
Registered: 2007-06-27
Posts: 15

Re: Walking

ookay.... how do I do that?



THANK YOU by the way, you are amazing

Offline

 

#7 2007-07-10 20:50:24

paulmedwal
Scratcher
Registered: 2007-03-09
Posts: 100+

Re: Walking

Go to the costumes tab, click edit, then below all of the colors there is a "+" sign and it says "set rotation center". Click the plus sign, then move the lines so that they intersect at the center of each of your costumes.

Last edited by paulmedwal (2007-07-10 20:54:19)


clutter.scratch.mit.edu Visit the Clutter site to create multi-scene stories and multi-level games with Scratch.

Offline

 

#8 2007-07-11 14:11:10

Dirge
Scratcher
Registered: 2007-06-27
Posts: 15

Re: Walking

HEY!! it worked THANK YOU SOO MUCH !!!!!!!!!!!

Offline

 

Board footer