Discuss Scratch

Criss_rc1
Scratcher
5 posts

How to put your animation in "YouTube on Scratch" by Criss_rc1?

YouTube on Scratch by Criss_rc1 (me) is like YouTube but is so empty, I'm searching for people who wants to add his animation or proyect to here
How could you help me?
Is really easy. Just follow this instrucctions for became easiest to put your things in my proyect.
For .GIF:
This is really simple so you can pass me the code like this

when I receive [My Video v]
switch costume to [Where your video starts v]
show
broadcast [music # v]
repeat until <(Video) = [off]>
next costume
wait (0.1) secs
end
stop all sounds
hide
when I receive [music # v]
repeat until <(Video) = [off]>
play sound [your video sound v] until done
end
when I receive [Start v]
forever
set volume to (Volume) %
end
when green flag clicked
go to [front v] layer
go to x: (0) y: (0)
set size to (100) %
hide
forever
wait (300) secs
set [Ad? v] to (pick random (1) to (2))
if <(Ad?) = [2]> then
stop [other scripts in sprite v]
broadcast [Video v]
stop [other scripts in sprite v]
end
end

For animations on scratch:
  • If your proyect just have one piece is perfect.
  • If your proyect have more than a piece, use this recomendations.

  1. Put this code with the logic of clones

when I receive [your animation (is inesesry, you can put start with green flag) v]
show
switch costume to [person 2-1 v]
create clone of [myself v]
switch costume to [person 3-1 v]
create clone of [myself v]
repeat the code above unti you have completed all the objects
switch costume to [person1-1 v]
wait (0.1) secs
switch costume to [person 1-2 v]
wait (0.1) secs
switch costume to [person 1-3 v]
wait (0.1) secs
switch costume to [person 1-4 v]
wait (0.1) secs
Repeat the script above until the animation of the character done
when I start as a clone
if <(costume [name v]) = [person 2-1]> then
switch costume to [person 2-2 v]
wait (0.1) secs
switch costume to [person 2-3 v]
wait (0.1) secs
switch costume to [person 2-4 v]
wait (0.1) secs
switch costume to [person 2-5 v]
wait (0.1) secs
Repeat the script above until the animation of the character done
end
if <(costume [name v]) = [person 3-1]> then
switch costume to [person 3-2 v]
wait (0.1) secs
switch costume to [person 3-3 v]
wait (0.1) secs
switch costume to [person 3-4 v]
wait (0.1) secs
switch costume to [person 3-5 v]
wait (0.1) secs
Repeat the script above until the animation of the character done
end
if <(costume [name v]) = [person 4-1]> then
switch costume to [person 4-2 v]
wait (0.1) secs
switch costume to [person 4-3 v]
wait (0.1) secs
switch costume to [person 4-4 v]
wait (0.1) secs
switch costume to [person 4-5 v]
wait (0.1) secs
Repeat the script above until the animation of the character done
end

  • Also, you can record your animation and make it an .GIF (It need to be less than 10 secs) and follow the steps for .GIF
SushiCat_75
Scratcher
1000+ posts

How to put your animation in "YouTube on Scratch" by Criss_rc1?

Please make this guide in your project.
This forum is for talking about open source code that Scratch is made with.

Powered by DjangoBB