Diffrence between Pause(), pause and renpy.pause()

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
mitoky
Veteran
Posts: 316
Joined: Sat Feb 07, 2015 9:12 pm
Projects: The Purring Demon's Love, circus eterie
Contact:

Diffrence between Pause(), pause and renpy.pause()

#1 Post by mitoky »

Hello!

I was wondering if anyone could explain to me what exactly the diffrence between

Code: Select all

Pause()
pause
renpy.pause()
is as i am a little unsure when to use which and what exactly the diffrence is.
I have read in the docs but i dont quiet grasp it yet.


Sorry for the trouble and thank you for the help!

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2401
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Diffrence between Pause(), pause and renpy.pause()

#2 Post by Ocelot »

  • Pause(): is not a pause like other two. It is a Transition: an effect applied to scene change. This one just shows new screen for some time. Not terribly useful by itself, but can be handi in case of sequencing several scene changes in a row.
  • pause: can be used directly in RenPy script. Easy to use.
  • renpy.pause(): a Python function. can be used where pause cannot and cannot be used where pause can. Allows for some additional functionality like hard pauses
Last edited by Ocelot on Thu Apr 19, 2018 1:04 am, edited 1 time in total.
< < insert Rick Cook quote here > >

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3792
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Diffrence between Pause(), pause and renpy.pause()

#3 Post by Imperf3kt »

Ocelot wrote: Thu Apr 19, 2018 12:24 am
  • Pause(): Doesn't exist
It does according to the documentation
https://www.renpy.org/doc/html/transiti ... ause#Pause
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2401
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Diffrence between Pause(), pause and renpy.pause()

#4 Post by Ocelot »

Imperf3kt wrote: Thu Apr 19, 2018 12:59 am
Ocelot wrote: Thu Apr 19, 2018 12:24 am
  • Pause(): Doesn't exist
It does according to the documentation
https://www.renpy.org/doc/html/transiti ... ause#Pause
Oh, thanks. I didn't remember it and documentation search did not show it. Will amend post in a minute.
< < insert Rick Cook quote here > >

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot]