extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Trying to add a gif using asset manager behaves weirdly

Open snowboyz0825 opened this issue 1 year ago • 5 comments

https://github.com/TurboWarp/extensions/assets/101284660/d75d1165-eb56-4ac2-8b09-152b9d47588d

This is probably the weirdest bug I've ever seen, if I had to guess it's treating it like a png but it isn't formatted correctly, but this is just weird.

(also if the amount of issues and discussions I've created is spam please let me know)

snowboyz0825 avatar Apr 25 '24 17:04 snowboyz0825

Could be really cool for in editor effects though, lol

snowboyz0825 avatar Apr 25 '24 18:04 snowboyz0825

What the... Who made the editor mad? But in all seriousness, that obviously shouldn't happen.

rkxspace avatar Jul 10 '24 00:07 rkxspace

Scratch handles uploading gifs by splitting the gif into frames and then uploading it. Since the block uses the direct upload function, it breaks the entire editor since Scratch doesn't support gifs.

CubesterYT avatar Jul 10 '24 01:07 CubesterYT

So what function would do that I wonder.... I might poke at it later

rkxspace avatar Jul 10 '24 01:07 rkxspace

We should look for a way to make the extension split the gif and upload the consecutive images to match TurboWarp's behavior. As of now, this is a bug that shouldn't happen as people would expect the block to upload the same way you normally do.

CubesterYT avatar Jul 13 '24 01:07 CubesterYT