Page 1 of 1

ATL and Screen Language

Posted: Fri Jan 14, 2011 12:48 pm
by OdysseyStudio
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.

Re: ATL and Screen Language

Posted: Fri Jan 14, 2011 1:16 pm
by PyTom
You create an ATL transform, and then use "at" to apply it to a screen language widget.

Re: ATL and Screen Language

Posted: Fri Jan 14, 2011 3:28 pm
by OdysseyStudio
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 ^^'