-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Is it possible to render .gif images? #1857
Comments
It is possible, but you will have to run the animation yourself. Load all frames, assign them all their own texture, then flip between them at the right interval (remember to use |
@ocean-beach I have this working in one of my projects here : https://github.com/Gui-Yom/vibin/blob/26e1a89a193d16754a1e33bd495aa51cd9b886a1/src/main.rs In this code, I schedule a repaint from another thread so I can get the timings right without impacting the UI itself. Though I'm not sure how you could integrate this with bevy. |
Support for animated GIFs has been added in #4620. |
Hi. I'm using bevy_egui https://github.com/mvlabat/bevy_egui that provides a Egui integration for the bevy game engine.
I'm trying to render simple Window with .gif animation.
It it possible to render .gif animation with Egui?
The text was updated successfully, but these errors were encountered: