Monday, July 27, 2009

Harry Potter and the Half-Baked Scenes

Over the weekend, I saw the movie version of Harry Potter and the Half-Blood Prince. Having read the book previously, I wanted to see how the story was adapted for the wide screen. I am well aware that anything longer (or shorter) than a novella will not survive the transition to a movie version without serious changes. This is a situation that I accept, and I appreciate clever adaptations of written works such as that of Neil Gaiman’s Stardust. With the Half-Blood Prince, however, I was disappointed with the extra screen time devoted to some scenes and the inadequate time spent on others. While I do not intend to write a full review of the movie, I want to set down my thoughts on why I felt that certain scenes could have been written better. This blog post may serve as a guide on keeping one’s stories tight without making them feel rushed.

Shifting the Balance of Power

In the movie version of Half-Blood Prince, a couple of Death Eaters launched an attack on the Weasley family home. I felt that this scene, which was not present in the original novel, is completely pointless. What did Voldemort and his Death Eaters hope to achieve by destroying a single house? If their attack was intended to weaken Harry Potter and his friends, there was nothing in any of the subsequent scenes that showed they had succeeded. In fact, David Yates, the director, could have left the scene in the cutting room floor, and the audience wouldn’t have missed it.

The way I see it, the purpose of any scene involving an on-going conflict between two parties is to shift the balance of power between them. This is true regardless of whether the scene in question comes from the latest James Bond thriller or any of Jane Austen’s romances. The shift in the balance may be subtle most of the time and heart-pounding in only a few instances. Regardless, for the shift to be meaningful, its effects should be felt in the later parts of the story.

Introducing New Conflicts

Not all scenes are intended to develop an on-going conflict between two parties. Some are meant to introduce conflict between parties that had hitherto been at peace with each other. Nevertheless, if one party takes a swipe at another in one scene, we expect this conflict to escalate and eventually be resolved in later scenes.

Hence, I feel that the opening sequence showing the destruction of London’s Millenium Bridge could have been left out altogether. The wizard-versus-muggle conflict was never developed in the later parts of the story, and the screen time taken up by this sequence could have been better utilized in other scenes. I realize that the opening scene was intended as a more dramatic replacement for the first chapter in J.K. Rowling’s book. Nevertheless, I also feel that this chapter could have been safely deleted from the book for the same reason that I stated earlier.

Establishing Characters

Who is Narcissa, and why is she in the company of Bellatrix? Who is Romilda, and what’s her relationship with Harry and Ron? Who is Dean, and why is Harry upset with him? Those who saw the movie without ever having read the Harry Potter books may never know the answer to these questions. That’s because there aren’t enough scenes in the movie to establish these characters, their relationships, and their motivations. Any character that is at the heart of one or more conflicts must have enough scenes devoted to establishing them clearly enough for the audience to appreciate the conflicts in which they are involved.

On the other hand, characters that don’t figure in any of the story’s conflicts may be safely glossed over or left out. For instance, the director and screenwriter were wise to make Blaise Zabini practically invisible in the movie. Because the romance between Remus and Tonks did not make it to the movie version, giving these characters less screen time is justified. If the attack on the Weesley home had been left out, Remus and Tonks could even have gone with it.


In this blog post, I gave three reasons for developing a scene: establishing characters, introducing conflicts, and shifting the balance of power. I don’t claim that these are the only reasons for crafting a scene, but these definitely revolved around my dissatisfaction with the Half-Blood Prince movie. As usual, everything written here is just my opinion, and readers may apply or disregard all or part of my blog post as they see fit.

Friday, July 10, 2009

Designing Puzzles

I haven’t been working much on my 3D models these past several days, having been instructed by Dirtywick to design a puzzle for our module, Shattered Dreams. While trying to come up with a good one, I pondered quite a bit on the difference between good and bad puzzles as well as what principles go into designing different types of puzzles. I’m writing my thoughts here, partly as an aid for other game designers and modders who want to make their own puzzles, but mostly so I can refer to my own notes when the need arises. None of these ideas are written in stone, of course, and I may change or refine my opinions at any time in the future.

Please note that the puzzles I’m referring to here are the ones that may be used in adventure or role-playing games.

Puzzles to Avoid

There are various kinds of puzzles, some of which are so bad that they deserve special mention. The following are the ones that I feel deserve to be in the Puzzles’ Hall of Shame.

  • Mazes. Seriously, mazes are not fun at all. They are especially bad in games where the point of view is first-person, although they can also be tiresome in 2D graphical adventures. If an area you’re designing branches out like a maze, consider redesigning it.

  • Mathematical Word Puzzles. “Sally is two years older than Tim. Ten years ago, Sally was twice as old as Tim. How old is Sally now?” When was the last time you had to open a locked container by solving a mathematical word puzzle in real life? You never had to? Well, that just goes to show how contrived these kinds of puzzles are when they appear in adventure or role-playing games. Mathematical word puzzles can be amusing for some and vexing for others, but unless you’re a scientist, engineer, or programmer, you’ll probably never encounter them outside of textbooks and silly computer games.

  • Riddles. As a means of gaining entry to an otherwise inaccessible place, riddles are almost as bad as mathematical word puzzles. What makes riddles halfway acceptable in adventure games is that Oedipus and the Sphinx had set a precedent for them thousands of years ago. Nevertheless, if some NPCs really wanted to secure a place, they could have done better than to leave a clue to entry out in the open. Unless you don’t mind some silliness in your game, you might want to avoid using riddles. There are some good exceptions to this guideline, however. Nowadays, it’s not uncommon for people who have a tendency to forget their email password to allow a means to retrieve it by having the computer ask a question that only they and perhaps few other people know the answer to. Use your judgment when determining whether a riddle is appropriate to use in a game situation. Chances are it’s not.

  • Pixel Hunting. In some games, particularly 2D graphical adventures, one of the challenges facing a player is determining which visual elements can be interacted with. Some of these visual elements are so small that they can be easily overlooked. In such cases, the player winds up wrestling with the interface. Hunting for pixels is mostly an irritating experience. Fortunately, in NWN2, a player can highlight all useable objects in visual range by pressing the [Alt] key. Many other adventure games do not have a similar feature. If you ever create an adventure game from scratch, you would do well to provide some means of making all useable objects readily apparent.

Some Principles of Puzzle Design

There are things that I call “principles” (for lack of a better word) that go into the making of a puzzle. Some of these principles may be combined to create more complex puzzles. Not all these principles will be found in each puzzle, but every puzzle has one or more of these principles behind their design. I can’t claim to have an exhaustive list of these principles, but the ones I came up with may help generate some ideas for puzzles.

  • Toggling. This is probably the simplest puzzle design. A player may activate or deactivate an object by toggling some sort of switch. For example, a certain switch may open or close an electronic door. The puzzle can be made more complicated by requiring the player to flick a set of switches in the proper combination, not unlike entering a binary string code. Sometimes, the only way to figure out what each switch does is through experimentation.

  • Matching Type. In certain puzzles, players are required to match certain objects or bits of information with other objects or snippets of info. For example, in Baldur’s Gate 2: Shadows of Amn (2000), there is a puzzle in which players have to match a set of objects with the famous personage who uses each object. Players who are familiar with the Forgotten Realms will find this puzzle easy, but those who aren’t steeped in the lore of the realms may still benefit from the textual clues provided.

  • Timed Movement. Sometimes, passage through a dangerous area may be safely negotiated by timing one’s movement precisely. For example, if a deadly blade on a pendulum swings by every few seconds, players have to time their characters’ movement so that they move past the pendulum on its upswing. If many similar traps are stringed along the passageway, it becomes a challenge for players to observe the traps’ patterns of motion.

  • Positioning. Some puzzles are solved by positioning certain objects in accordance with a set of rules. The oft-used Towers of Hanoi puzzle is an example of this. Sometimes, these objects have certain “powers” that are brought into fore or even activated from their new positions. This is particularly true of puzzle-like games such as chess and Othello.

  • Code Breaking. Simple codes can be deciphered by observing the patterns when the codes appear. The game of Mastermind is a well-known example of this type of puzzle, variations of which can also be found in role-playing games like Neverwinter Nights 2: Mask of the Betrayer (2007) and Fallout 3 (2008). A more subtle example of this type of puzzle is when the player has to decipher an alien language by observing the situations when certain patterns of symbols appear.

  • Combination. Some objects can be combined with each other to produce a new object or to change the state of one of these objects. For example, by combining a key with a locked chest, the player character transforms the locked chest into an open chest. The principle of combination is a staple of many text and graphical adventure games and is used to solve the puzzles therein.

  • Substitution. When an object is required to solve a problem, but the player character does not have it, sometimes, a suitable substitute may be used instead. For example, if the player character does not have the key needed to open a locked chest but has a wire coat hanger and a pair of pliers, the character can use these objects to produce a makeshift lockpick. The principle of substitution is a good way to add some lateral thinking to your puzzles. Nevertheless, it can be abused badly. In Monkey Island 2: LeChuck’s Revenge (1991), for instance, when the player character needs to shut off a water pump that is lacking a handle, he can pull out a monkey from his inventory and use it as a monkey wrench. Duh.

  • Misdirection. Every magician and mystery writer knows that one can hide important information with misdirection. The trick is to bring some unimportant thing into focus while keeping the salient clue in the background. In a mystery adventure, for instance, suppose that forensic examiners have determined that a certain victim’s murderer is left-handed. Later, the player character might come across an old photo of a group of people standing near a building with an impressive-looking edifice. Players who examine the photo closely might notice that one of the people in the photograph is holding a cigar in his left hand. That person just so happens to be a suspect in the case as well. Bingo. Clues can also be hidden in text by focusing on an unrelated topic while mentioning the seemingly unimportant clue in passing somewhere in the middle of the text.

  • Physics. In some puzzles, objects interact with each other in accordance with certain rules, what I call the “physics” of the game world. For example, a ball can be made to roll down a sloping surface or bounce off a spring. These objects can be positioned in certain ways so that their interaction will solve a particular puzzle. The in-game physics may or may not be related to real-world physics. For example, there is a kind of “physics” involved in the way counters interact with each other in the game of Othello, but this has nothing to do with the physics of the real world. On the other hand, there is a bit more real-world physics going on in The Incredible Machine (1992), a game where players can create Rube Goldberg machines that achieve some stated objective. The beauty of this type of puzzle design is that more than one solution can be implemented to solve the same puzzle.


This concludes my post on designing puzzles. There are other types of puzzles that I did not expound on because of their limited use in adventure and role-playing games. (Word puzzles such as crosswords come to mind.) Nevertheless, I may have missed a few puzzle types or design principles that can be useful in these types of games. Readers who would like to offer their own insights into the puzzle design process are invited to leave their comments here.