so i need a transform to be placed within "atlist" in renpy.show. can i declare it within a python block?
something with linear/ease movement and parallel would be nice too. Thanks ^^
[answered] python equivalent to define a transform?
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.
[answered] python equivalent to define a transform?
Last edited by SONTSE on Fri Oct 03, 2014 5:59 pm, edited 1 time in total.
Look! It's moving. It's alive. It's alive... IT'S ALIVE! Oh, in the name of God! Now I know what it feels like to be God!(@Henry_Frankenstein. Sums up my coding style)
- 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: what is a python equivalent to declare a transform?
There are a couple of answers to this. The first is to point out that ATL transforms can take parameters, so you could always used a parameterized ATL transform.Lena_Borodach wrote:so i need a transform to be placed within "atlist" in renpy.show. can i declare it within a python block?
something with linear/ease movement and parallel would be nice too. Thanks ^^
Code: Select all
transform moveto(new_align=0.5, delay=1.0):
linear delay xalign 0.5
$ renpy.show("eileen happy", at_list=[ moveto(0.75, 2.0) ])
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
Re: [answered] python equivalent to define a transform?
I think i got the picture now. Thank you PyTom! =)
Look! It's moving. It's alive. It's alive... IT'S ALIVE! Oh, in the name of God! Now I know what it feels like to be God!(@Henry_Frankenstein. Sums up my coding style)
Who is online
Users browsing this forum: Google [Bot]