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.
ATL and Screen Language
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.
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.
- OdysseyStudio
- Regular
- Posts: 94
- Joined: Wed Oct 20, 2010 12:34 am
- Location: Spokane, WA
- Contact:
ATL and 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
--Paul Strand
- 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
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(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
- OdysseyStudio
- Regular
- Posts: 94
- Joined: Wed Oct 20, 2010 12:34 am
- Location: Spokane, WA
- Contact:
Re: ATL and Screen Language
so in other words like:
or
Is there a way to implement it inside the screen label?
p.s. sorry, I put this in the wrong form section ^^'
Code: Select all
transform whatever:
#ATL Code here
...later...
label start:
show screen saybg at whatever
# some dialog...
hide screen saybg at whatever
return
Code: Select all
screen saybg:
# put ATL code somewhere in here
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
--Paul Strand
Who is online
Users browsing this forum: No registered users