Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to make sprites glide/spin smoothly?
- Obsolescence
-
15 posts
How to make sprites glide/spin smoothly?
I ask because I've been thinking about making “edits” on scratch. For context, people usually make edits of their favorite character using images or clips of animation, but sometimes I've seen people let the frames spin, glide, or shake. I want to try making projects like this with my own OCs. I've attempted a project with some gliding in it, but I wouldn't call it “edit” quality. Is there a way to make the gliding smoother?
- supergamer10000
-
1000+ posts
How to make sprites glide/spin smoothly?
You could use multiple glides
This code will make it near smooth gliding.
- quackdmr
-
37 posts
How to make sprites glide/spin smoothly?
A really good way to make gliding super smooth
Ignore the rest if you dont want the code explained.
Find the difference between our x position, and the one we want to arrive at. Divide it by 6 so its smooth.
(ps: you can do this with anything, like rotation. Instead, set it to be
)
Ignore the rest if you dont want the code explained.
Find the difference between our x position, and the one we want to arrive at. Divide it by 6 so its smooth.
(ps: you can do this with anything, like rotation. Instead, set it to be
with glidex and glidey as the direction instead of the position, and the
block for the x/y position.
)
Last edited by quackdmr (Oct. 1, 2021 19:42:44)
- orangetheory
-
500+ posts
How to make sprites glide/spin smoothly?
Here is a block that I usually use when making intros to make it glide and spin smoothly.
Please note that to make it go faster, the number for the input “speed” should be lower, and to make it go slower the number should be higher.
Hope this helped!
Please note that to make it go faster, the number for the input “speed” should be lower, and to make it go slower the number should be higher.
Hope this helped!
- amagamecode
-
100+ posts
How to make sprites glide/spin smoothly?
If you want to make a sprite that guides to your mouse-pointer, here is the script:
Last edited by amagamecode (Feb. 4, 2025 03:41:10)
- Discussion Forums
- » Help with Scripts
-
» How to make sprites glide/spin smoothly?