How can I make image appear in the middle of the screen?
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.
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.
How can I make image appear in the middle of the screen?
I'm a newb at renpy and I want to display a picture of a painting in the middle of the screen. When I say show at center its underneath the dialogue box, I want to be above the dialogue box so the player can read and see the painting. Is there a command that will allow me to that?
- XxrenxX
- Veteran
- Posts: 267
- Joined: Tue Oct 02, 2012 2:40 am
- Projects: Chasing
- Deviantart: bara-ettie
- Location: Canada
- Contact:
Re: How can I make image appear in the middle of the screen?
Idk if there's a string to specifically show it above the window but there is a hide/show for it that I've used a few time.
You can raise the pause higher so it gives the player more time. If they click it will continue so they aren't forced to wait for that amount of time either.
You can raise the pause higher so it gives the player more time. If they click it will continue so they aren't forced to wait for that amount of time either.
Code: Select all
window hide #hide the dialogue box
show painting
pause 60.0 #time until dialogue reappears or ctc
window show
Re: How can I make image appear in the middle of the screen?
If I understand you correctly, I think you're looking for at truecenter rather than at center.
Re: How can I make image appear in the middle of the screen?
I think I will add this in later!XxrenxX wrote: ↑Mon Apr 08, 2019 10:22 pm Idk if there's a string to specifically show it above the window but there is a hide/show for it that I've used a few time.
You can raise the pause higher so it gives the player more time. If they click it will continue so they aren't forced to wait for that amount of time either.
Code: Select all
window hide #hide the dialogue box show painting pause 60.0 #time until dialogue reappears or ctc window show
Thank you!
Who is online
Users browsing this forum: Google [Bot]