Skip function - characters don't appear anymore

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
Bren
Newbie
Posts: 18
Joined: Mon Aug 24, 2020 5:34 am
Completed: Game of Love
Contact:

Skip function - characters don't appear anymore

#1 Post by Bren » Sun Feb 13, 2022 3:01 pm

Hi guys,

I encountered a rather odd issue with the skip function => when using it, characters called after a custom "appear" function don't show up - they properly do if I just play the game normally though (i.e. without using skip function).

Code: Select all

    transform appearf(x, y, t):
        alpha 0.0
        xalign x yalign y
        linear t alpha 1.0   #Dissolve


    show eileen 1 at appearf(0.7, 1.0, 0.15)
    show jessica 1 at appearf(0.3, 1.0, 0.15)

With this code, when I use the skip function, Eileen shows up but Jessica never does.

I believe the issue is related to the linear function applied to alpha => if I remove the time-related function linear (by just calling alpha 1.0), Jessica finally appears even with skip function. But then I lose the nice dissolve effect...

Would any of you guys know how I could "force" the skip function to handle the linear function for both "appearf" calls, and not just the first one?

Many thanks!
Completed games - Game of Love

Image

Post Reply

Who is online

Users browsing this forum: No registered users