Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reload new gif or change src dynamically #4

Open
KnightDanila opened this issue Feb 14, 2019 · 1 comment
Open

Reload new gif or change src dynamically #4

KnightDanila opened this issue Feb 14, 2019 · 1 comment

Comments

@KnightDanila
Copy link

KnightDanila commented Feb 14, 2019

Hello :)

Does it have function to delete old gif and load new? Something like this:

gif = gifler(srcTexture);
gif.animate(canvasTexture);
gif.delete()
gif = gifler(newSrcTexture);

Or function to change src dynamically? Like this:
gif.src("anim.gif")

@KnightDanila KnightDanila changed the title Reload new gif Reload new gif or change src dynamically Feb 25, 2019
@surfingtomchen
Copy link

have same request to reload a new gif. currently it seems the new gif image and old one will be mixed together in each frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants