best code solution for dealing with subplot lines

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
shiza
Regular
Posts: 29
Joined: Wed Jun 14, 2017 12:36 pm
Contact:

best code solution for dealing with subplot lines

#1 Post by shiza »

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?

User avatar
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

#2 Post by Milkymalk »

Sounds fine to me.
Crappy White Wings (currently quite inactive)
Working on: KANPEKI!
(On Hold: New Eden, Imperial Sea, Pure Light)

Post Reply

Who is online

Users browsing this forum: Google [Bot], Karrion, Majestic-12 [Bot]