Discuss Scratch

mrgame2012
Scratcher
74 posts

Animate from costume () to () with transition [v] block!

The block should look something like this:

animate from costume () to () with transition [slide v] with delay of [1] seconds :: looks // if only the forums had 3.0 blocks, this would look better

The transitions are:
Instant: Changes from one costume to another instantly, no transition.
Fade: Smooth fade transition from one costume to another (delay depends on select amount of seconds), fade transition.
Slide: Sliding transition from one costume to another; slides into view (delay depends on select amount of seconds), slide transition.
(thanks to @k0d3rrr)


To me, this does seem more like it belongs in Snap!, but the ST can simplify it and then it might just be added to Scratch.

Pros:
-Useful for animators
-Simplifies animating
-May create 2-block animations (counting the
when flag clicked
block)
Cons:
-May cause animators to become lazy, starting the Great Lazy Animator Clash.
-People may believe that simpler Snap! blocks are coming to Scratch (very unlikely)
-New Scratchers might not know what the block does, but this can be fixed with a tutorial (or use the hardcore option and prevent New Scratchers from even using the block)

Last edited by mrgame2012 (Feb. 4, 2022 02:52:41)

yes-i-am-lanky
Scratcher
100+ posts

Animate from costume () to () with transition [v] block!

what does slide mean

and how will the instant option work with delay?
And doesn't instant just mean…
switch costume to [ v]
?
mrgame2012
Scratcher
74 posts

Animate from costume () to () with transition [v] block!

#2

yes-i-am-lanky wrote:

(#2)
what does slide mean

and how will the instant option work with delay?
And doesn't instant just mean…
switch costume to [ v]
?
The “instant” option will go to the next costume, then wait for the number of seconds in the “delay” input, and then switch to the next costume.
dhuls
Scratcher
1000+ posts

Animate from costume () to () with transition [v] block!

mrgame2012 wrote:

(#3)
#2

yes-i-am-lanky wrote:

(#2)
what does slide mean

and how will the instant option work with delay?
And doesn't instant just mean…
switch costume to [ v]
?
The “instant” option will go to the next costume, then wait for the number of seconds in the “delay” input, and then switch to the next costume.
uhh
next costume
wait () secs
next costume
k0d3rrr
Scratcher
1000+ posts

Animate from costume () to () with transition [v] block!

I fixed it:

Instant: Changes from one costume to another instantly, no transition.
Fade: Smooth fade transition from one costume to another (delay depends on select amount of seconds), fade transition.
Slide: Sliding transition from one costume to another; slides into view (delay depends on select amount of seconds), slide transition.

Last edited by k0d3rrr (Jan. 30, 2022 11:27:24)

k0d3rrr
Scratcher
1000+ posts

Animate from costume () to () with transition [v] block!

Bring Back The Topic.
mumu245
Scratcher
1000+ posts

Animate from costume () to () with transition [v] block!

k0d3rrr wrote:

Is this what you meant?

Instant: Changes from one costume to another instantly, no transition.
Fade: Smooth transition from one costume to another (delay depends on select amount of seconds), fade transition.
Slide: Slideshow transition from one costume to another (delay depends on select amount of seconds), slide transition.
This is somewhat hard to do now, so, I guess, support! As long as the duration can be changed.

Slide should be:
push left, push right, push up, push down
and
glide left, glide right, glide up, glide down
(push moves the original, glide just places the new costume over it)
k0d3rrr
Scratcher
1000+ posts

Animate from costume () to () with transition [v] block!

mumu245 wrote:

k0d3rrr wrote:

-snip-
This is somewhat hard to do now, so, I guess, support! As long as the duration can be changed.

Slide should be:
push left, push right, push up, push down
and
glide left, glide right, glide up, glide down
(push moves the original, glide just places the new costume over it)
Okay, I now understand what this is.
KeenanG4
Scratcher
75 posts

Animate from costume () to () with transition [v] block!

Support! But just do it like this

next costume with (?) delay
k0d3rrr
Scratcher
1000+ posts

Animate from costume () to () with transition [v] block!

KeenanG4 wrote:

Support! But just do it like this

next costume with (?) delay
That's different. This is about changing from one costume to another with a timed delay and transition types (Instant, Fade, Slide), but that's changing to the next costume with a delay (without the transitions).

Last edited by k0d3rrr (Jan. 30, 2022 12:51:34)

yes-i-am-lanky
Scratcher
100+ posts

Animate from costume () to () with transition [v] block!

k0d3rrr wrote:

I fixed it:

Instant: Changes from one costume to another instantly, no transition.
Fade: Smooth fade transition from one costume to another (delay depends on select amount of seconds), fade transition.
Slide: Sliding transition from one costume to another; slides into view (delay depends on select amount of seconds), slide transition.
isnt instant just
switch costume to [ v]
k0d3rrr
Scratcher
1000+ posts

Animate from costume () to () with transition [v] block!

yes-i-am-lanky wrote:

k0d3rrr wrote:

I fixed it:

Instant: Changes from one costume to another instantly, no transition.
Fade: Smooth fade transition from one costume to another (delay depends on select amount of seconds), fade transition.
Slide: Sliding transition from one costume to another; slides into view (delay depends on select amount of seconds), slide transition.
isnt instant just
switch costume to [ v]
Well yeah, but it's technically just a variation of the
switch costume to [ v]
block.
dave-alt-4
Scratcher
1000+ posts

Animate from costume () to () with transition [v] block!

bump
KeenanG4
Scratcher
75 posts

Animate from costume () to () with transition [v] block!

k0d3rrr wrote:

KeenanG4 wrote:

Support! But just do it like this

next costume with (?) delay
That's different. This is about changing from one costume to another with a timed delay and transition types (Instant, Fade, Slide), but that's changing to the next costume with a delay (without the transitions).
Alright, Maybe like this
animate costume from costume (?)  type (?) with delay (?)
scratchering_coder
Scratcher
500+ posts

Animate from costume () to () with transition [v] block!

Deleted

Last edited by scratchering_coder (Feb. 4, 2022 07:00:48)

scratchering_coder
Scratcher
500+ posts

Animate from costume () to () with transition [v] block!

No support, You can already do it with my blocks:

when green flag clicked
Animate to costume (1) to costume (10) with FPS of (0.1)

define Animate to costume (costume1) to costume (costume2) with FPS of (FPS)
switch costume to (costume1)
repeat until <(costume #) = (costume2)>
next costume
wait (FPS) secs
end

Last edited by scratchering_coder (Feb. 4, 2022 07:01:58)

k0d3rrr
Scratcher
1000+ posts

Animate from costume () to () with transition [v] block!

scratchering_coder wrote:

You can already do it with my blocks:

when green flag clicked
Animate to costume (1) to costume (10)::More Blocks

define Animate to costume (costume1) to costume (costume2)
switch costume to (costume1)
repeat until <(costume #) = (costume2)>
next costume
end
That's one workaround for the Instant transition (the other one being the “Switch Costume To () Block”), but there isn't a workaround for the other two transition types (The ghost effect technically doesn't work for the Fade transition, unless you have two identical sprites with the same costumes and the same code).

I wrote:

Fade: Smooth fade transition from one costume to another (delay depends on select amount of seconds), fade transition.
Slide: Sliding transition from one costume to another; slides into view (delay depends on select amount of seconds), slide transition.
Instant is just like the
switch costume to [ v]
block, but as a transition type for an advanced block being suggested.

I wrote:

Instant: Changes from one costume to another instantly, no transition.
Which is basically the same as the switch costume to () block.
k0d3rrr
Scratcher
1000+ posts

Animate from costume () to () with transition [v] block!

Bump.
k0d3rrr
Scratcher
1000+ posts

Animate from costume () to () with transition [v] block!

k0d3rrr wrote:

Bump.
scratchering_coder
Scratcher
500+ posts

Animate from costume () to () with transition [v] block!

k0d3rrr wrote:

scratchering_coder wrote:

You can already do it with my blocks:

when green flag clicked
Animate to costume (1) to costume (10)::More Blocks

define Animate to costume (costume1) to costume (costume2)
switch costume to (costume1)
repeat until <(costume #) = (costume2)>
next costume
end
That's one workaround for the Instant transition (the other one being the “Switch Costume To () Block”), but there isn't a workaround for the other two transition types (The ghost effect technically doesn't work for the Fade transition, unless you have two identical sprites with the same costumes and the same code).

I wrote:

Fade: Smooth fade transition from one costume to another (delay depends on select amount of seconds), fade transition.
Slide: Sliding transition from one costume to another; slides into view (delay depends on select amount of seconds), slide transition.
Instant is just like the
switch costume to [ v]
block, but as a transition type for an advanced block being suggested.

I wrote:

Instant: Changes from one costume to another instantly, no transition.
Which is basically the same as the switch costume to () block.
I don't support it also in that way, i don't see why to add this block we already have the necessary blocks for animations.

Powered by DjangoBB