Category Archives: Game Dev

Posts about game development.

Rapid Prototyping with Inform

While we’re waiting for my Dogecoin fortune to make itself I’ll tell you a story. Sit up here on my knee. That’s not my knee! Nevermind what it was! Let’s just say I’m very excited to tell you about this cool tool called Inform and how you can use it for rapidly prototyping your game.

More code, sooner.

More code. Sooner.

But why should I Prototype? I want to start coding right away! Waaah!

If you’re a dolt who likes spending lots of time re-doing work then skip this post and start coding your game immediately without a second thought. (Or I should say: start coding your custom game engine and framework immediately because you’re probably into that as well). The rest of you smarties stay with me.

This tools works well for any game where the player needs to go places, get things and do things with them in order to solve puzzles. Sounds like every game I’ve ever heard of (not you Mario Kart). The benefits of working this all out ahead of time should be obvious but essentially you are generating a location list, an item list, an NPC list and you can also formalize the order in which things must be done by the player so you don’t trap them in impossible scenarios.

The tool is Inform 7. It is designed for text adventure games but you can use it for prototyping any type of game. I’ll give you a very simple example.

"Prototype" by Josh

The Lookout Point is a room. An old man is here.

The Outskirts is south from the Lookout Point. A campaign poster is here.

The Village is east from the Outskirts. 

The Scumm Bar is inside from The Village.

That text is actually the source code to a simple Inform game. All Inform input is written in a language which closely resembles English. This code describes four locations and two other items: an old man and a campaign poster. Lets see what we can get from Inform after running it.

informMap-simple

Here you see Inform has created a map for us and a list of locations, each with a list of starting contents. This is called the index and it took us all of like, what, 6 seconds? Nice.

Let’s flesh it out a bit. You can add descriptive text to everything and that too will show up in your index. Here are some additional details:

...
The Lookout Point is a room. "High atop Melee Island, this rocky overlook pokes into the clouds."

An old man is here. "A weathered old man." The description is "An old grey-beard in a weathered raincoat gazes out at the sea."
...

If we look at the index now we can see these additional details. If you were to pass this on to your artist or level designer they would still have lots of questions for you but this isn’t intended to be a repository for art or detailed screenshots. Just a very simple 1000 foot view of your game and how the pieces fit together.