Can I get a transform from last ATL block?

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
SONTSE
Regular
Posts: 96
Joined: Sun Nov 24, 2013 10:49 pm
Completed: 11 VN's so far
Discord: jkx0282_10798
Contact:

Can I get a transform from last ATL block?

#1 Post by SONTSE »

Let's say i placed an image with some arbitrary ATL block:

Code: Select all

    show eileen:
        subpixel True
        anchor (.5,.5)
        pos (100,.0)
        ease 6.5 xpos 400 zoom 1.2 rotate 10
        ease 6.5 xpos 100 zoom 1.0 rotate 0
        repeat
is there any way to grab this block as a transform and then apply it to another image like

Code: Select all

    show eileen_shadow at ??same_transform_as_above??
or, to be more specific

Code: Select all

   show expression AlphaMask('shadowmap',At('eileen',??same_transform_as_above??))
thanks!

Post Reply

Who is online

Users browsing this forum: henne, Ocelot