Discuss Scratch

venyanwarrior
Scratcher
1000+ posts

new block idea [keyframe animation]

venyanwarrior wrote:

jokebookservice1 wrote:

venyanwarrior wrote:

sry, I meant a block like this:
TC
Ok. But if the last drop down is keep it rough then it becomes identical to a normal costume switch, s I deem it not required

so you mean its supposed to be like this?:
Transition [sprite 1 v] [costume 1 v] to [costume 2 v] and smooth it out

Look at the long block

If you're seeing this signature, that means I've come out of my social anxiety hole.

Also, I edit the Scratch Wiki. Check it out sometime it's cool I guess.
venyanwarrior
Scratcher
1000+ posts

new block idea [keyframe animation]

bump

If you're seeing this signature, that means I've come out of my social anxiety hole.

Also, I edit the Scratch Wiki. Check it out sometime it's cool I guess.
venyanwarrior
Scratcher
1000+ posts

new block idea [keyframe animation]

bump

If you're seeing this signature, that means I've come out of my social anxiety hole.

Also, I edit the Scratch Wiki. Check it out sometime it's cool I guess.
liam48D
Scratcher
1000+ posts

new block idea [keyframe animation]

Generally this can be done with clones:

create clone of [myself v]
set [ghost v] effect to (100)
switch costume to [whatever v]
repeat (10)
change [ghost v] effect by (-10)
end

when I start as a clone
repeat (10)
change [ghost v] effect by (10)
end
delete this clone

As the clone (which has the old costume) fades out, the main sprite (which has the new costume) fades in. After the fade-in, the clone gets deleted. You can adjust the timing to your needs, as well as create your own effects, using this concept.

202e-202e-202e-202e-202e UNI-CODE~~~~~
venyanwarrior
Scratcher
1000+ posts

new block idea [keyframe animation]

liam48D wrote:

Generally this can be done with clones:

create clone of [myself v]
set [ghost v] effect to (100)
switch costume to [whatever v]
repeat (10)
change [ghost v] effect by (-10)
end

when I start as a clone
repeat (10)
change [ghost v] effect by (10)
end
delete this clone

As the clone (which has the old costume) fades out, the main sprite (which has the new costume) fades in. After the fade-in, the clone gets deleted. You can adjust the timing to your needs, as well as create your own effects, using this concept.

Please simplify

If you're seeing this signature, that means I've come out of my social anxiety hole.

Also, I edit the Scratch Wiki. Check it out sometime it's cool I guess.
jokebookservice1
Scratcher
1000+ posts

new block idea [keyframe animation]

liam48D wrote:

Generally this can be done with clones:

create clone of [myself v]
set [ghost v] effect to (100)
switch costume to [whatever v]
repeat (10)
change [ghost v] effect by (-10)
end

when I start as a clone
repeat (10)
change [ghost v] effect by (10)
end
delete this clone

As the clone (which has the old costume) fades out, the main sprite (which has the new costume) fades in. After the fade-in, the clone gets deleted. You can adjust the timing to your needs, as well as create your own effects, using this concept.
They want Scratch to animate a cat waving its hand based on a start and end frame
da-maker
Scratcher
100+ posts

new block idea [keyframe animation]

No support, this is too absurd or ambiguous.

This is a signature, for any new forum users wondering. I find this topic rather interesting.

[color=#aaa][i]Last edited by kaj (Tomorrow 00:00:00)[/i][/color]
venyanwarrior
Scratcher
1000+ posts

new block idea [keyframe animation]

when green flag clicked
*BUMP*

If you're seeing this signature, that means I've come out of my social anxiety hole.

Also, I edit the Scratch Wiki. Check it out sometime it's cool I guess.
jokebookservice1
Scratcher
1000+ posts

new block idea [keyframe animation]

I'm sorry, but this isn't always possible. It might be possible for it to predict human actions, but not every single animation.
venyanwarrior
Scratcher
1000+ posts

new block idea [keyframe animation]

Well, why couldn't a 3rd party developer make a program just for this purpose?

If you're seeing this signature, that means I've come out of my social anxiety hole.

Also, I edit the Scratch Wiki. Check it out sometime it's cool I guess.
jokebookservice1
Scratcher
1000+ posts

new block idea [keyframe animation]

venyanwarrior wrote:

Well, why couldn't a 3rd party developer make a program just for this purpose?
These programs are very difficult to make, and some already exist, but they aren't perfect
TealWashableMarker
Scratcher
1000+ posts

new block idea [keyframe animation]

venyanwarrior wrote:

Well, here's a suggestion. when you hover over a block with the mouse, a box pops up that tells you what that block does, and the applications of it.
I can't remember exactly, but if you do something with a block (i think right click it) and then click a question mark it says what the block does.


Also, I don't see the point of the suggestion. You can just use
switch backdrop to [ v]

Also, how would it stop you making a lot of costumes? Are you saying it's a block that can read your mind and do the animation for you? Pff.
Gobblesmack
Scratcher
100+ posts

new block idea [keyframe animation]

No support. I feel the block is way too ambiguous, especially because of the reasons other users stated.

#BringBackDiscuss
GlassGalaxy
Scratcher
500+ posts

new block idea [keyframe animation]

Well, you have to think about it. It wouldn't be easy to program would it…? And it wouldn't be very accurate either. How would the computer know what to animate, how to animate it and what to add/remove when animating it… I mean, what if I had a cat picture and a picture of Shrek? How would the computer know what to animate for those images? It's not like the computer can magically read your mind and know what you want and how you want it.

Have you looked up the meaning of ambiguous?

sobbing about pinof 9
Jonathan50
Scratcher
1000+ posts

new block idea [keyframe animation]

Something like this?
define fade from (costume 1) to (costume 2) for (duration) secs
switch costume to (costume 1)
set [the fading clone? v] to [1]
set [the fading duration v] to (duration)
create clone of [myself v]
set [the fading clone? v] to [0]
broadcast [fade out old costume v]
switch costume to (costume 2)
fade [out] for (duration) secs

when I receive [fade out old costume v]
if <(the fading clone?) = [1]> then
fade [in] for (the fading duration) secs
delete this clone
end

define fade (direction :: custom-arg) for (duration) secs
set [ghost v] effect to (<(direction :: custom-arg) = [in]> * (100))
if <(direction :: custom-arg) = [in]> then
set [fade step v] to [-1]
else
set [fade step v] to [1]
end
set [fade delay v] to (((duration) / (100)) - (0.9667))
repeat (100)
change [ghost v] effect by (fade step)
wait (fade delay) secs
end
Warning: this is untested

Edit: fixed some things
…and again.
…and another thing.
Also, this isn't thread-safe.
…and I changed another thing.
…and fixed another thing.
Note: All the variables (except for THE FADING DURATION and FADE DELAY) must be Sprite-local.
Okay, my FADE block is broken. Don't use it.

Last edited by Jonathan50 (Nov. 1, 2016 21:12:45)


Not yet a Knight of the Mu Calculus.
braxbroscratcher
Scratcher
1000+ posts

new block idea [keyframe animation]

Tools for this exist. Use one of those or draw another costume yourself.


My signature is kumquat proof.
But not tangerine pro-
nomnomnomnomnom










Current Project:
n/a
Quotes: “In our last hour, we burn the most brightly, trying to deny that we are burning out.” -Me
“Well, no. 1024 Killerbytes make a Murderbyte.” -MegaByteCorporations
“I hate out of context quotes.” -Me
“I hate it when Cubeupload breaks.” -Also me

Powered by DjangoBB