[SOLVED] GIF Motion Texture Support?

If we had a bigger demand for the feature, then yes we would consider it for the roadmap. Given the number of users on the platform, the demand is very small and they are able to work around it with the script above or a variation of it.

We are very happy to take contributions to the engine on GitHub as it’s completely open source if you would like to tackle it

Even large engines with MUCH bigger teams like Unity3d don’t support GIFs

1 Like

yeah and that’s what makes these engines so hard to use it does not support anything and if one person has a problem then you don’t care about it until the entire community posts about it

and what by mean by contributions you want me to add the support myself? i guess

so i cant make the engine better myself…?? ooh

With the engine being open source, anyone can take the source code and make their own engine or contribute to ours. Eg LeXXik added support for more features on the physics system: https://github.com/playcanvas/engine/pull/3682

ooh my own engine? helping you guys hmmm that sound great

i have no idea how to use github

For running a gif without making a texture. You will have to use a little html. I have achived it by using the libgif.js library.

Library Link:

Just make the SuperGif. Copy the texture from it on to the texture(repeatedly). It is quite expensive operation. But saves me the hassle of making sprite sheet. If you can afford a heavy operation in your application then you could use it.

The library give quite a lot of control over gif.

1 Like

Mp4 supports transparency? I know that webm supports transparency, but mobile Safari doesn’t support webm. Is there a way to play videos with transparency on mobile Safari? If there is, please let me know how. I thought it wasn’t possible. I thought I could only play videos with transparency using the webm format, which is supported on most browsers except mobile Safari.

I created a github feature request for gif support. People who want this feature, give it a like and comment!

1 Like

Hi @Marks,

I think it’s possible with mp4s, not sure though about browser compatibility.

In this thread a user had a similar issue which was solved and at the bottom there is an example project with the solution:

1 Like