Discuss Scratch

Panganay19
Scratcher
19 posts

Walking + Animation?

its easy
whenclickedgotox:0y:0
cleargraphiceffects
switch costume to
show
wait.3secs
repeatuntil
(costume #)

< = >

number
nextcostume
Dino-mite_Girl
Scratcher
5 posts

Walking + Animation?

if you want to learn to animate here are 2 codes you can you while making a project if your new

this one is for costumes

whenclicked
foreverwaitasmuchsecsyouwantsecsnextcostume


this one is your character/costume going up and down

whenclicked
foreverglide.1secstox:0y:10glide.1secstox:0y:10glide.1secstox:0y:0
Dino-mite_Girl
Scratcher
5 posts

Walking + Animation?






D M G CLUB
ResuluteAziz_90
Scratcher
1 post

Walking + Animation?

whenclickedmovestepsnextcostume
Gage_Rage
Scratcher
39 posts

Walking + Animation?

Tookiekat_studios wrote:

here is how you would do that.

make a script for walking, for example:
whenSpacekeypressedmove10stepspointtowardsMouse-pointer

then for you're walking animation, you would make another script with the if key pressed using the same key as your movement key. like this

whenSpacekeypressedifkeySpacepressed?thenforevernextcostumewait0.09secselsestopThis script

if this dosent work, please let me know!
thank you i needed that
K3v_D3v
Scratcher
100+ posts

Walking + Animation?

Please stop necroposting! This posts was from 2 years ago, and it was solved, you can always create a new topic. Thanks!
II-QUI3T_STUD1OS-II
New Scratcher
2 posts

Walking + Animation?

whenclicked
SparshG
Scratcher
500+ posts

Walking + Animation?

Please don't spam. This is 2 years old post
myzman123number2
Scratcher
6 posts

Walking + Animation?

whenclickedforevernextcostume



for animation

when up arrow keypressed
changeyby10

for moving

Last edited by myzman123number2 (Oct. 14, 2020 02:53:36)

Powered by DjangoBB