Discuss Scratch

PlatoHero_
Scratcher
500+ posts

Gifs

What will happen if a gif is uploaded as a sprite?
GoboThePlant
Scratcher
100+ posts

Gifs

The GIF will be expressed in multiple costumes for each frame.
mtech22
Scratcher
1000+ posts

Gifs

it will make all the frames into costumes of that sprite.
Mrcakeyman89
Scratcher
1000+ posts

Gifs

Like the others said, all the frames of the gif will turn into costumes for the sprite. If you want a gif into scratch, upload the gif, and then do this code if you want it to forever run:
when green flag clicked
switch costume to [Costume 1 v] //Whatever the name of the first costume is, switch this to it.
forever
wait (0.05) secs //If it's choppy, then switch it to 0.03, or 0.02
next costume
end

Hope this helps!

Scratch On!
PlatoHero_
Scratcher
500+ posts

Gifs

Aha, thanks! Now, what website should I use for a 1:42 lasting video to be converted into a GIF?

Last edited by PlatoHero_ (June 27, 2021 13:09:06)

Mrcakeyman89
Scratcher
1000+ posts

Gifs

PlatoHero_ wrote:

Aha, thanks! Now, what website should I use for a 1:42 lasting video to be converted into a GIF?

If you have the video on youtube or have it downloaded as an mp4, then I use this site: GIPHY
I don't think you need to learn how to use this site, it's rather easy to understand when first you look at it, just scroll xD
PlatoHero_
Scratcher
500+ posts

Gifs

Mrcakeyman89 wrote:

PlatoHero_ wrote:

Aha, thanks! Now, what website should I use for a 1:42 lasting video to be converted into a GIF?

If you have the video on youtube or have it downloaded as an mp4, then I use this site: GIPHY
I don't think you need to learn how to use this site, it's rather easy to understand when first you look at it, just scroll xD
Thank you, closing the topic in 23:30 hours!
1Oaktree2
Scratcher
1000+ posts

Gifs

PlatoHero_ wrote:

Mrcakeyman89 wrote:

PlatoHero_ wrote:

Aha, thanks! Now, what website should I use for a 1:42 lasting video to be converted into a GIF?

If you have the video on youtube or have it downloaded as an mp4, then I use this site: GIPHY
I don't think you need to learn how to use this site, it's rather easy to understand when first you look at it, just scroll xD
Thank you, closing the topic in 23:30 hours!
You can also report for it to be closed. I'll do that
Mrcakeyman89
Scratcher
1000+ posts

Gifs

1Oaktree2 wrote:

PlatoHero_ wrote:

Mrcakeyman89 wrote:

PlatoHero_ wrote:

Aha, thanks! Now, what website should I use for a 1:42 lasting video to be converted into a GIF?

If you have the video on youtube or have it downloaded as an mp4, then I use this site: GIPHY
I don't think you need to learn how to use this site, it's rather easy to understand when first you look at it, just scroll xD
Thank you, closing the topic in 23:30 hours!
You can also report for it to be closed. I'll do that

Same.
-Kryptonite-
Scratcher
1000+ posts

Gifs

PlatoHero_ wrote:

Aha, thanks! Now, what website should I use for a 1:42 lasting video to be converted into a GIF?

sppppppspspspspspps Okayyyy that probably not going to upload or save but good luck!

'porting to be closed
kccuber
Scratcher
1000+ posts

Gifs

Whoa whoa whoa let me get Flowermanvista's quote before you close this!

Flowermanvista wrote:

This is caused by a known issue with GIF importing that causes the frames to be out of order. In my experience, you can work around this by importing the GIF as a new sprite, rather than importing it into an existing sprite. More info can be found here.

Alternatively, you can use this:

CatsUnited wrote:

I've experienced this and I used an alternative way to fix the ordering - to use scripts to fix the ordering
When you import a gif (e.g funny-gif), all the frames come out as funny-gif, then funny-gif2, then funny-gif3 etc. Even if they are out of order, you can play the sequence in order by requesting the exact costume name rather than using “next costume”, like this:

switch costume to [funny-gif v]
set [frame v] to [1]
repeat (length of gif:: #969696)
wait (0) secs
change [frame v] by (1)
switch costume to (join [funny-gif] (frame))
end

Now the gif should be playing with every frame in the correct part of the sequence.
(Note that the following is my signature - it appears automatically below all of my posts. You can tell where a post ends and where a signature starts because there is a grey line separating them. You can put anything you want in a signature - including advertisements for your projects or forum topics. To get your own signature, follow the instructions here.)

Last edited by kccuber (June 27, 2021 16:45:30)

Harakou
Scratcher
1000+ posts

Gifs

PlatoHero_ wrote:

Mrcakeyman89 wrote:

PlatoHero_ wrote:

Aha, thanks! Now, what website should I use for a 1:42 lasting video to be converted into a GIF?

If you have the video on youtube or have it downloaded as an mp4, then I use this site: GIPHY
I don't think you need to learn how to use this site, it's rather easy to understand when first you look at it, just scroll xD
Thank you, closing the topic in 23:30 hours!
Closed by owner request.

Powered by DjangoBB