Can I use an animated image in a text?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
Nanahs
Veteran
Posts: 310
Joined: Wed Aug 22, 2018 5:50 pm
Contact:

Can I use an animated image in a text?

#1 Post by Nanahs »

I already know how to use a static image in a text. Like "See you later {image=smiley.png}", and the "smiley" picture on my folder will appear there.
But can I add animated ones? Like those in the forum -> :lol:
I tried, but it kept giving me an error message.
I converted a 100x100 animated gif to ".webm". And tried {image=smiley.webm}.
Then I tried another way, but it didn't work either.

Thanks xx

User avatar
Andredron
Miko-Class Veteran
Posts: 700
Joined: Thu Dec 28, 2017 2:37 pm
Location: Russia
Contact:

Re: Can I use an animated image in a text?

#2 Post by Andredron »

Animation

image fedya:
".....image.png" with dissolve
pause 2.0
".....image2.png" with dissolve

In text
"{image=fedya}"

Post Reply

Who is online

Users browsing this forum: Starberries