The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates.

godotengine.org | Twitter

0 votes

Hey guys;
So I wanted to use a high res animation that is 20 seconds long with a transparent background (overlayed over some other dynamic background). I used a PNG sequence, but the animation is 150Mb, which converting them to webm becomes a mere 3Mb.
So not wanting to have a 150Mb large executable just because of a 20 second animation, what is the best solution for this?

Godot version 3.2.3
in Engine by (22 points)

1 Answer

+1 vote
Best answer

Since Godot doesn't support transparent WebM, your two options are:

  • Lossy WebP image sequence (reimport the image with the Lossy compression mode in the Import dock).
  • WebM or Theora video a green/black background and a chroma keying shader. Note that video playback in Godot has many bugs which won't be fixed until 4.0 at least, so going with WebP may be a better idea.
by (12,878 points)
selected by

That sounds perfect, so I converted the image sequence to a webp animation, which now is 7Mb so I am happy with that.
But importing it to Godot shows me this enter image description here
And it cannot be dragged to the viewport. So what should I do with the webp now?

Importing webP animation

I now go that you meant an image sequence in the format webP, bot webP as an animation since it is not supported in Godot.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.