Page 1 of 1
Using animated webp
Posted: Fri Dec 29, 2017 8:26 am
by goldo
Hi!
I'm afraid I already know the answer to this question, having failed at all my attempts, but here goes: can Ren'py display animated .webp files?
I was hoping for a way around animated gifs not working in ren'py, without resorting to ATL...
I have tried to use an animated .webp either as an image or a movie with no success. As an image, I get a 'failed to decode webp' error. As a movie, I get a freeze then CTD.
Is there a way to make it work?
Re: Using animated webp
Posted: Fri Dec 29, 2017 11:23 am
by Ocelot
No, there is a limited selection of formats supported by RenPy:
Images:
There are three image file formats we recommend you use:
Webp
Png
Jpg
Non-animated Gif and Bmp files are also supported, but should not be used in modern games.
Video:
Ren'Py is capable of using libav (included) to play movies using the video codecs:
VP9
VP8
Theora
MPEG 4 part 2 (including Xvid and DivX)
MPEG 2
MPEG 1
and the following audio codecs:
OPUS
Vorbis
MP3
MP2
PCM
inside the following container formats:
WebM
Matroska
Ogg
Avi
Various kinds of MPEG stream.
(Note that using some of these formats may require patent licenses. When in doubt, and especially for commercial games, we recommend using VP9, VP8, or Theora, Opus or Vorbis, and WebM, Matroska, or Ogg.)
Re: Using animated webp
Posted: Sat Jan 06, 2018 9:44 am
by goldo
So in layman's terms: No animated pictures can work with Ren'py, no matter the format. Is that correct?
Re: Using animated webp
Posted: Sat Jan 06, 2018 10:21 am
by Ocelot
Yes, animated images are not supported.
You have a choice to use ATL with individual frames to make an animation, or to convert animated image to video and use movie sprites.
Re: Using animated webp
Posted: Sat Jan 06, 2018 2:43 pm
by Apa
The latter won't work on Android, right?

Re: Using animated webp
Posted: Sun Jan 07, 2018 8:19 pm
by Imperf3kt
Not as sprites or backgrounds, but will work if it takes the entire screen (with nothing else shown)