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?
Using animated webp
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- Ocelot
- Lemma-Class Veteran
- Posts: 2402
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Using animated webp
No, there is a limited selection of formats supported by RenPy:
Images:
Images:
Video: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.
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.)
< < insert Rick Cook quote here > >
Re: Using animated webp
So in layman's terms: No animated pictures can work with Ren'py, no matter the format. Is that correct?
- Ocelot
- Lemma-Class Veteran
- Posts: 2402
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Using animated webp
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.
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.
< < insert Rick Cook quote here > >
Re: Using animated webp
The latter won't work on Android, right?
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Using animated webp
Not as sprites or backgrounds, but will work if it takes the entire screen (with nothing else shown)
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Who is online
Users browsing this forum: Google [Bot], Ocelot