Dear all,
I would like to play a simple animation before the game stars that shows 3-2-1-Go on top of the game view.
I have prepared a sequence of PNGs with transparent background with a third party editor, and then I made a webm video with ffmpeg:
ffmpeg -i start_0%03d.png -b:v 800k start.webm
That is the result: https://www.dropbox.com/s/mdj98jr2ynarqa5/start.webm?dl=0
It plays correctly in VLC with a black background, or in Chrome with any backgound-color CSS value.
The problem with Godot is that the VideoPlayer node can't reproduce it. I only get a black rectangle. Are WebM files with alpha supported by the engine?
Anyway, how do you usually solve this problem? I could also use an AnimatedSprite node with the original PNG sequence, even if it seems to me that a VideoPlayer node is more appropriate. What is the best practice for thees kind of animations or effects?
Thanks in advance.