ATL and Screen Language

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
OdysseyStudio
Regular
Posts: 94
Joined: Wed Oct 20, 2010 12:34 am
Location: Spokane, WA
Contact:

ATL and Screen Language

#1 Post by OdysseyStudio » Fri Jan 14, 2011 12:48 pm

How would you use ATL code in Screen Language?
Reason is that I'm trying to find a work around to do animation of when you want the say screen background to show or hide with an animation or transition. I know there is one in the cookbook but it dosen't use ATL code nor can i figure it out cause I'm a novice programmer, plus I want it under screen language so it can be easily customize like any other part Ren Py' with screen Language.
The artist's world is limitless. It can be found anywhere, far from where he lives or a few feet away. It is always on his doorstep.
--Paul Strand

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: ATL and Screen Language

#2 Post by PyTom » Fri Jan 14, 2011 1:16 pm

You create an ATL transform, and then use "at" to apply it to a screen language widget.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
OdysseyStudio
Regular
Posts: 94
Joined: Wed Oct 20, 2010 12:34 am
Location: Spokane, WA
Contact:

Re: ATL and Screen Language

#3 Post by OdysseyStudio » Fri Jan 14, 2011 3:28 pm

so in other words like:

Code: Select all

transform whatever:
    #ATL Code here

...later...

label start:
    show screen saybg at whatever

   # some dialog...

    hide screen saybg at whatever
return
or

Code: Select all

screen saybg:

# put ATL code somewhere in here 

Is there a way to implement it inside the screen label?

p.s. sorry, I put this in the wrong form section ^^'
The artist's world is limitless. It can be found anywhere, far from where he lives or a few feet away. It is always on his doorstep.
--Paul Strand

Post Reply

Who is online

Users browsing this forum: No registered users