Using ATL on a Call screen

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
Mirrodin
Regular
Posts: 90
Joined: Sun Mar 19, 2017 2:56 pm
Contact:

Using ATL on a Call screen

#1 Post by Mirrodin » Tue Mar 20, 2018 10:39 am

Hi guys,

I ask this simple question because I absolutly don't know how doing that.
For me, ATL work with show statement wich work only in label.

Is there a way to implement that on a call screen statement ?

DannX
Regular
Posts: 57
Joined: Mon Mar 12, 2018 11:15 am
Contact:

Re: Using ATL on a Call screen

#2 Post by DannX » Tue Mar 20, 2018 11:30 am

Not directly on the screen, but rather in the displayables themselves, you can use at statement the same way you use them in labels.

Code: Select all

transform my_transform:
    alpha 0
    linear .5 alpha 1
    
screen test():

    text "I can use ATL" at my_transform
    
    vbox:
         xpos .5
         at my_transform
         text "Text 1"
         text "Hello world"

Post Reply

Who is online

Users browsing this forum: No registered users