Help! Time progression based system with different menu item

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
ProxyPawaa
Newbie
Posts: 23
Joined: Sun Jan 16, 2011 5:43 pm
Contact:

Help! Time progression based system with different menu item

#1 Post by ProxyPawaa »

No idea how to fit what I'm trying to do in the title, but I tried. I'm creating a game with a story that progresses over time. The main story completes automatically at certain dates and times, and other times are spent with other characters or completing tasks. The idea is that the story will have events with different characters as you spend time with them, changing a little bit from month to month as the overall plot changes. These events would change depending on how much time was spent in previous months and ect.

Naturally, how you spend your time will alter what choices are available. I'm already pretty rusty with variable check statements, so if anyone could help me brush up on those I'd be really grateful but.... for more experienced coders, how would you handle this?

If the menu was always going to be the same that'd be easier, but the menu would change depending on your actions. Otherwise it'd be easy to just have a loop at the end of a menu choice that checks where you are within that choice and deposits you where you need to be, but having to have that loop at the start of it to send you to different menus depending on what choices are available..... is there a way to check if a menu item needs to exist?

Yeah, sounds like a really rough way to do it, but with my expertise as it is, that's all I can imagine. At the moment I am only working on a prologue section but very soon I'll be at the point where the player character will have more freedom with his actions. Any tips?

User avatar
Kia
Eileen-Class Veteran
Posts: 1040
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: Help! Time progression based system with different menu

#2 Post by Kia »

do you have a game clock?
I got a clock that ticks no matter what's going on. this helps me with day/night actions and much more. don't let player stay idle around force a time table on him.

Post Reply

Who is online

Users browsing this forum: No registered users