Physics / AI Week 4 GAM 224. Outline Announcements Demos Discussion Break Lecture Physics AI.

Slides:



Advertisements
Similar presentations
Exploring Machine Learning in Computer Games Presented by: Matthew Hayden Thurs, 25 th March 2010.
Advertisements

Game Tuning Workshop AI Babysitter Elective. Game Tuning Workshop The Designer-Player Relationship Designer Player Game CreatesConsumes.
GAME:IT Designing Good Games. Question: What makes a computer game a game? A computer game is a software program in which one or more players make decisions.
Effective First Strategies With Peter Jasko. Topics That Will Be Covered Strategic Design Pit Scouting Match Strategies.
Artificial Intelligence in Game Design Intelligent Decision Making and Decision Trees.
Game Design Serious Games Miikka Junnila.
Artificial Intelligence in Game Design Introduction to Learning.
Artificial Intelligence in Game Design Hierarchical Finite State Machines.
What is the Best Position? More Advanced Positioning February, R. Baker1.
Foundations of Computer Graphics (Spring 2010) CS 184, Lecture 24: Animation Many slides courtesy Adam Finkelstein,
RED DEAD REVOLVER Artificial Intelligence Critique By Mitchell C. Dodes CIS 588.
What is AI  An attempt to imitate human reactions by scripting reactions to happen when a certain cause is brought about.
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
Web Design, Usability, and Aesthetics 2 Billboard Design 101 “Designing pages for scanning not reading” Notes from book “Don’t Make Me Think: by Steve.
Interactive Fiction A beginner’s guide. What Is IF Immersion with Text input Narrative voice More Story than Game.
GAME:IT Junior Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
Operations Management
AI and GAMES CSC 8520, Villanova University Spring, 2004 Paula Matuszek & Robin McEntire.
Early Design Process Brent M. Dingle, Ph.D Game Design and Development Program Mathematics, Statistics and Computer Science University of Wisconsin.
Raven Robin Burke GAM 376. Soccer standings Burke, 7 Ingebristen, 6 Buer, 6 Bukk, 6 Krishnaswamy, 4 Lobes, 3 Borys, 2 Rojas, 2 Bieneman, 2.
Artificial Intelligence in Game Design Problems and Goals.
TECHNOLOGY. Computer games have always been driven by technology. For many years it was advances in graphics that changed the way computer games were.
GAME:IT Bouncing Ball Objectives: Create Sprites Create Sounds Create Objects Create Room Program simple game.
Administrative: “Design New Game” Project Apply the principles of Iterative Design –First run of games in class: March 28 th in class Short document describing:
Studio Practice Level Design 3D-Content Generation Coding Conceptual Art (and Architecture) Project Management (3 rd Year) Teamwork (3 rd year) Theoretical.
Simulation Robin Burke GAM 224. Quiz #1 Ave: 24.2 / 30 Max: 30 Min: 18 Histogram 3: : : 888.
DESC9180 Designing Virtual Worlds Week 12 Future of Virtual Worlds 6pm – 9pm Tuesday, October 16 th, 2007 Kathryn Merrick and Owen Macindoe DESC9180 Designing.
Artificial Intelligence in Game Design Behavior Trees.
Narrative / Simulation Robin Burke GAM 224. Outline Rules Papers Narrative Simulation.
Artificially Intelligent Smart Objects in Modern Computer Games Presentation by: Venetsian T. Jakimov.
Math / Physics 101 GAM 376 Robin Burke Fall 2006.
AI Week 5 GAM 224. Outline Announcements Final Project Demos Discussion Break Lecture AI Narrative.
Pre-Attentive Processing. Affordances In this screenshot, we see rocks and trees, similar to ones real world. In WoW, there are differences between how.
Modeling - Simulation and AI Software ©Ideler2002.
Motion Planning in Games Mark Overmars Utrecht University.
Chap. 1 GENERAL WISDOM AI Game Programming Wisdom.
Simulation Robin Burke GAM 224. Outline Admin Quiz #1 Rules paper Play paper Simulation.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
Jumping, Climbing, and Tactical Reasoning Section 2.5 Tom Schaible CSE 497 – AI & Game Programming.
Artificial Intelligence in Game Design Complex Steering Behaviors and Combining Behaviors.
Simulation Robin Burke GAM 224. Outline Admin Rules paper Play paper Simulation.
Artificial intelligence
Artificial Intelligence for Games Finite State Machines
Energy forms and transformations. What is energy? We use the word all the time – but very few people have a strong understanding what it is It.
Computational theory techniques in interactive video games.
Coaching Pack 9 – 11 Years. What Am I Coaching Today? What Might the Players Learn or Get Better at? TechnicalPsychological example PhysicalSocial example.
Artificial intelligence IN NPCs. Early Role Playing games Npcs in early role playing games were very limited in terms of being “Intelligent”. For instance,
Fundamentals of Game Design, 2 nd Edition by Ernest Adams Chapter 20: Artificial Life and Puzzle Games.
Video Games & Object Oriented Programming. Games.
Simulation Robin Burke GAM 224. Outline Admin Quiz Play paper Midterm grades Core Mechanic Simulation.
Game Procedures Who does what, where, when, and how?
Artificial Intelligence in Game Design Lecture 8: Complex Steering Behaviors and Combining Behaviors.
Simulation Robin Burke GAM 224. Outline Design Milestone #4 Simulation Game design activity.
MODULE 9 MANAGERS AS DECISION MAKERS “Decide first, then act” How do managers use information to make decisions and solve problems? What are the steps.
Computational Thinking
Artificial Intelligence in Game Design Lecture 20: Hill Climbing and N-Grams.
Identifying the Target Audience Part 2. Target Audience The target audience is the group of people for whom the game is meant. To develop an effective.
Simulation Robin Burke GAM 224. Simulation Games simulate real-world activities sports games racing games historical games Central idea mapping between.
ICS 699 – Sony PlayStation Game Programming Project -Matthew Sharritt.
The Game Development Process: Artificial Intelligence.
Artificial intelligence In The Gaming Industy. For years games have used Artificial Intelligence, normally we call them bots, like for example your playing.
Chapter 14 Part 1: Core Game Mechanics By Nolan Driessen.
Artificial Intelligence and Video Games
Narrative / Simulation
GAMEPLAY The strategies required to reach specific end points within computer gaming are collectively termed gameplay. However, gameplay is only one element.
Paper Prototyping Digital Games.
Introduction to Simulation Modelling
Interaction with artificial intelligence in games
Topic 1: Problem Solving
Chapter 14 Part 1: Core Game Mechanics By Nolan Driessen
Presentation transcript:

Physics / AI Week 4 GAM 224

Outline Announcements Demos Discussion Break Lecture Physics AI

Announcements Games on order now here Game lab move

Demos Civilization 3 (Mortega) Total Annihilation (Reedy) Evil Genius (Kaplanskiy) Railroad Tycoon 3 (Johnson-Vinion) Sims 2 (DiConsola)

Game physics Not Physics 101 physics what happens to objects in the game world and why usually doesn't include decisions of non-player characters

Example: Asteroids What is the physics of Asteroids?

Basic fact All physics is simplification complex multi-body physical simulations are too slow reality is chaotic limits to what can be rendered graphically

Example: Halo What happens when a grenade explodes? do we simulate the ignition and rapid oxidation of explosives, pressure waves, metal shear and shrapnel trajectories? do we simulate concussion injuries, soft tissue damage, and bone trauma?

State The state of the game representation of the unique instant in the game world what the "save game" feature should save In a card game each player's hand the deck In Asteroids?

Game physics Physics = the evolution of the game state we want the player to feel as though there is a real world in the game the game state must be complex its evolution must seem natural the player's control over it should seem natural

Natural? Games are profoundly unnatural Aliens? Psychic powers? Controlling a civilization over centuries? As in fiction "willing suspension of disbelief" natural within the game world context Game physics may have nothing to do with Newton's physics

Scripting When there is a fixed stereotyped response to an action in the game we say it is "scripted" As opposed to "simulated"

Example Designer decides what should happen when a grenade explodes x amount of damage to all units within certain radius x/2 damage within a larger radius leaves a certain "stencil" on the floor or wall Simplifying the actual physics

Example Locked door If player ties to go through locked door with key in inventory, the door opens and key is used up Consequences Doors cannot be battered down, removed from hinges Locks cannot be picked

Advantages of scripting Much, much faster to apply a simple rule than to run a physical simulation Easy to write, understand and modify

Disadvantages of scripting Limits player creativity Players will try things that "should" work based on extensive physical intuition Will be disappointed if they don't Game will need many scripts predicting their interactions can be difficult complex debugging problem

Simulation Will still be a simplification Represent the quantities of interest represent the forces that act on them create physical laws for the game world evolve the game state according to these laws

Benefits of simulation More player options Designer doesn't have to anticipate every way to do something Physical laws reusable Do not have script every object Can build (or buy) generic physics engine

Disadvantages of simulation Speed extensive simulation may make the game too slow Memory game state may become much larger Testing difficult to test all possibilities

Design decision How much to simulate? Where player creativity is important Where realism is important Where a simple enough model can be built What level of detail is required? depends on the constraints of the game always a computational cost

Example Script when player enters room, guards converge and attack Simulation #1 when player takes a step, sound is heard over certain radius if guard is within radius and in room, guard will converge and attack Simulation #2 when player takes a step, volume of sound is calculated based on level of stealth, floor material, etc. sound is propagated through room and attenuated based on room contents guards receive sound signal and if loud enough to reach attention, they will move in the apparent direction of sound Simulation #3 same as #2, but in 3 dimensions, through floors, etc.

AI "Physics" of non-player characters simulating the opponent simulating other characters In some games it is the whole point classic strategy Sims

Artificial Intelligence Broad field of study 1950s: how to make computers think like people Now how to make computers less stupid

Game AI Uses very little from AI research too slow focused on different problems Main issue "planning" how to get characters to act believably

Planning A planning problem Current state End state Known operations preconditions postconditions Construct a sequence of operations to transform current state to end state

Example Current state player is alive End state player is dead Known operations move around use machete precondition: must be near target postcondition: target is dead

Means-ends analysis Work backwards from desired goal to current state Example to use machete, must be near player to get near player, move etc. Problem the world changes all the time

Modern planning Much more complex Integration of acting sensing choosing prioritizing etc. Overkill for games

Typical game AI tasks Character behaviors usually scripted actions Route finding many games Resource management in strategy games Modeling character relationships in some RPGs, some strategy games

Goals for AI Provide player with challenge Make a good game experience May go against "intelligence"

Issues Simulate or script? as in physics Opponent should not make obvious errors Opponent should not be totally predictable

Example Simulation when player is firing, construct a line-of-sight map from player's position. Find area outside of line-of-site especially if it is large and close Script have predefined "hiding" zones when attacked go to the nearest location In-between have predefined "hiding" zones calculate which is in the line-of-sight go to closest re-evaluate line-of-sight and move

AI in design Not too smart Don't set expectations too high Game play is more important Not too dumb Must cover minimum player expectations Compensate Level design Resource advantages

Role-playing Demo Ballerini: Tales of Symphonia Bubon: Paper Mario Devlin: Pokemon FireRed Miranda: Knights of the Old Republic Summers: Fable Non-demo Bennett: Tales of Symphonia Dannemiller: Worlds of Warcraft Hahn: Diablo 2 Abero: Knights of the Old Republic Lipsey: Final Fantasy X-2