Ok so my VN takes place in a define area that the player can explore freely through a imagemap and it has sub plotlines that are character relationship based. my concern is how to handle subplot lines as cleanly as possible.
My solution so far is by making each of the imagemap's jump commands to an event handling label that's design specifically for that location.
Then that given label will check stats and flags and decide on what event will be triggered.
Is this a decent method or is there a better approach?
best code solution for dealing with subplot lines
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.
- Milkymalk
- Miko-Class Veteran
- Posts: 753
- Joined: Wed Nov 23, 2011 5:30 pm
- Completed: Don't Look (AGS game)
- Projects: KANPEKI! ★Perfect Play★
- Organization: Crappy White Wings
- Location: Germany
- Contact:
Re: best code solution for dealing with subplot lines
Sounds fine to me.
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)
Who is online
Users browsing this forum: Google [Bot], Karrion, Majestic-12 [Bot]