Holding of images without textbox
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.
Holding of images without textbox
Hello again!
I've looked around and I'm not too sure if this was covered but-
I'm wondering if you can hold an image for as long as you want without the text window coming up. You know how sometimes when a picture cg comes up, it pauses for a few moments before going to the next cg/all the character sprites and junk shows up.
Also, can you specify different speeds for functions like dissolve? Or when you sent a certain speed, it's universal.
Oh yeah, I want to end the game with just an image instead of you clicking something x_x Like maybe "thankyou for playing" image pops up for a few moments before returning you to the title screen o.o
Thankyou ^^b
(sorry to bother you all, I'm trying my best to learn the language ^^ It's hard ;o;)
I've looked around and I'm not too sure if this was covered but-
I'm wondering if you can hold an image for as long as you want without the text window coming up. You know how sometimes when a picture cg comes up, it pauses for a few moments before going to the next cg/all the character sprites and junk shows up.
Also, can you specify different speeds for functions like dissolve? Or when you sent a certain speed, it's universal.
Oh yeah, I want to end the game with just an image instead of you clicking something x_x Like maybe "thankyou for playing" image pops up for a few moments before returning you to the title screen o.o
Thankyou ^^b
(sorry to bother you all, I'm trying my best to learn the language ^^ It's hard ;o;)
Re: Holding of images without textbox
Code: Select all
with Pause(2) # pauses for 2 seconds
# or...
$ renpy.Pause(2)
Code: Select all
with Dissolve(4) # dissolves in 4 seconds
Re: Holding of images without textbox
On the same topic, is there a way to make a click to continue on a scene instead of a dialogue line? (like a chapter scene)
Re: Holding of images without textbox
I think this should do it :
Put this after you display everything you need.
Code: Select all
$ ui.saybehavior()
$ ui.interact()
Re: Holding of images without textbox
So like..monele wrote:Just put that after some "show image with dissolve" and you're good to go.Code: Select all
with Pause(2) # pauses for 2 seconds # or... $ renpy.Pause(2)
Code: Select all
show cg 6 with dissolve with Pause(0.35)
same if I did
Code: Select all
show cg 6 with dissolve
$ renpy.Pause(2)
"AttributeError: 'module' object has no attribute 'Pause'"
Thanks so much ^^!
You're great help ^^
(eep, sorry for another question, now when I quit my game, an error occurs and it says something about the renpy.exe file x_x)
Re: Holding of images without textbox
The "with pause" has to be on a new line. Only one "with" statement per line .
It's like saying :
Show me this image with a dissolve transition
THEN
make a Pause transition
It's like saying :
Show me this image with a dissolve transition
THEN
make a Pause transition
Re: Holding of images without textbox
Ooooohh thanks so much!!!
One problem with that is when I click, it skips the pictures!
Is there a way to disable the click during those scenes?
I'm having the pictures flash along with the bgm.. so clicking the screen will cancel it X_X
Thanks so much! Such great help ;_;!
One problem with that is when I click, it skips the pictures!
Is there a way to disable the click during those scenes?
I'm having the pictures flash along with the bgm.. so clicking the screen will cancel it X_X
Thanks so much! Such great help ;_;!
Re: Holding of images without textbox
Oh sorry, the guest was me ><
-
- Eileen-Class Veteran
- Posts: 1265
- Joined: Fri Aug 31, 2007 7:02 am
- Projects: 0 completed game. Still haven't made any meaningfully completed games...
- Contact:
Re: Holding of images without textbox
Well you can try this...
<insert code for all the animation here>
$ ui.textbutton('Skip', clicked=ui.returns('Skip'))
$ ui.pausebehavior( <number of seconds of delay>, result="Skip")
$ ui.interact()
<insert code after animation>
The textbutton is just a suggestion since personally I don't like being forced to watch animation.
<insert code for all the animation here>
$ ui.textbutton('Skip', clicked=ui.returns('Skip'))
$ ui.pausebehavior( <number of seconds of delay>, result="Skip")
$ ui.interact()
<insert code after animation>
The textbutton is just a suggestion since personally I don't like being forced to watch animation.
I suspect somebody is stealing my internet identity so don't believe everything I tell you via messages. I don't post or send messages anymore so don't believe anything I tell you via messages or posts.
Who is online
Users browsing this forum: chesarty