Discuss Scratch

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
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

colorjuice wrote:

That’s probably the smoothest way to do movement, but if you don’t want that, instead of using
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.
I dunno, I saw a project with smooth movements, I'm making a comic, but I cant do moving text without it just looking weird.
PhoenixEntropy
Scratcher
100+ posts

Smooth Movement

FishTC wrote:

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)

Artanis545
Scratcher
1 post

Smooth Movement

Thanks, this helped a lot.
GG_T
Scratcher
2 posts

Smooth Movement

PhoenixEntropy wrote:

FishTC wrote:

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 (spee]
31bha
Scratcher
6 posts

Smooth Movement

thank you

Last edited by 31bha (Feb. 9, 2024 04:40:32)

-Mr_Animator-
Scratcher
19 posts

Smooth Movement

FishTC wrote:

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
Vaibhs11
Scratcher
1000+ posts

Smooth Movement

Please don't Necropost.
Reporting to be closed.
dougthepug789
Scratcher
4 posts

Smooth Movement

I need a tutorial for smooth movement
when this is seen
show a good tutorial please

Powered by DjangoBB