Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Smooth Movement
- FishTC
-
Scratcher
26 posts
Smooth Movement
I need a smooth movement tutorial, if someone could give me a way to achieve this, the problem is all I found doesn't work, and I don't want this.
when green flag clicked
forever
if <key [ W] pressed?> then
change y by (5)
end
end
- colorjuice
-
Scratcher
100+ posts
Smooth Movement
That’s probably the smoothest way to do movement, but if you don’t want that, instead of using
Use that same block but from the Makey Makey extension,
it’s not the smoothest but there is a lot less lag for some reason.
when [W v] key pressed
Use that same block but from the Makey Makey extension,
it’s not the smoothest but there is a lot less lag for some reason.
Last edited by colorjuice (May 16, 2023 04:34:45)
- FishTC
-
Scratcher
26 posts
Smooth Movement
That’s probably the smoothest way to do movement, but if you don’t want that, instead of usingI dunno, I saw a project with smooth movements, I'm making a comic, but I cant do moving text without it just looking weird.when [W v] key pressed
Use that same block but from the Makey Makey extension,
it’s not the smoothest but there is a lot less lag for some reason.
- PhoenixEntropy
-
Scratcher
100+ posts
Smooth Movement
I need a smooth movement tutorial, if someone could give me a way to achieve this, the problem is all I found doesn't work, and I don't want this.when green flag clicked
forever
if <key [ W] pressed?> then
change y by (5)
end
end
when green flag clicked
forever
change [speedX v] by (<key [d v] pressed?> - <key [a v] pressed?>)
change [speedY v] by (<key [w v] pressed?> - <key [s v] pressed?>)
set [speedX v] to ((speedX) * (0.85))
set [speedY v] to ((speedY) * (0.85))
change x by (speedX)
change y by (speedY)
end
Last edited by PhoenixEntropy (May 16, 2023 04:51:12)
- GG_T
-
Scratcher
2 posts
Smooth Movement
I need a smooth movement tutorial, if someone could give me a way to achieve this, the problem is all I found doesn't work, and I don't want this.when green flag clicked
forever
if <key [ W] pressed?> then
change y by (5)
end
endwhen green flag clicked
forever
change [speedX v] by (<key [d v] pressed?> - <key [a v] pressed?>)
change [speedY v] by (<key [w v] pressed?> - <key [s v] pressed?>)
set [speedX v] to ((speedX) * (0.85))
set [speedY v] to ((speedY) * (0.85))
change x by (spee]
- -Mr_Animator-
-
Scratcher
19 posts
Smooth Movement
I need a smooth movement tutorial, if someone could give me a way to achieve this, the problem is all I found doesn't work, and I don't want this.[endquote/]
when [Hi v] key pressed
repeat until <not <key [Hi v] pressed>>
change x by (Hi)
end
- dougthepug789
-
Scratcher
4 posts
Smooth Movement
I need a tutorial for smooth movement
when this is seen
show a good tutorial please
- Discussion Forums
- » Help with Scripts
-
» Smooth Movement