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.
-
Gear
- Miko-Class Veteran
- Posts: 764
- Joined: Tue Apr 05, 2011 10:15 pm
- Projects: Tempestus Sum
- Organization: Xenokos Interactive
- IRC Nick: Gear
- Skype: Skye.Gear
- Location: Grand Prairie, TX
-
Contact:
#1
Post
by Gear » Tue Apr 05, 2011 10:45 pm
Code: Select all
Lthinkslow "...{w=1}........{w=1}............."
$ renpy.pause(7, hard=True)
K "Well?!"
L "Would you calm down?! My phone needs to be rebooted."
I'm having a problem with the hard pause code. In the way it's listed above, it pauses after you click, meaning if the "..." quote goes forward, and THEN the person clicks, they have to wait an additional 7 seconds before the game will advance. I want to simply disable clicking during the "..." line. I can't put the python code on the same line, so what do I do?
Last edited by
Gear on Mon Apr 11, 2011 1:10 am, edited 1 time in total.
The best reason to get up in the morning is to outdo yourself: to do it better than you've ever done it before. But if you haven't done it better by nightfall... look at your globe and pick a spot: it's always morning somewhere.
-
Alex
- Lemma-Class Veteran
- Posts: 2981
- Joined: Fri Dec 11, 2009 5:25 pm
-
Contact:
#2
Post
by Alex » Wed Apr 06, 2011 12:23 pm
Code: Select all
Lthinkslow "...{w=1}........{w=1}.............{w=7}{nw}"
K "Well?!"
L "Would you calm down?! My phone needs to be rebooted."
{nw}tag forces Ren'py to advance to next line.
If I understood correct, you want all that "......"s to be shown for 7 sec, and after that (or if player clicks) next line should be shown.
http://www.renpy.org/wiki/renpy/doc/ref ... #Text_Tags
-
Gear
- Miko-Class Veteran
- Posts: 764
- Joined: Tue Apr 05, 2011 10:15 pm
- Projects: Tempestus Sum
- Organization: Xenokos Interactive
- IRC Nick: Gear
- Skype: Skye.Gear
- Location: Grand Prairie, TX
-
Contact:
#3
Post
by Gear » Thu Apr 07, 2011 2:54 pm
The NW tag worked like a charm, thank you, but I didn't see what you were pointing at in the page link.
The best reason to get up in the morning is to outdo yourself: to do it better than you've ever done it before. But if you haven't done it better by nightfall... look at your globe and pick a spot: it's always morning somewhere.
-
Alex
- Lemma-Class Veteran
- Posts: 2981
- Joined: Fri Dec 11, 2009 5:25 pm
-
Contact:
#4
Post
by Alex » Thu Apr 07, 2011 2:58 pm
what you were pointing at in the page link
Mmm... text tags descriptions ({nw}tag is one of them).
-
Gear
- Miko-Class Veteran
- Posts: 764
- Joined: Tue Apr 05, 2011 10:15 pm
- Projects: Tempestus Sum
- Organization: Xenokos Interactive
- IRC Nick: Gear
- Skype: Skye.Gear
- Location: Grand Prairie, TX
-
Contact:
#5
Post
by Gear » Thu Apr 07, 2011 4:16 pm
Oh. I thought it was in reference to the hard pause.
My problem with the hard pause is that I don't actually want the game to pause for seven seconds, I just want to disable clicking for seven seconds, while the text continues to run.
The best reason to get up in the morning is to outdo yourself: to do it better than you've ever done it before. But if you haven't done it better by nightfall... look at your globe and pick a spot: it's always morning somewhere.
Users browsing this forum: Bing [Bot], Google [Bot], zyric