Do you know what the perfect level in your game looks like? Forget the story, focus on how the structure of the level emphasizes the core gameplay mechanics. What process do you use to guarantee that all your levels fulfill their potential?
Cue SimGolf, a simulation game where you play the role of a golf course designer and part-time professional golfer. The experience is not only fun, but it also answers some interesting questions about the role artificial intelligence plays in the process of designing levels. This review looks at the different elements involved, and then shows how you can apply them into your own game.
While designing your grounds in SimGolf, you’ll notice little “Sims” trying out your course by playing each hole. These golfers have artificial emotions, which affects how they feel about your design.
Screenshot 1: Golfers voicing their feedback about the course.
Notably, the Sim Golfers:
Comment on features of the course as they walk around.
Chat and congratulate with each other, and sometimes trash-talk.
Provide feedback about their shots and experiences.
Each Sim has a unique combination of character traits: neat, outgoing, active, playful, nice. Their behavior and preferences vary accordingly…
Unique Playing Styles
On top of the emotions, playing styles are modeled for each Sim Golfer. There are multiple specific skills, but they can be broken down into three categories:
Length — How powerful the golfer is with different clubs.
Accuracy — How easily the golfer can control the ball.
Imagination — How creatively golfers approach each hole.
The skills affect the decisions the golfers make to complete the course. So in the end, there are major differences between professional golfers who take more direct and risky shots, and the casual golfers who take the safer and longer route.
Building a successful course then becomes a matter of understanding these different demographics and designing with each of them in mind. Keeping the superstars golfers is necessary to bring you fame and exposure from tournaments, while the casual golfers pay the high membership fees!
Patterns and Statistics to Assist Design
In SimGolf, pleasing these different kinds of players takes a certain creativity, but part of it is mechanical too. The game in fact rewards you for designing holes of different types. In a sense, you’re encouraged to use patterns while designing:
Fairway split into two down the middle.
Discontinuous fairway surrounded by rough.
Green hidden bytrees of varying heights.
Long hole with a dog-leg.
The process of designing and assembling these patterns is extremely similar to level design. But there’s more to SimGolf; the game gives you very specific statistics how your golfers played the course. For example, each hole has a measure of how much accuracy, power, and imagination required to complete it.
Making a perfect hole is a matter of incremental redesign to accommodate all the different traits, and try to make them balance out. For example, a hole could offer two paths, one that requires accuracy in landing on a small piece of fairway behind the trees, and a second that would be a longer way around with very few obstacles.
Screenshot 2: Following the shots of a golfer through the course.
Play Testing with Artificial Intelligence
Those of you familiar with the game development model will recognize this incremental process as play testing. The idea is to bring in members of the target audience and let them play the levels. The feedback is collected together and is used to help revise the current version.
What makes SimGolf interesting is that the feedback is automated using AI. Instead of requiring a lengthy process to bring in real golfers to review your course (I doubt Tiger Woods would be willing to help), you essentially get pure statistical information about the different ways golfers complete your course. Even with mediocre AI, the mere fact of going through this process is of great help.
How Can You Use These Ideas?
So, here’s what you can do to improve your level design process in your game.
Create an AI player that models different skills and styles.
Expose this AI as a tool to play through prototype levels.
Establish a correlation between the statistics and real players using testing.
Make the results available as quickly as possible to the designers.
Use the feedback to iterate over the layout and placement of entities.
How do these ideas help you design perfect levels for your game? Essentially, it gives you a useful metric for designing your levels against. It helps the designers focus on what matters with much faster turnaround times than real play-testing.
As AI technology improves, the technological investment to implement these steps becomes much lower. You have no excuse for building levels that do not cater to both your casual audience and the hardcore gamers!
How do you think artificial intelligence can be used to assist level design?