Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » scratch's video importing glitch
- TheRedDinosaur123
-
Scratcher
28 posts
scratch's video importing glitch
most of the things i do here are animations.
i make alot of them inside of scratch, but sometimes i use other softwares.
the problem is, that i want to upload the animations that i dont make in scratch TO scratch.
easy. import it, right?
nope.
i CAN export and import those animations, but when i import those animation to scratch, the frames are all in the wrong order. (it happens every time you upload a video/gif into scratch, just to be clear) i can put them in order manualy, but, its pretty frustrating.
anyone got tips or knows how to fix it?
i make alot of them inside of scratch, but sometimes i use other softwares.
the problem is, that i want to upload the animations that i dont make in scratch TO scratch.
easy. import it, right?
nope.
i CAN export and import those animations, but when i import those animation to scratch, the frames are all in the wrong order. (it happens every time you upload a video/gif into scratch, just to be clear) i can put them in order manualy, but, its pretty frustrating.
anyone got tips or knows how to fix it?
- legendary34678
-
Scratcher
1000+ posts
scratch's video importing glitch
Your frames should all share the same name format. Probably something like [something] [number]. So, you can count how many frames you have and then use this code to play the animation:
set [frame # v] to [1]
repeat (number of frames)
switch costume to (join [something] (frame #))
change [frame # v] by (1)
end
- TheRedDinosaur123
-
Scratcher
28 posts
scratch's video importing glitch
Your frames should all share the same name format. Probably something like [something] [number]. So, you can count how many frames you have and then use this code to play the animation:Kk, ill try, prob gonna be hardset [frame # v] to [1]
repeat (number of frames)
switch costume to (join [something] (frame #))
change [frame # v] by (1)
end
- -abstracted-
-
Scratcher
100+ posts
scratch's video importing glitch
Your frames should all share the same name format. Probably something like [something] [number]. So, you can count how many frames you have and then use this code to play the animation:set [frame # v] to [1]
repeat (number of frames)
switch costume to (join [something] (frame #))
change [frame # v] by (1)
end
You don't need to count how many frames. The number of costumes shows up in the Scratch editor.
- medians
-
Scratcher
1000+ posts
scratch's video importing glitch
Or if all of costumes are those frames, you can use this:Your frames should all share the same name format. Probably something like [something] [number]. So, you can count how many frames you have and then use this code to play the animation:set [frame # v] to [1]
repeat (number of frames)
switch costume to (join [something] (frame #))
change [frame # v] by (1)
end
You don't need to count how many frames. The number of costumes shows up in the Scratch editor.

Though they probably meant that you substitute in whatever that value is into the repeat loop.
- legendary34678
-
Scratcher
1000+ posts
scratch's video importing glitch
Yeah, of course I wouldn't expect them to count every single frame 

- Discussion Forums
- » Help with Scripts
-
» scratch's video importing glitch