'Pause()' is not a Transition, as I have said, is a Class that returns a transition. The documentation says:
http://www.renpy.org/doc/html/transitions.html#Pause : Pause(delay). Returns a transition that only displays the new screen for delay seconds. It can be useful as part of a MultipleTransition.
If I understand correctly, you don't want to apply two transitions here but simply need a pause. You can do this:
Code: Select all
"Credits"
scene black with dissolve
show text "Example 1" with dissolve
pause 2.0
scene black with dissolve
show text "Example 2" with dissolve
pause 2.0
scene black with dissolve
"End Credits"
As Sundownkid says, the 'pause' statement is used in a new line.
That code does the same than this one (if you don't want to change the scene):
Code: Select all
"Credits"
scene black with dissolve
show text "Example 1" with dissolve
pause 2.0
hide text with dissolve
show text "Example 2" with dissolve
pause 2.0
hide text with dissolve
"End Credits"
If you want to force the user to wait the 2 seconds (I wouldn't do it, it's user-unfriendly!), you can use hard pauses:
Code: Select all
"Credits"
scene black with dissolve
show text "Example 1" with dissolve
$ renpy.pause(2.0, hard=True)
hide text with dissolve
show text "Example 2" with dissolve
$ renpy.pause(2.0, hard=True)
hide text with dissolve
"End Credits"