[solved]How to use contains statement in function transform property?

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
akakyouryuu
Regular
Posts: 162
Joined: Fri Nov 30, 2012 10:29 am
Contact:

[solved]How to use contains statement in function transform property?

#1 Post by akakyouryuu »

How to use contains statement in function transform property?
I used the below code. "sylvie green normal" is shown, but animation of test doesn't work.

Code: Select all

image test:
    "sylvie green normal"
    xpos 0.
    linear 3 xpos 1.0
    repeat

def test_func(tran, st, at):
    box = Fixed()
    box.add(renpy.easy.displayable("test"))
    tran.set_child(box)

show expression Transform(function=test_func)


Post Reply

Who is online

Users browsing this forum: Google [Bot]