Search the Community
Showing results for tags 'family tree'.
-
I would like to figure out if something is even possible, and if so, how I might do it... if not, is there another way in which I could possibly do this? I'll explain: I am creating a script (or trying to anyhow) that would allow people to create their own content, much like a story with multiple paths. I have only figured out the first part, creating the first page and adding options and links to new pages. User creates story title and brief description --> Story title saved to database, random link generator creates a random # from 1million to 9,999,999. Number is checked against another table that includes all links already generated, and creates a new temp random number if needed, until it finds a free number. That number becomes the first page of the story. On the bottom of each page, the user can create up to 4 choices for the reader to choose from. Each choice is saved in the database along with the page number it came from. So now we're up to 5 possible pages. The user may also choose to make a page a "The End" page, meaning there will be no more links from that page, end of story. HERE IS MY PROBLEM! I do not know how I could easily allow the user to keep track of where they are in their stories. What I mean is, if they start on page 1 and offer 4 choices, they will have to continue writing for each of the choices. As they continue adding pages, and more choices, it will become more and more difficult to remember which page has choices on it you haven't written content for yet. What I would like to do somehow is create a map maybe, so for each page they do, it will add to the map, much like a family tree, branching out until each page is an end page and has no more choices. They would also have to be color coded, so, for example, if they offer 3 choices, and haven't written the content for each choice, the box on the map showing that page would be red. If they have completed the next page for each choice, the box would be green. This way, they can quickly glance at the "map" and see Oh, there is a page with 1 or more choices on it, but I haven't written a new segment for at least 1 of them, I need to go back to this page and continue it. I really hope someone out there can make sense of what I am saying and tell me if there is any way to create a map, or a branch directory so to speak for their story. ANY suggestions would be helpful, as I'm at a complete loss now. Thank you in advance, and if this interests you at all but I'm not clear on something, please let me know and I'll try to explain better!