How would I handle Multiple Different Story Paths?

Was wondering how you guys would code multiple different story paths in a game

I have a few ideas just wondering if theres something simpler then what im thinking

Now this can be done by many ways. One of the most convinient way is the global variable type number. If something happens that supposed to change the strory line you change the number of Global variable and when the next story needs to be loaded the game will see which number the Global variable is in order to open the right story.

1 Like

So a lot of this will depend on your game and how you want things to transpire. I would say Phoenix is right on the money here. I would say get familiar with global variables is for sure the first step for you. Then after you figure out how you like working with them you can extrapolate on your idea.

Since I started I have utilized a few different systems to accommodate player progression and what story beats they are working on at the moment. I have found ways that work really well for one aspect but make other aspects pretty tough to work with. So now I utilize different systems that talk to each other so that way I don’t have to convert everything to one type of way that may not work as well in certain situations.

It also seems like your game will have some saving and loading with it too, so if you haven’t you might want to check out how your going to do that before you commit to one type of way specifically.

Hope that helps, and best of luck on your game!