Discuss Scratch

Sylvester3000
Scratcher
100+ posts

Making a Sprite move like on Club Penguin.

Please tell me how to make a sprite move like the Penguins on Club Penguin.

Thanks.
Nether_before
Scratcher
1000+ posts

Making a Sprite move like on Club Penguin.

I think this belongs in the “help with scripts” forum.
Sylvester3000
Scratcher
100+ posts

Making a Sprite move like on Club Penguin.

ScaleneParkour
Scratcher
100+ posts

Making a Sprite move like on Club Penguin.

To move like club penguin make a facing up costume a facing down costume and left and right then do the following code, sorry if it doesn't work not tested! But it usually does

whenclickedforeverifkey Up Arrowpressed?thenswitchcostumeto Up costumepointindirection0moveHowmanystepsyouwantsteps

Then repeat for down left and right, if you want the weird feet thing then make the animation for it!

Last edited by ScaleneParkour (May 26, 2015 20:23:48)

1234jgs
Scratcher
33 posts

Making a Sprite move like on Club Penguin.

whenclickedforeverifmousedown?thenglidespeedsecstox:mousexy:mousey

or

whenclickedforeverifmousedown?thensetxto(mouse x) setyto(mouse y) pointtowardsmouserepeatuntilx=(x position) andy=(y position) move1steps
scrooge200
Scratcher
1000+ posts

Making a Sprite move like on Club Penguin.

Maybe make different costumes and do this:
whenclickedforeverifmousedown?thennextcostumeglide3secstox:mousexy:mousey

Last edited by scrooge200 (May 27, 2015 00:31:38)

Oisin760
Scratcher
38 posts

Making a Sprite move like on Club Penguin.

You could do this:
whenclickedforeverifmousedown?thenpointtowardsmouse-pointerrepeatuntiltouchingmouse-pointer?move5steps
Sylvester3000
Scratcher
100+ posts

Making a Sprite move like on Club Penguin.

Thanks everyone!

Powered by DjangoBB