Hello, I've been working on a horror game recently but I've had trouble figuring out how to use save points properly.
The main example is that there is a save point in the player's room that they can backtrack to throughout the entire game but the issue is what's a good way to separate that room from the rest of the game without it being effected by the rest of the game's cut scenes and events repeating?
Say, after I exit the save room it transfers me to a cut scene from ages ago.(Which means I'm repeating the game from that point) Should I use conditional branches after every event to specify in what part of the game I end up in once I exit the save room or does it make more sense to just copy and re-paste the same save room for every event on the map selection area separately and edit where I end up accordingly?
I feel like it's either one or the other but it's confusing to wrap my head around because you're in a smallish hotel and there's only a save point in to places in the whole building so you backtracking there overlaps the multiple events happening in the same areas over the course of the story.
Any help or suggestions are really appreciated.
it depends on how much is changed.
Because there is a third method that would be much easier to use, but it needs to be handled carefully.
You'll make a variable named "Story counter", and count it up for each tiny part of the story.
And then you condition most of your events to a number on that variable, selecting from when to when that event would be operational on that page.
That way you don't need a single conditional branch and can "jump" to different parts of the story simply by changing the number in the story counter.
most games (including non-maker-games) use a story progress counter for something like that, conditional branches are simply too limited once you have several options.
But the specifics are depending on the engine used - and the way the makers here work, using a variable condition combined with page priority makes the story progress counter a lot easier than any other option.
If you want to use the story progress counter, you cannot make that after the game is finished, because the story counter will be your game progress and the game won't work without updating that.
Think of it as a chapter or page number - in a book, you can't go back and insert random numbers into the pages.
The counter will be like a page marker, it will be placed on the page where you go to - but that will only be possible if that number exists. While adding page numbers after the story is finished might work with a book (even if it is more work), it will not work that way with eventing because the counter needs to exist before it can be used as a event condition.
No. What it is, is you create a variable, and at each story event set that variable to what is appropriate to mark where you are. Then, you set up events to only run if that variable is set to a certain value.
However, there is no automatic saving. The variable will only be saved if the player saves the game.
You may wish to work through the tutorial in my or Andar's signature, as it will better explain to you how variables work.
Make it a simple test with a single multipage event, that should show you all you need.
1) make a variable into the story counter
2) make an event with multiple pages (five should be enough for demonstration)
3) give each page a different sprite, each page on action button and each page with only a single command - control variable "story counter" +1
4) on the first page, set no condition, on the second page set the condition to variable "story counter" = 1 or above
5) on the third, fourth and fifth page, give it the condition variable "story counter" = 2 (3,4) or above - each page should have the number one less than the page number, and the conditions should count up through the pages from left to right (none, 1,2,3,4)
6) make a different event where you can input a number into the story counter variable - that would be pseudo-saving
Now, if you go and trigger the event regularly, you'll see that it switches to the next sprite with each action button.
And if you go to the other event and manually set the variable to a number, the first event switches back to that step of the story counter.
And now imagine every story event in your game conditioned to that variable, counting the number up together with any show text, cutscenes, battles or whatever you do.
Even if you only count up main events you'll end up with numbers of several hundred, but all maps in your entire game will always change back to the certain step you choose when you change the story counter variable. You need to transfer the player to the correct map for that step at the same time or the game progress would be broken, but that is the easiest and most flexible way of handling story progression.
But since you have to count your progression steps and condition the events to the correct numbers in addition to everything else, it is difficult to implement into a finished story and easy to do while developing the game.