Discuss Scratch
- Discussion Forums
- » Suggestions
- » Tween block
- -WhoAsked-
-
Scratcher
79 posts
Tween block
I'm pretty sure it's already explained
Color used{
HEX: #59ab98
RGB: 89, 171, 152
CMYK: 48%, 0%, 11%, 33%
HSV: 166°, 48%, 67%
HSL: 166°, 33%, 51%
Tween [] seconds [] mode{
}::#59ab98So, pretty much a smooth movement blockwhen green flag clickedThis would cause the sprite to go slow, speed up as it reaches the middle, and then slow down again
go to x: [-50] y: [0]
Tween [1] seconds [EaseInOut v]{
go to x: [50] y: [0]
}::#59ab98
when green flag clickedHere is a full demo of the tween block.
set size to [0]%
Tween [1] seconds [EaseOut v]{
set size to [100]%
}::#59ab98
Color used{
HEX: #59ab98
RGB: 89, 171, 152
CMYK: 48%, 0%, 11%, 33%
HSV: 166°, 48%, 67%
HSL: 166°, 33%, 51%
::#59ab98}
Last edited by -WhoAsked- (July 25, 2022 09:46:00)
- k0d3rrr
-
Scratcher
1000+ posts
Tween block
That might be the same thing as lerp (linear interpolation): https://scratch.mit.edu/discuss/topic/583779/
- -WhoAsked-
-
Scratcher
79 posts
Tween block
That might be the same thing as lerp (linear interpolation): https://scratch.mit.edu/discuss/topic/583779/that won't work on multiple things at once:
when green flag clicked
go to x: [-50] y: [50]
point in direction [90]
tween [1] second [EaseInOut v]{
go to x: [50] y: [-50]
point in direction [0]
}::#59ab98
- mybearworld
-
Scratcher
1000+ posts
Tween block
Nevermind, I didn't read it properly
Last edited by mybearworld (April 23, 2022 11:17:23)
- IndexErrorException
-
Scratcher
500+ posts
Tween block
Hey Roblox developer, this should only work on property setting blocks, I mean anything else it would make no sense. Like smooth easing of size or location sure but variables would be a no. Support as an extension, tweens can also be calculated on your own.
- k0d3rrr
-
Scratcher
1000+ posts
Tween block
Disappointed bump. Why? Because this hasn't been posted on for so long, and this topic was on the possible brink of being necroposted on.
This is definitely a duplicate. I'm not saying you guys should find the duplicate, I'm just saying, someone has definitely suggested this before, but at the time of writing this, I wasn't looking for any duplicates.
I still think this should be added because while there are workarounds, they might not work the same as the tween animation blocks being suggested here.
A better reason why this should be added is because this could help create better tweening animations for projects. Why?
So you can make animations feel more “realistic” and less “robotic”.
This is definitely a duplicate. I'm not saying you guys should find the duplicate, I'm just saying, someone has definitely suggested this before, but at the time of writing this, I wasn't looking for any duplicates.
I still think this should be added because while there are workarounds, they might not work the same as the tween animation blocks being suggested here.
A better reason why this should be added is because this could help create better tweening animations for projects. Why?
So you can make animations feel more “realistic” and less “robotic”.
Last edited by k0d3rrr (July 11, 2022 06:18:52)
- -Valtren-
-
Scratcher
1000+ posts
Tween block
you might want to include the fact that if it uses one second, it's going to be FPSI
you'll get a lot of support from the more advanced users
you'll get a lot of support from the more advanced users
- -WhoAsked-
-
Scratcher
79 posts
Tween block
Hey Roblox developer, this should only work on property setting blocks, I mean anything else it would make no sense. Like smooth easing of size or location sure but variables would be a no. Support as an extension, tweens can also be calculated on your own.exactly the same as the operators, you can calculate EVERYTHING in scratch with just the = block, and a go to block, and yet scratch made blocks for everything
- Maximouse
-
Scratcher
1000+ posts
Tween block
Snap! has an interesting block with a similar purpose in the Animation library:
animate [x position v] by (50) in (1) secs easing [linear v] :: motionThe first dropdown contains things like x/y position, direction, size, effects, tempo and volume. It doesn't contain variables because it's implemented as a custom block so the options have to be predefined. Easing is the same as “mode” in this suggestion.
- withrenren
-
Scratcher
16 posts
Tween block
endThey should totally add this block all scratch animators can rest and it have cool transitions

- Discussion Forums
- » Suggestions
-
» Tween block







