Gaming - step by step

March 19, 2010 By Ileiren Poon
Gaming - step by step

Enlarge

(PhysOrg.com) -- For one University of Alberta professor, making the move from California to Edmonton turned out to be the first step in becoming involved with an award-winning video game.

Nathan Sturtevant came to the U of A from the University of California, Los Angeles, where his work focused on artificial intelligence programming for multiplayer games like hearts or Chinese checkers. During a conference in Edmonton, he met U of A vice-provost (information technology) Jonathan Shaeffer, whose games work Sturtevant was familiar with

"The U of A is well known for work in games and artificial intelligence," Sturtevant said. "I knew that there are really great people to work with here and I was very happy to come up and be part of the group."

Then, in 2005, Edmonton BioWare approached the U of A computing science department, looking for help with a "pathfinding" challenge in their game Dragon Age: Origins.

Pathfinding is a major element in most modern video games, but not one many gamers think about unless things goes wrong. The ability to click a computer mouse to set digital characters in motion perhaps seems like it should be intuitive in this day of blockbuster games, but getting around or navigating in a complex and crowded game environment can make the journey slow and frustrating, the exact opposite of what video games are expected to deliver. Pathfinding allows the game programming to break the planning process into components, one following the other, so the program doesn't have to tackle all the planning at once.

"If you go back to [earlier] BioWare games you find that essentially what's going on is your character is trying to find an entire path of how to get to their destination before anything else happens," said Sturtevant, a professor in the Department of Computing Science. "There are many cases where that can be really difficult and unnecessarily slow the game down. If you can imagine a [game scenario] with a lot of things going on, or a lot of barriers to get around-in that type of situation the pathfinding program would just fail.

"In the game Dragon Age, BioWare was running exactly into that problem, and they have even more complicated environments than the one I described, and they needed some way for the characters to solve things a little faster," he explains.

Make it faster with fewer resources

So, faced with the challenges of creating pathfinding programming able to navigate complicated environments while minimizing the amount of overhead in terms of memory needed, Sturtevant chose to break the decision-making process into separate levels, leaving the computer to calculate the steps needed by the character.

"In a lot of games when you say 'go do something,' the character sort of sits there for a while as the program is planning and then they take off," he said. "What we did then is you get this very high-level path that says 'You're going this way' and then we can then cut it down into small pieces. You don't need to figure out how to get all the way to your goal, you just need to figure out how to get to the next step along this path."

Sturtevant says he wanted players to be able to trust that a character is going to get where they're going. "One of the things I really wanted to see was that if a character is standing on one side of the game map, would it be possible to mouse click on the farthest point away and watch your character then walk for 10, 20, 30, 40 seconds and get to where you wanted them to go?" he said. That turned out to be the case, which allows players to attend to other characters or decisions within the game as the pathfinding command is being carried out.

Working on Dragon Age was an exciting opportunity, said Sturtevant. "I get to be here in academia at the U of A and work on all these problems, but to be a part of something that millions of people are playing and enjoying, that's pretty thrilling."

Provided by University of Alberta (news : web)

4.3 /5 (4 votes)  

Filter


Move the slider to adjust rank threshold, so that you can hide some of the comments.


Display comments: newest first

fourthrocker
Mar 20, 2010

Rank: 1 / 5 (1)
I may be in a minority but I think DAO is a steaming heap. It's heavy on talk, light on action and a closed world that you can't explore. No problem with path finding because you are on rails. This must be the new kind of game for the illiterates who want their stories in the game because they don't know what a book is. For myself, when I want a good story I'll read a book or watch a movie. Games like this are a sign of the end of literacy.
Royale
Mar 22, 2010

Rank: 1 / 5 (1)
Unfortunately, many people who are playing games are using them to fill in "stories" for them. All the actual gamers I know, tend not to read. I'm a reader, and I tend not to game. Once again this is a sad thing but I think you're right fourthrocker. They should make all games now like the old school legend of zelda's etc, where you have to READ the story right from the screen. But I suppose that is taking a step back and will never happen.
rhuarch
Mar 22, 2010

Rank: not rated yet
I'm an avid reader. I also happen to be a hardcore gamer and am about 75 hours into DAO. I can tell you that I have done enough reading in this game to fill two or three novels. The real meat and potatoes of the story here is in the codex entries. If you stop and read every codex entry (which provides most of the lore and back-story for the game) it amounts to a lot of reading. And to royale, The old Zelda games were pretty light on text compared to true RPGs like Final Fantasy and the Dragon Quest games, or one of the old text RPGs like Zork which is still an extremely entertaining game.
Rank 4.3 /5 (4 votes)
Related Stories
Relevant PhysicsForums posts

More news stories

Google users warned of threat to smartphone wallets

Users of Google smartphone wallets were being warned on Friday that there is a way to crack pass codes intended to thwart thieves from going on illicit shopping sprees.

Technology / Internet

created 4 hours ago | popularity 5 / 5 (2) | comments 0

Anonymous knocks CIA website offline (Update)

The website of the Central Intelligence Agency was inaccessible on Friday after the hacker group Anonymous claimed to have knocked it offline.

Technology / Internet

created 6 hours ago | popularity 5 / 5 (7) | comments 11

New error-correcting codes guarantee the fastest possible rate of data transmission

Error-correcting codes are one of the triumphs of the digital age. They’re a way of encoding information so that it can be transmitted across a communication channel — such as an optical fiber o ...

Technology / Computer Sciences

created 14 hours ago | popularity 4.8 / 5 (6) | comments 6 | with audio podcast

New power source discovered

(PhysOrg.com) -- Researchers at the Massachusetts Institute of Technology (MIT) and RMIT University have made a breakthrough in energy storage and power generation.

Technology / Energy & Green Tech

created 13 hours ago | popularity 4.8 / 5 (21) | comments 7 | with audio podcast

Small modular reactor design could be a 'SUPERSTAR'

(PhysOrg.com) -- Though most of today's nuclear reactors are cooled by water, we've long known that there are alternatives; in fact, the world's first nuclear-powered electricity in 1951 came from a reactor ...

Technology / Energy & Green Tech

created 14 hours ago | popularity 4.3 / 5 (11) | comments 21 | with audio podcast


Complex wiring of the nervous system may rely on a just a handful of genes and proteins

Researchers at the Salk Institute have discovered a startling feature of early brain development that helps to explain how complex neuron wiring patterns are programmed using just a handful of critical genes. ...

The power of estrogen -- male snakes attract other males

A new study has shown that boosting the estrogen levels of male garter snakes causes them to secrete the same pheromones that females use to attract suitors, and turned the males into just about the sexiest ...

Humans may have helped the decline of African rainforests 3000 years ago

(PhysOrg.com) -- Large areas of rainforests in Central Africa mysteriously disappeared over three thousand years ago, to be replaced by savannas. The prevailing theory has been that the cause was a change ...

Putting the squeeze on planets outside our solar system

(PhysOrg.com) -- Using high-powered lasers, scientists at Lawrence Livermore National Laboratory and collaborators discovered that molten magnesium silicate undergoes a phase change in the liquid state, abruptly ...

Could Venus be shifting gear?

(PhysOrg.com) -- ESA’s Venus Express spacecraft has discovered that our cloud-covered neighbour spins a little slower than previously measured. Peering through the dense atmosphere in the infrared, the ...

Advanced power-grid model finds low-cost, low-carbon future in West

(PhysOrg.com) -- The least expensive way for the Western U.S. to reduce greenhouse gas emissions enough to help prevent the worst consequences of global warming is to replace coal with renewable and other ...