Ren'Py Alternative to GIF

Little Dove Devil

New Member
Jul 4, 2022
8
14
Hey!

As we well know ren'py does not support gifs. my question is if there is any alternative for this, besides converting to e.g. AVI?
 

GamesMtP

Well-Known Member
Game Developer
Jul 2, 2017
1,268
3,369
Webm or mp4 are probably the best ones for quality+compression. But maybe you include those in your e.g. If so, I'm curious as to why? How do you produce these gifs that you don't want as gifs?
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,964
16,211
As we well know ren'py does not support gifs. my question is if there is any alternative for this, besides converting to e.g. AVI?
Since you talk about GIF, I assume that it's for small (three/four frames) animations. Therefore the answer is (ATL in short).

Python:
image myAnim:
    "frame1.png"
    pause 0.2
    "frame2.png"
    pause 0.2
    "frame3.png"
    pause 0.2
    "frame4.png"
    pause 0.2
    repeat

label whatever:
    show myAnim
    [...]

label whateverElse:
    scene myAnim
    [...]

screen whatever:
    imagebutton idle "myAnim" action NullAction()
 

Little Dove Devil

New Member
Jul 4, 2022
8
14
Since you talk about GIF, I assume that it's for small (three/four frames) animations. Therefore the answer is (ATL in short).

Python:
image myAnim:
    "frame1.png"
    pause 0.2
    "frame2.png"
    pause 0.2
    "frame3.png"
    pause 0.2
    "frame4.png"
    pause 0.2
    repeat

label whatever:
    show myAnim
    [...]

label whateverElse:
    scene myAnim
    [...]

screen whatever:
    imagebutton idle "myAnim" action NullAction()
Thanks, something like this I needed!