-
Notifications
You must be signed in to change notification settings - Fork 17
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
Implement APNG support in Goost. #193
Comments
Nice, thanks for writing this up! Yeah, I don't mind if APNG support is added. Implementation-wise, I implemented the GIF loader similarly to static image loader in Godot. If we add APNG support as well, It means that Due to this, it makes me think that whether it would be reasonable to move |
It may be |
I don't seem to have problem in the editor, but I have trouble playing it in the game. It doesn't load before the animation must play and starts to play when the animation is about to end causing tons of headache for me, also if I add a gif to a node, it seems to be have issues like having slow start up and other stuff. |
I was looking at this and it might be easier and more worthwhile to implement animated webp support instead. Godot libwebp already has the ability to read animated webp. All you would need to do is add it into load_image function in the webp module and turn it into an AnimatedTexture resource if there are frames in the image. Pretty much the functionality and importing is already there it just needs to be added to one function. |
Describe the problem you are having in your project
Summary:
Detail:
Describe the feature and how it helps to overcome the problem
As I said earlier, this is a XY problem, so there are two choices.
Adding APNG support is best solution to this problem, but you could choose 1 and improve the OGV support for mobiles.
Describe how your proposal will work, with code, pseudo-code, mockups, and/or diagrams
I am yet to think about it, but it will work the same way as GIF but a little better.
Is the feature helps to resolve performance-critical tasks?
No.
Is the feature exposes existing functionality in Godot?
No.
What alternatives have you considered before?
Using GIF, but since it's old and doesn't support transparency and other things that I need. I'm looking for APNG as an alternative.
Is there a reason why this should be in Goost and not in Godot?
Links to some Godot Proposals:
godotengine/godot-proposals#475
godotengine/godot-proposals#3083
The text was updated successfully, but these errors were encountered: