Writing for Video Games: "Branching Stories"
![]() |
Screenshot from Achromia's new branching story, Control. What will you choose? Available now on Google Play and itch.io. |
To celebrate the recent release of Achromia's two video games, OP9 and Control, which I had the pleasure of writing for, I'm excited to share this article on how to write your own video game scripts! Don't forget to check out their games on itch.io (for Windows, Mac, and Linux users) and Google Play (for Android users).
You could kill your character. Or you could save him.
You could let them kiss. Or you could make them hate each other.
Now imagine if you didn't have the choice. Not only do you not get to choose, you have to write both endings and let someone else choose! That is the essence of a branching story - a novels of sorts where the reader, not the author, makes the choices that determine the outcome of the story.
Chapter 7: Do you take the knife or leave it? If you don't take the knife, you won't be able to defend yourself in the next chapter and you'll die. If you do take it, you'll be able to defend yourself but will be badly wounded. Do you still have the gauze from Chapter 2? If not, you either find another alternative or you die.
You, as the poor author, have to write all these endings and make sure there are no discrepancies. I've learned first-hand how difficult this is after writing OP9, a 130,000 word branching story for Achromia Games. Yes, you read that right - 130,000 words, much longer than a typical paperback novel. Even choices that you make in the very beginning of the story can have effects hours of game play later, and somehow, you as the writer have to keep track of all the possibilities. How on Earth are you supposed to do this?
In this article, I'm going to assume you're writing a computer-based visual novel and that you know a few basic programming terms, which I'll define below:
- A variable is something you can set to a specific value - a number or true/false. For example, if you were presented with a choice such as, "Should I turn left or right?" I would record your answer by creating a variable called choose_left and assign it a value of either true (left) or false (right). Later on, when this choice became significant, I would provide two different alternatives: if choose_left was assigned true, you'd see one path. If it was assigned false, you'd see a different path.
- An else-if statement (abbreviated 'elif') is how I determine which path you follow in the story. For example, I could say something like:
- if choose_left == true: [insert path here]
- else: [insert path here]
- damien_meets_jordan indicates whether or not Damien ever meets Jordan. If he does, this variable is true. If he doesn't, this variable is false. If Damien meets Jordan, scene #1 will be included. If Damien doesn't meet Jordan, scene #1 will be left out.
In this example, if Damien meets Jordan, you give the player access to one additional scene. If he doesn't, the player never sees this scene and the game goes on without mention of Jordan.
A more complex example:
- damien_meets_jordan indicates whether or not Damien ever meets Jordan. If he does, this variable is true, and if he doesn't, it is false. If they meet, Jordan will be added to Damien's group which will change the entire script. If they don't meet, Jordan will not be added to Damien's group, but will instead become his enemy.
In this example, whether or not Damien meets Jordan determines the outcome of the entire story. The important thing to keep in mind here is that if Damien does meet Jordan, his story will be completely different than if he doesn't meet Jordan. Complex decisions like these can be the hardest to write because you literally write a different book for each choice the player makes. Typically, I don't recommend writing branching stories like this, unless you're willing to put in hundreds of hours to write each possible ending.
Branching stories should have a thread of consistency throughout. For example, you might write an adventure story about a girl with six teammates (the basic premise of OP9 by Achromia). At the end of the story, she could form a strong relationship with two of those six teammates. The other four relationships are already determined from the start of the story, although you can certainly tweak them to be better or worse depending on your choices. Other outcomes could include accidentally dying, failing to form strong bonds with any teammates, betraying the team, or failing the mission, but the basic premise of the story is already set. It's the outcome, not the story itself, which is determined by the player.
The hardest part about writing a branching story, whether on the computer or not, is keeping track of all the different paths. There's no substitute for having someone read through your work with a critical eye for inconsistencies. Even small continuity errors can totally ruin a branching story because they deprive the player of the ability to make rational decisions within the game. In addition, it's always a good idea to make some sort of chart. I did this in the Atom text editor, using different colors to keep track of all branches (which generally took the form of elif statements and were for some reason green). It's also possible to do this on paper in column or chart format. If you're not keen on writing out all the possible paths - which is extremely difficult and can be even more confusing - try the computer program Twine 2. It was developed as an engine to create HTML/JS text-based branching stories, but you can use it simply to keep track of the paths in a story you're writing elsewhere. Or, if you have a basic knowledge of programming (and/or HTML) and are willing to look up some tutorials, you can use it to create your very own branching story which you can publish online. Either way, it's an extremely useful tool to anyone interested in creating these stories.
The most important thing to remember when creating a branching story is this: make sure the reader is involved, but for your own sanity make sure the story has a base structure which can't be changed. Elaborate from there and leave as many details as you can in the reader's control. And always be sure that there's complete continuity throughout the story.
If you create any of these stories using Twine 2 or another engine, I'd love to check them out! Let me know about them in the comments below.
Wonderful blog! I found it while searching on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Cheers Game Android Offline
ReplyDeleteFurthermore, some people have boring speech patterns, and if they wrote the way they talked, they would also be boring. So a good writing voice isn't something that comes naturally, and it usually takes time to develop it.Resume Creator
ReplyDeleteWhen you use a genuine service, you will be able to provide instructions, share materials and choose the formatting style. dominoqq
ReplyDeleteI’m now not sure where you’re getting your information, however good topic. I needs to spend some time finding out more or working out more. Thank you for fantastic information I used to be on the lookout for this information for my mission. free slots
ReplyDeleteI just thought it may be an idea to post incase anyone else was having problems researching but I am a little unsure if I am allowed to put names and addresses on here. this content
ReplyDeleteI wrote about a similar issue, I give you the link to my site. Car Removals
ReplyDeleteI personally use them exclusively high-quality elements : you will notice these folks during: essay writing service
ReplyDeleteAttempt playing video games online. By playing characters that various other people command, you can much better develop excellent approaches that are effective around many different titles and platforms.안전놀이터
ReplyDeleteExcellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking.
ReplyDeletedaftar game terbaik
game pc
info olahraga
Versatile games are additionally utilized in numerous mod apk free limited time and promoting efforts wherein the client can mess around and even shop from their preferred product.
ReplyDeleteTook me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! GTA games Sex
ReplyDeleteVideo games can be found at https://gameschurch.com/. Apk Raid Shadow Legends is the best game here.
ReplyDelete- Guide for all Doom Eternal Collectible Locations (Secrets, Cheat Codes, Modbots, Sentinel Batteries, Toys, Slayer Gates, Keys & more). Doom Eternal Walkthrough
ReplyDeleteI am often to blogging i actually appreciate your site content. The content has truly peaks my interest. I’m going to bookmark your web blog and maintain checking for brand spanking new info. códigos de juegos
ReplyDeletePlayers can expand an assortment of details, for example, wellbeing, harm, mana recovery, development speed and numerous different details.how many people play LoL
ReplyDeleteWow. I never felt bored why Reading! Thanks and also Check out WWE 2K20 PC Download. It is awesome game!
ReplyDeleteI’ve been absent for some time, but now I remember why I used to love this web site. Thanks, I’ll try and check back more often. How frequently you update your site? summoners war codes
ReplyDeletevideo games for ps16
ReplyDeletevideogames
xbox games
3DS games
computer games
video games for ps16
videogames
xbox games
3DS games
computer games
video games for ps16
videogames
xbox games
3DS games
computer games
video games for ps16
videogames
xbox games
3DS games
computer games
video games for ps16
videogames
xbox games
3DS games
computer games
video games for ps16
videogames
xbox games
3DS games
computer games
computer games
ReplyDeletecomputer games
computer games
computer games
computer games
computer games
computer games
In games that show a male strong and smart, he will mostly likely be white, tall, thin, movie star looking and buff. You will rarely see him be a minority, short, chubby, not buff, nerdy looking, while still being strong and smart. You see this even LESS for females. 토토사이트
ReplyDeleteAgen Dominoqq Online yang ada saat ini, tidak hanya memberikan anda permainan yang seru saja melainkan dengan bonus yang akan anda dapatkan saat bergabung bersama dengan Ratubandarqq ini, misalnya seperti Bonus Referral yang bisa anda dapatkan seumur hidup. Selain itu kamu juga bisa menikmati pelayanan 24 jam non stop dari situs permainan online ini, dimana CS atau operator dari situs permainan ini akan setia membantu anda dan memberikan anda solusi untuk kendala dan permasalahan yang ada saat anda bermain. qq online
ReplyDeleteYou truly need to take a gander at the game's site to get all the appropriate data before purchasing. 홀덤
ReplyDeleteChoosing the best Central Processing Unit (CPU) for your gaming computer can be a hard decision to make. Picking the latest, fastest, or most expensive processor on the market won't always result in the right CPU for your particular system. navigate this post gaming profy
ReplyDeleteI do think this is a great site. I Multiplayerit ;) I'm going to revisit once again since i have saved as a favorite it. Money and freedom is the best way to change
ReplyDeleteIt's practically unthinkable not to purchase gaming PCs and begin playing this game! Free pc games
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteAdvanced games can be addictive for kids and make them actually inert. Advanced games, other than long range interpersonal communication, are considered for diminished active work prompting corpulence in kids and postural and skeletal problems. FitGirl Repacks
ReplyDeleteAll of our League of Legends accounts are new and have been leveled especially for our customers, so you have the chance of a complete restart with an buy league of legends account untouched MMR of ranked games.
ReplyDeleteIf you are a gaming lover then you must have already been aware of the Top gaming mice, and in case if you are not aware then we are here to make you aware the best options.web
ReplyDeleteAs a rule, as a saving anchor, which is tossed to a drawing man, following you end up caught in that particular room , in the vast majority of the getaway escape room New York City room games a cut scene shows up, setting up a specific setting.
ReplyDeleteThere is a myth among some people that video Best iOS Game are not 'healthy' for kids, but let's assure you that it is not really the case. As a matter of fact, online games can be rather healthy and beneficial to them, provided that they are enjoyed with certain guidelines. Moreover, family members can also get involved, and enjoy gaming together.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteA computer game substance rating is a framework is accessible in numerous nations and they are utilized to arrange computer games into reasonableness related age bunches as for its substance which, whenever followed, will assist with restricting the negative parts of a portion of the games. ApkDyno.com
ReplyDeleteA hustling wheel is one of the gaming fringe which is utilized in the dashing computer game. Download Games
ReplyDeleteThese remote gaming mouse are allowed to move and can without much of a stretch be overseen by the players. unblocked ez
ReplyDeleteI am curious to find out what blog system you have been working with? I’m having some small security problems with my latest blog and I would like to find something more safeguarded. Do you have any recommendations? best ios games
ReplyDeleteIn scholarly community we in some cases talk about game hypothesis, in which different specialists select systems and strategies to amplify their benefits inside the structure of an obvious arrangement of game guidelines. buy guns of glory resources
ReplyDeletePretending games which incorporate online content based pretending games and greatly multi-player online pretending games. In online content based pretending games, there are numerous players who require some sort of text based interface and a web association. play slope
ReplyDeleteThe present moment, this is the most mainstream free Android puzzle game. It's very habit-forming and essentially the embodiment of what you'd need in a pleasant game for your Android. walking war robots typhon tips
ReplyDeleteThe principles of the game are those of a customary Tic-Tac-Toe game, player against the PC (no 2-player choice was accessible). The info technique was a turning dial (like the ones in old phones). https://twitchviral.com/
ReplyDeleteDespite the way that the vast majority of the games present online are free and will in general be more modest than their work area and control center partners, the distinction in game-play between the two is scarcely ever perceptible to the novice gamer. friday night funkin unblocked
ReplyDeleteThese remote gaming mouse are allowed to move and can undoubtedly be overseen by the players. In any case, Logitech G502 Proteus Spectrum is one the best gaming fringe remote mouse which I found. CPS Test
ReplyDeleteIf you want to play Red Alert online with friends, family or with other gamers, here is how to get started right now! This is the best, fastest way to do it using the OpenRA free open source software!
ReplyDeleteplay red alert online
The Champs Selections. In this article, I will give a little foundation on the Sports Betting Champ, John Morrison, and survey a portion of his items. pkv games
ReplyDeleteNonetheless, Logitech G502 Proteus Spectrum is one the best gaming fringe remote mouse which I found. It has an advanced optical sensor which gives speedy reaction to the developments of the hand as soon I move it. Essentially, it has adjustable lighting of 16.8 million shadings which show it the like breathing example. Besides the lighting framework is additionally sensor base as when I don't utilize it, and afterward it will rest until and except if I move it once more. joker123
ReplyDeleteAlso, it has another alternative which truly causes me to feel like I driving energetic in light of the fact that it has vibration engine which demonstrate to lock the tires through this engines. SimCity Buildit hack
ReplyDeleteGreat article Lot's of information to Read...Great Man Keep Posting and update to People..Thanks xbox
ReplyDeleteYou have a real talent for writing unique content. I like how you think and the way you express your views in this article. I am impressed by your writing style a lot. Thanks for making my experience more beautiful. pc gaming
ReplyDeleteThis is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information... umrah packages
ReplyDeleteYou are so interesting! I don't believe I've truly read through anything like that before. So wonderful to discover another person with a few unique thoughts on this issue. Minecraft Server List
ReplyDeleteGreat knowledge, do anyone mind merely reference back to it web link
ReplyDeleteFriend, this web site might be fabolous, i just like it. 꽁머니사이트
ReplyDeletehandicappers picked Atlanta to dominate the match (Robert Ferringo, Gamblers Data, The Shark, Kelso Sports Handicapping, Dr Baseball) 먹튀검증사이트
ReplyDeleteThey don't even truly add individuals who are blends of races or in the middle. With regards to the dark characters they just add one shade of "dark" or "African American" and few out of every odd individual of color on earth is that shade. https://gamingprofy.com/games/merge-dragons-for-pc/
ReplyDeleteDisregarding the developing worry about the understudies' crumbling capacities to focus, foundations are joining them during the time spent study hall learning. mobile games
ReplyDeleteRemote gaming mouse are some way or another simple to access for the gamers in current gaming framework. These remote gaming mouse are allowed to move and can undoubtedly be overseen by the players. In any case, Logitech G502 Proteus Spectrum is one the best gaming fringe remote mouse which I found. retro bowl unblocked games
ReplyDeleteAlso I might want to improve my gaming abilities with the best gaming gadgets in the future too. Nonetheless, there are incalculable gaming gadgets yet probably the most goliath of them I have highlighted underneath which can upgrade the best gaming abilities in the 2018 with no molecules of uncertainty.바카라사이트
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteFoundations of gamers can have an impact in the kind of games that individuals play. There are a wide range of blends for various classifications connecting with the sort of games and kind of gamers. minecraft server list
ReplyDeleteComparatively I might want to improve my gaming abilities with the best gaming gadgets in the future also. blackmart alpha
ReplyDeleteFoundations of gamers can have an impact in the sort of games that individuals play. caddytek caddylite ez v8 push cart review
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteIn essence, you will have absolute control to play Minecraft when you feel like and based on your own demands. Best Minecraft Servers
ReplyDeleteLikewise I might want to improve my gaming abilities with the best gaming gadgets in the future also. Please check my site
ReplyDeleteFor more gaming news and gaming information, including game reviews visit Playstation news
ReplyDeleteUnlike other platforms, Android offers a lot of special stuff. Other systems, such as Nintendo 3DS is mobile. Moreover, their budget is a sign that they make great games. androidhackers
ReplyDeleteI have a similar interest this is my page read everything carefully and let me know what you think.
ReplyDeleteDungeon Hunter 5