Discuss Scratch

Panganay19
Scratcher
19 posts

Walking + Animation?

its easy
when green flag clicked
go to x: (0) y: (0)
clear graphic effects
switch costume to
show
wait (.3) secs
repeat until <>
(costume #)

< = >

number
next costume
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

when green flag clicked
forever
wait (as much secs you want) secs
next costume
end


this one is your character/costume going up and down

when green flag clicked
forever
glide (.1) secs to x: (0) y: (10)
glide (.1) secs to x: (0) y: (10)
glide (.1) secs to x: (0) y: (0)
end
Dino-mite_Girl
Scratcher
5 posts

Walking + Animation?






D M G CLUB
ResuluteAziz_90
Scratcher
1 post

Walking + Animation?

when green flag clicked
move () steps
next costume
Gage_Rage
Scratcher
39 posts

Walking + Animation?

Tookiekat_studios wrote:

here is how you would do that.

make a script for walking, for example:
when [Space v] key pressed
move (10) steps
point towards [Mouse-pointer v]

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

when [Space v] key pressed
if <key [Space v] pressed?> then
forever
next costume
wait (0.09) secs
end
else
stop [This script v]
end

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?

when green flag clicked
SparshG
Scratcher
500+ posts

Walking + Animation?

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

Walking + Animation?

when green flag clicked
forever
next costume
end



for animation

when [ up arrow ] key pressed
change y by (10)

for moving

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

Powered by DjangoBB