Timed Conversations

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
MisterHarold
Regular
Posts: 51
Joined: Tue Jul 17, 2018 10:32 am
Location: Philippines
Contact:

Timed Conversations

#1 Post by MisterHarold »

Hello, I want to implement a limited amount of time for my characters to interact. For example, my two characters will have a conversation during lunch and when the time runs out it will jump into a scene like "Oh. Class is starting. We should head back." Stopping their conversation, making you miss important details the character has to say if you take too long to read. How can I make that timer?

Thanks!

User avatar
Per K Grok
Miko-Class Veteran
Posts: 882
Joined: Fri May 18, 2018 1:02 am
Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
itch: per-k-grok
Location: Sverige
Contact:

Re: Timed Conversations

#2 Post by Per K Grok »

MisterHarold wrote: Wed Jul 15, 2020 10:45 pm Hello, I want to implement a limited amount of time for my characters to interact. For example, my two characters will have a conversation during lunch and when the time runs out it will jump into a scene like "Oh. Class is starting. We should head back." Stopping their conversation, making you miss important details the character has to say if you take too long to read. How can I make that timer?

Thanks!

Code: Select all

screen timeup():
    timer 180.0 action Jump("Next")
After 180 seconds the game will jump to label Next.

User avatar
Remix
Eileen-Class Veteran
Posts: 1628
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I'm still looking for an artist)
Projects: An un-named anime based trainer game
Contact:

Re: Timed Conversations

#3 Post by Remix »

That is a horrible story mechanic...

What about people who get a phone call part way through?
What about people using text-to-speech slowly?
What about people who just want to enjoy the story casually?

You are basically saying your players must do things your way or ruin the game...
Frameworks & Scriptlets:

MisterHarold
Regular
Posts: 51
Joined: Tue Jul 17, 2018 10:32 am
Location: Philippines
Contact:

Re: Timed Conversations

#4 Post by MisterHarold »

Remix wrote: Thu Jul 16, 2020 6:39 am That is a horrible story mechanic...

What about people who get a phone call part way through?
What about people using text-to-speech slowly?
What about people who just want to enjoy the story casually?

You are basically saying your players must do things your way or ruin the game...
Nope, I just want to put time on my VN and I'll only put it on a certain part of the game which is lunch time, not the whole game. Plus, I'd notify them first that lunch has a certain time limit

Post Reply

Who is online

Users browsing this forum: No registered users