Structuring Longer Projects

Recently started a new series of articles about this as part of my latest project's devlog, and I thought some people here might benefit from it.

Today we’re going to look at something that is not typically discussed in sets pf RPG Maker tutorials - how to structure your longer games. This approach could also apply to most narrative-based indie games, like visual novels or pretty much anything else.

Consider this.

You’re up to your tenth location in your indie adventure game, and in truth, it’s starting to become a mess. You have tons of switches, variables and such that save character presence and positions, as well as the things with which you have interacted, and it’s very difficult to remember what-controls-what.

What’s worse is that to test some parts of your game, you have to either use the save/load system (which may not be reliable with all the changes you’re making) or you have to play your game each time from the start... Which becomes a problem once your game is over 20 minutes’ long.

You start just trying to “wing it”; you don’t test, your game gets worse, and before you know it, you have something which is less like a clean project, and more like this:​
tumblr_inline_poilq4esqB1tbgabr_540.png
Does that sound familiar? If it does, then hopefully what I’m going to say in these articles will be of some help to you.

One of the things you notice, when you’ve been in the RPG Maker or indie development communities for a while, is how game creation tends to involve a series of gateways. The first one is simply getting something, anything, onscreen - a short step for RPG Maker, Unity or other engines, a longer step if you’re learning how to program from scratch. Still, most dedicated people reach this point.

After this, most people look at tutorials, and they manage to make some simple, 1-room or 1-screen games, and build from there. However, the next gate comes when you want to go from those simpler games to something longer, perhaps something which takes a few hours to play through - and many game creators falter at this stage. Perhaps you’ve struggled with this yourself. In RPG terms it’s a pretty tricky early boss to slay.

tumblr_inline_poiml0CKRJ1tbgabr_540.png
This “gateway” is the barrier between a short project and a longer one, and can be a bit of a dark art. It’s easy, for instance, to tutorialise how a user places a character in a scene, or animates a particle effect, but not as easy to explain these more abstract elements of game development.

Still, I’m going to do my best. I’m relatively new to RPG Maker, but principles I’m going to describe are quite universal and could be used to structure narrative experiences for most games.

When this comes up in development circles, often people say “you just need to plan your work in advance”, which is fine - but planning is only helpful if you know what you’re doing. Put simply, you don’t need to plan more; you need to plan better.

So let’s break down those problems and see what we can do:
  1. It’s difficult to test a longer game. You absolutely need to create a system which is easy to test; this is because a working, robust game is always preferable to a buggy one. You need to make this easier for yourself.
  2. Problems in parts of your game break other parts. These are called “dependencies”, and you need to remove them. Ideally, as much of your game needs to be independent from the rest as possible.
  3. Losing track of what switches/variables affect what else. Sometimes this is just about having good names, but also, it’s about having more elements depend on fewer variables, in a better-planned manner (this will be expanded on later).
In this series of guides, I’m going to talk about some methods which will ensure you can fix each of these things. This isn’t a guide for programmers as such, but I will touch on some programming concepts that I’ll hopefully explain well-enough for newcomers to game development - but let me know in the comments if you struggle to understand anything.

So, we’re gonna start next week with a brief explanation of a vital software development concept which is useful in-games - the state-machine.

Going to try and make these weekly updates, so follow me if you want to be first to read them!

If people are interested, let me know, and I can post about updates here too. Particularly, if you see something you disagree with, or find confusing, don't hesitate to say so - as I can make changes or try to answer specific questions.
/watches thread.

Please do post updates here. 😀
Game Mechanics Design is for looking at aspects of game play at a more conceptual level. Structuring your game overall is not a mechanic as such, and using this as an additional place to post your dev log is also outside its remit.

Moderator note: I am, therefore, closing this.

Original thread: https://forums.rpgmakerweb.com/threads/structuring-longer-projects.106914/