14
BRAIN SURGERY Artificial Intelligence in Video Games Damián Isla, Director of Technology Moonshot Games

Artificial Intelligence in Video Games Damián Isla, Director of Technology Moonshot Games

Embed Size (px)

Citation preview

Page 1: Artificial Intelligence in Video Games Damián Isla, Director of Technology Moonshot Games

BRAIN SURGERYArtificial Intelligence in Video Games

Damián Isla, Director of Technology Moonshot Games

Page 2: Artificial Intelligence in Video Games Damián Isla, Director of Technology Moonshot Games

Two Fundamental Truths

Page 3: Artificial Intelligence in Video Games Damián Isla, Director of Technology Moonshot Games

FT#1: The hard stuff is easy, and the easy stuff is hard

Corollary: Game AI is 10% looking smart and 90% not looking stupid

Page 4: Artificial Intelligence in Video Games Damián Isla, Director of Technology Moonshot Games

AI is for making computers smart.

fun

Game

FT#2:

Corollary: Game AI is 50% programming and 55%

design

Page 5: Artificial Intelligence in Video Games Damián Isla, Director of Technology Moonshot Games
Page 7: Artificial Intelligence in Video Games Damián Isla, Director of Technology Moonshot Games

AN EXAMPLE

Page 8: Artificial Intelligence in Video Games Damián Isla, Director of Technology Moonshot Games

An Example

Position selection

- or -

“Where do I stand right now?”

Page 9: Artificial Intelligence in Video Games Damián Isla, Director of Technology Moonshot Games

Pathfinding

How do I get from A to B?

But assumes we know where B is.

Page 10: Artificial Intelligence in Video Games Damián Isla, Director of Technology Moonshot Games

Position Selection

Pick a spot that is

at the right range from my target

has a clear line of sight near to me etc.

Page 11: Artificial Intelligence in Video Games Damián Isla, Director of Technology Moonshot Games

Position Selection: Method

HIM

Range:LOS:Distance:

Total:

3.010.00.5

4.5ME

4.5

range(p) = 7 (meters)

F(range(p)) = 3.0 (happy units)

Fun!

Page 12: Artificial Intelligence in Video Games Damián Isla, Director of Technology Moonshot Games

Position Selection: Method

4.7

4.7

2.6

2.8

3.1

4.5

3.5

2.4

4.83.5

4.1

2

1.7

2.5

2.5

2.7

2.1

2.8

1.5

4.5

4.1

3.8

3.2

2.8

3.33.8

3.2

3

HIM

1.61.1

1.9

1

2.1

ME4.8

Page 13: Artificial Intelligence in Video Games Damián Isla, Director of Technology Moonshot Games

DEMO

Page 14: Artificial Intelligence in Video Games Damián Isla, Director of Technology Moonshot Games

Thanks!