How to keep an image on the screen for some time?

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
Alphonse
Regular
Posts: 105
Joined: Tue Aug 26, 2008 7:32 pm
Contact:

How to keep an image on the screen for some time?

#1 Post by Alphonse »

Hello! I'm very new to Ren'Py, so I have a question to ask. I hope it's not a stupid question. Is there any way to keep an image in the screen for a certain period of time before it changes or disappears on its own? Thanks!

Dusty
Regular
Posts: 126
Joined: Fri Jul 25, 2008 11:51 pm
Contact:

Re: How to keep an image on the screen for some time?

#2 Post by Dusty »

Maybe something like

Code: Select all

show my_image first_pose at some_position #shows the image
$ renpy.pause(1) #pauses the game
show my_image second_pose at some_position #changes the image
if you want to pause the game for a bit before changing the image.

Nio
Regular
Posts: 160
Joined: Mon Jan 03, 2005 4:37 am
Projects: ??????
Location: In his own little world.
Contact:

Re: How to keep an image on the screen for some time?

#3 Post by Nio »

I use this for splash screens:

Code: Select all

     scene logo
     with dissolve
     with Pause(3.0)
The logo image (fullscreen) shows up with a dissolve and stays there for 3 seconds.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Majestic-12 [Bot], Verum