Using an ATL Animation multiple times? (Solved)

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
verysunshine
Veteran
Posts: 339
Joined: Wed Sep 24, 2014 5:03 pm
Organization: Wild Rose Interactive
Contact:

Using an ATL Animation multiple times? (Solved)

#1 Post by verysunshine »

I have an ATL animation that I would like to reuse with different images. I've defined it at the top of my project (just after the start label) like this:

Code: Select all

    transform anim:
        zoom 1.0
        alpha 0.0
        
        easein_quint 1.5 zoom 1.5 alpha 1.0
        pause 0.5
        easeout_back 1.5 zoom 0.5 alpha 0.0
What do I put where the question marks are? It's not "with".

Code: Select all

show text "How many letters can I fit on here?" at topright onlayer overlay ??? anim #35 characters
Last edited by verysunshine on Mon Nov 16, 2020 7:53 pm, edited 1 time in total.

Build the basics first, then add all the fun bits.

Please check out my games on my itch.io page!

User avatar
Remix
Eileen-Class Veteran
Posts: 1628
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I'm still looking for an artist)
Projects: An un-named anime based trainer game
Contact:

Re: Using an ATL Animation multiple times?

#2 Post by Remix »

at topright, anim onlayer overlay
Frameworks & Scriptlets:

verysunshine
Veteran
Posts: 339
Joined: Wed Sep 24, 2014 5:03 pm
Organization: Wild Rose Interactive
Contact:

Re: Using an ATL Animation multiple times?

#3 Post by verysunshine »

Code: Select all

show text "How many letters can I fit on here?" at topright, anim, onlayer overlay
Thanks!

Build the basics first, then add all the fun bits.

Please check out my games on my itch.io page!

Post Reply

Who is online

Users browsing this forum: No registered users