pausing hard in a transform?

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
newbiemate
Regular
Posts: 85
Joined: Tue Dec 19, 2017 1:36 pm
Contact:

pausing hard in a transform?

#1 Post by newbiemate »

In a transform block, how can I pause hard?

Code: Select all

transform myts:
    linear 0.3 xpos 39 ypos 800
    pause 1.0            # pause hard True ?
    linear 0.3 xpos 39 ypos 200
    pause 1.0            # pause hard True ?

label myl:
    show image "images/a.png" at myts
How can I pause hard=True in the transform above?

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: pausing hard in a transform?

#2 Post by isobellesophia »

Code: Select all

label myl:
    show image "images/a.png" at myts

    $ renpy.pause (anynumber.0, hard=True)
I am a friendly user, please respect and have a good day.


Image

Image


newbiemate
Regular
Posts: 85
Joined: Tue Dec 19, 2017 1:36 pm
Contact:

Re: pausing hard in a transform?

#3 Post by newbiemate »

That will pause after the transform has run. I was wondering how to pause hard inside the transform, so that the player cannot skip the animation when they click the mouse.

Any ideas?

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: pausing hard in a transform?

#4 Post by isobellesophia »

Code: Select all

label myl: 
    show image "images/a.png" at myts with Pause(2.0, hard=true)
    
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: pausing hard in a transform?

#5 Post by isobellesophia »

newbiemate wrote: Sun Mar 24, 2019 4:57 pm That will pause after the transform has run. I was wondering how to pause hard inside the transform, so that the player cannot skip the animation when they click the mouse.

Any ideas?

Code: Select all

label myl: 
    show image "images/a.png" at myts with Pause(2.0, hard=true) 
I am a friendly user, please respect and have a good day.


Image

Image


Post Reply

Who is online

Users browsing this forum: No registered users