I made already a few simple games: enter a level, get up to the end, continue to the next level.
But I'm still wondering how "real" game developers create games with a story.
Here are a few things what a story game has (and where I'm wondering about how they make it) :
The last points are a bit three times the same.
But, I don't think they have a save-file with a lot of booleans and integers for holding things like:
When I talk about story games, I'm thinking to:
And this are a few examples of level-in-level-out games:
Thanks
Normally these games use a collection of flags to govern behaviour of particular characters and set pieces. This works out to be very similar (often directly equivalent) to a finite state machine, which is a slightly more general and powerful approach to the problem.
The important part is to design not only the states but also the transitions so that they are as easy to hook up as possible.
I think you'll find it varies from genre to genre but while playing it's probably just held in a data structure in memory and when saved it's persisted into the save file (just look at the size of some save files for various games, I've seen multi MB save files).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With