Is there an easy way to use .gif as a texture?

You mean rewrite whole project with TS?

Another choice is to rewrite animatedGifTexture.ts in js, it may be simpler in the beginning.

1 Like

Totally agree! I compile the origin ts into js file, and do all the package and webpack stuff, finally, the gif displays on my browser! But I want to use ts in my subsequent projects.

Typescript is a great skill to have for any projects as it makes web code much more reliable :smiley: