Timed Descisions in Ren'Py?
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.
Timed Descisions in Ren'Py?
I'm still in the writing stage for a VN game I'm working on, but I had a quick question regarding the Ren'Py Engine.
I wanted my game to have heavier emphasis on making tough decisions, similarly to Telltale's "The Walking Dead". In that game the player is sometimes given only a few seconds to make a decision, or else the game decides on a third choice for them. This helps to create tension during the really intense moments of the story.
Since I'm working with the Ren'Py engine, I was wondering if something like this is doable in it; Can you give the player a choice with a time limit?
I wanted my game to have heavier emphasis on making tough decisions, similarly to Telltale's "The Walking Dead". In that game the player is sometimes given only a few seconds to make a decision, or else the game decides on a third choice for them. This helps to create tension during the really intense moments of the story.
Since I'm working with the Ren'Py engine, I was wondering if something like this is doable in it; Can you give the player a choice with a time limit?
Feeling much better lately!
Now working on: "Nekomimi in Boots"
Finished Games: "A Date with Markiplier: The Game"
Now working on: "Nekomimi in Boots"
Finished Games: "A Date with Markiplier: The Game"
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: Timed Descisions in Ren'Py?
You certainly can. You might want to look at the Tutorial game that comes with Ren'py. There as a timer in that tutorial you can look as a starting place.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?) Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
- Googaboga
- Eileen-Class Veteran
- Posts: 1395
- Joined: Wed Dec 12, 2012 1:37 pm
- Completed: https://gbpatch.itch.io/
- Projects: Floret Bond, XOXO Blood Droplets, Our Life
- Organization: GB Patch Games
- Tumblr: gb-patch
- itch: gbpatch
- Contact:
Re: Timed Descisions in Ren'Py?
If you want, here's a code I used to make timed choices;
This example only has one choice, but you can add more menu options if you want.
Also, a newer version of Ren'Py has been released since I used that, I'm not sure if things have changed.
Code: Select all
$ ui.timer(1.0, ui.jumps("menu3_slow")) ##what you put in the parentheses is the label it goes to if you don't click fast enough. The 1.0 is how much time you have to click
menu:
"Move!":
hide countdown
p 'I run away.'
'................'
jump moveyes
label menu3_slow:
hide countdown
p 'Oh no, I'm hit!'
jump hurtAlso, a newer version of Ren'Py has been released since I used that, I'm not sure if things have changed.
In-Progress:
Floret Bond, XOXO Blood Droplets, Our Life
Released:
A Foretold Affair, My Magical Divorce Bureau, XOXO Droplets, Lake of Voices
Floret Bond, XOXO Blood Droplets, Our Life
Released:
A Foretold Affair, My Magical Divorce Bureau, XOXO Droplets, Lake of Voices
Re: Timed Descisions in Ren'Py?
Awesome, thanks for the responses. Good to know it's possible.
Feeling much better lately!
Now working on: "Nekomimi in Boots"
Finished Games: "A Date with Markiplier: The Game"
Now working on: "Nekomimi in Boots"
Finished Games: "A Date with Markiplier: The Game"
Who is online
Users browsing this forum: No registered users
