VDP2016 - Lecture 08 Game mechanics

102
Prof. Pier Luca Lanzi Game Mechanics Videogame Design and Programming

Transcript of VDP2016 - Lecture 08 Game mechanics

Page 1: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Game MechanicsVideogame Design and Programming

Page 2: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

grokDynamicMechanics Aesthetic

player

game designer

Page 3: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

http://www.cs.northwestern.edu/~hunicke/pubs/MDA.pdf

Page 4: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 5: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 6: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Mechanics Story

Aestethics

Technology

Page 7: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

The Elemental Tetrad: Mechanics

• The procedures and rules of your game

• Describe the goal of your game

• How players can and cannot try to achieve it

• What happens when they try

• If a set of mechanics is crucial to the gameplay,

§These must be supported by the technology

§Aesthetics must emphasize them clearly to the players

§They should make sense with respect to the story

7

Page 8: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

The Elemental Tetrad: Story

• The sequence of events that unfolds in your game

• Linear and prescripted, branching and emergent

• The mechanics should strengthen the story and let it emerge

• Aesthetics should reinforce the ideas of the story

• The technology should be the best suited to the story

8

Page 9: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

The Elemental Tetrad: Aesthetics

• How your game looks, sounds, smells, tastes, and feels

• It has the most direct relationship to a player’s experience

• Technology should allow and amplify the target aesthetic tone/mood of the game

• Mechanics should be coherent to the world that the aesthetics have defined

• The story should have events that let your aesthetics emerge at the right pace and have the most impact

9

Page 10: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

The Elemental Tetrad: Technology

• They define the materials and interactions that make your game possible

• The technology enables players to do certain things and prohibits it from doing other things (e.g., Wii and gamepads)

• The technology is essentially the medium in which the aesthetics take place, in which the mechanics will occur, and through which the story will be told.

10

Page 11: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 12: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Space Invaders

http://www.youtube.com/watch?v=QObneYZIdKI

Page 13: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

The Tedrad at Play: Space Invaders

• Technology

§ Custom made for this game, no other game had it

• Mechanics

§ The gameplay was completely new, with a player against and advancing army. The player shoots and the aliens shoot back

§ You can hide behind the shields but the enemy can destroy them

§ The more enemy the player shoots down the faster the aliens go

§ Flying saucers give extra points but they are difficult to hit

13

Page 14: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

The Tedrad at Play: Space Invaders

• Story

§ Original story was the players shooting at advancing human soldiers but Taito changed it because it conveyed a bad message

§ Other war-based games were available (Sea Wolf 1976)

§ People already complained about game in which you kill people (Death Race 1976)

§ Marching soldier would better fit a top-down view, aliens give the feeling that their aim is to touch ground

• Aesthetics

§ Aliens are not identical and have a two frame (very effective) marching animation and music

§ Colored strips on the screen

§ The arcade cabinet was attractive and eye catching

§ Punishing sound when you get hit

14

Page 15: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Skin & Skeleton

Skin“the player’s experience”

Skeleton“the elements that make up the game”

Designers should focus on both at the same time

Page 16: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 17: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Game Themes

“if our games have unifying, resonant themes, the experiences we create will be much, much stronger.”

Jesse Schell

Figure out what your theme is.Use every means possible to reinforce that theme.

Page 18: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 19: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 20: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Game mechanics are the coreof what a game truly is

What remain when all of the aesthetics, technology, and story are stripped away

Page 21: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Mechanic #1: Space

Page 22: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 23: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 24: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Mechanic #2: Time

Page 25: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Game Time

• Discrete and Continuous

§Turn-based, turn-based chess, etc.

• Clocks and Races

§Time can have an absolute (Boggle) value or relative (races)

• Controlling Time

§We might allow to stop, pause, accelerate, rewind?

25

Page 26: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 27: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Super Hothttps://www.youtube.com/watch?v=_xLYEAclSek

Page 28: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Mechanic #3: Objects, Attributes & States

Page 29: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Objects, Attributes, States

• Objects

§ Characters, props, tokens, scoreboards, or anything that can be seen or manipulated in a game

§ Objects are the “nouns” of game mechanics

§ Sometimes, space can be considered an object

• Attributes

§ Define categories of information about an object. In a racing game, a car might have maximum speed and current speed as attributes. Each attribute has a current state.

• States

§ Each attribute has a current state.

§ The state of the “maximum speed” attribute might be 150 mph, while the state of the “current speed” attribute might be 75 mph

29

Page 30: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 31: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Game designers decide objects havewhat attributes and what states

There are often multiple ways torepresent the same thing.

The “right” way to think about something iswhichever way is most useful at the moment

Games that force the players to be aware of too many states (too many game pieces, too many statistics about

each character) to play can confuse and overwhelm

Page 32: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 33: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Secrets

A very important decision about game attributesand their states is who is aware of which ones.

In many board games, all information is public

In card games, some information is hidden

What about video games?

Page 34: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 35: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Mechanic #4: Actions

Page 36: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Actions in Games

• Basic actions

§Move a piece, jump, shoot

• Strategic actions

§Only meaningful on a longer horizon and larger picture

§ Protect a resource, force the opponent to do a certain move

§The strategic actions often involve subtle interactions within the game and are often very strategic moves

§They are not part of the rules, but rather actions and strategies that emerge naturally as the game is played

36

Page 37: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Shoot!

Page 38: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Unfinished Swanhttp://www.youtube.com/watch?v=X9YaFY8S75M

Page 39: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Splatoonhttps://www.youtube.com/watch?v=8L54s2m1dPs

Page 40: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

explore/combat

collect

spend

improve

Page 41: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Physics as a Mechanic

Page 42: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Angry Birds Official Trailerhttps://www.youtube.com/watch?v=bNNzRyd1xz0

Page 43: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Interesting emergent actions arethe hallmark of a good game

The ratio of meaningful strategic actionsto basic actions is a good measure ofhow much emergent behavior your

game features.

Elegant games allow a player few basic actionsand a large number of strategic actions

Page 44: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

planting seeds for emergence

more verbs (basic actions)

verbs act on more objects

more ways to achieve goals

many subjects

side effects that changes constraints

Page 45: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 46: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 47: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Mechanic #5: Rules

Page 48: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Rules are the most fundamental mechanic.

They define the space, the timing, the objects,the actions, the consequences of the actions, the constraints on the actions, and the goals.

Page 49: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Parlett’s Rule Analysis

Page 50: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Parlett’s Rule Analysis

• Operational rules

§ Define what the players do to play the game

• Foundational rules

§ Define the underlying structure of the game.

§ “When pac-man eats a pellet it will become invincible”

• Behavioral rules

§ Implicit to the gameplay and typically part of “good sportsmanship” (don’t hassle the player when she is thinking a move)

• Laws

§ Formed when playing in serious competitive settings (e.g., tournament rules for a specific game).

Page 51: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Parlett’s Rule Analysis

• Official rules

§ They merge game rules and laws

§ They are defined when a game is played “seriously enough” (e.g. check!)

• Advisory rules

§ Tips and rules of strategy to help playing better

• House rules

§ Added by the players to make the game more fun, balanced, etc.

§ E.g., “no shotgun, no C4, no campers” in some battlefield servers

Page 52: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Modes

Enforcers

Cheatability

Page 53: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

The Most Important Rule

defines the objective/goal of the game

good games goals should beconcrete, achievable, rewarding

Page 54: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 55: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 56: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Mechanic #6: Skill

Page 57: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Skill Mechanics

• Shifts the focus away from the game and onto the player

• Game require players to exercise certain skills

• If the player’s skill level is a good match to the game’s difficulty, the player will feel challenged and stay in the flow channel

• Games can require

§ Physical skills (dance games, musical instrument based games)

§Mental skills (memory, observation, problem solving)

§ Social skills (everything that requires reading opponents’ mind, fooling opponents, team working games)

57

Page 58: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

real vs virtual skills

Page 59: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 60: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Mechanic #7: Chance

Page 61: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Surprises are an important source of humanpleasure and the secret ingredient of fun

Chance is an essential part of a fun game because chance means uncertainty, and

uncertainty means surprises

Page 62: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 63: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Skill and Chance Get Tangled

• Estimating chance is a skill

• Skills have a probability of success

• Estimating an opponent’s skill is a skill

• Predicting pure chance is an imagined skill

• Controlling pure chance is an imagined skill

63

Page 64: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 65: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 66: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Game Mechanics & Rules

• Game mechanics are the rules, processes, and data at the heart of a game

• Rules and mechanics are related concepts, but mechanics are more detailed and concrete

• For example, the rules of Monopoly consist of only a few pages, but the mechanics of Monopoly include the prices of all the properties and the text of all the Chance and Community Chest

66

Page 67: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

core mechanics indicate mechanicsthat are the most influential

for example, the mechanics that implementgravity in a platform game are core mechanics

in fact, gravity affects almost all movingobjects in the game and interact

Page 68: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Game mechanics are media independent

They can be implemented throughmany different media

Thus, game scholars don’t distinguishbetween video/card/board games

Page 69: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Five Different Core Mechanics

• Physics

§ Plays a large role in modern video games (e.g., FPS, physics-puzzle games)

• Internal economy

§ Transactions involving game elements that are collected, consumed, and traded constitute a game’s internal economy

§ Can involve abstractions (health, popularity, and magical powers)

• Progressive mechanisms

§ The progress of the player is tightly controlled by a number of mechanisms that block or unlock access to certain areas

• Tactical maneuvering

§ Deal with the placement of game units on a map for offensive or defensive advantages

• Social interactions

§ Reward giving gifts, inviting new friends to join, participating in social interactions

69

Page 70: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 71: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Page 72: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Discrete Mechanics vsContinuous Mechanics

Page 73: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Mixing Physical Mechanics with Strategic Gameplay

Page 74: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

progression mechanics creategames of progression

the other mechanics creategame of emergence

Page 75: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

game of emergence have relativelysimple rules but much variations

the game’s challenge and its flow of events are not planned in advanced

they emerge during gameplay

Page 76: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

player’s trajectorythe path players take throughthe possible states of a game

games that allows many, different, interestingtrajectories arguably have more gameplay than

games that generate fewer less interesting trajectories

Page 77: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Tic-tac-toe vs Connect4

Page 78: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

http://civilization.wikia.com/wiki/Civilization_V

Page 79: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Procedural Rethoric

Page 80: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Procedural Rhetoric

• Concept developed by Ian Bogost in the book “Persuasive Games” (MIT Press 2007)

• Videogames are part of a new form of rhetoric since their “procedurality” involves interaction

• Procedural Rhetoric is defined as “the practice of using processes persuasively.”

Page 81: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

http://unmanned.molleindustria.org

Page 82: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

http://www.imdb.com/title/tt3510712/

Page 83: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

The Best Amendment - http://www.molleindustria.org/the-best-amendment/

Page 84: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Let’s Play “The Best Amendment”!

Page 85: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Unfolding

Page 86: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Extra Credits - The Waiting Game - Why Weird Games Become Cult Hitshttps://www.youtube.com/watch?v=ptk93AyICH0

86

Page 87: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Energy Mechanic

Page 88: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

https://play.google.com/store/apps/details?id=com.king.candycrushsaga

Page 89: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

“pay money to keep trying to solve puzzles or stop playing and come back later”

Page 90: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

https://play.google.com/store/apps/details?id=com.zynga.FarmVille2CountryEscape

Page 91: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

harvest crops after they finish growing

wait minutes or hours …

miss out the proper time and cropswill wither

Page 92: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

come back later or pay for continued play

balance between indulgence and restraint

Page 93: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Limited-turns constraint becomes and energy mechanic when each turn consumes

a resources that will refill over time

Page 94: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Energy mechanics force a rhythm onto the player who cannot get things her way

They don’t have permission to indulge

Gamers and casual gamers manage their desire to indulge differently

Page 95: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

How to design constraintswithout causing frustration?

By providing alternative activities

By designing the waiting mechanics on familiar concepts (waiting for the crops)

Page 96: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Energy mechanics has moral issues…

Page 97: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

http://www.necessarygames.com/my-games/loneliness/flash

Page 98: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Extra Credits

Page 99: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

https://www.youtube.com/watch?v=4QwcI4iQt2Y

Page 100: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

https://www.youtube.com/watch?v=pP_qNm-96Dc

Page 101: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

Match Game Mechanics:An exhaustive survey

Jonathan Bailey with contributions by Christopher Floyd,Robert Wahler, Lars Bull and Kevin Ryan

http://www.gamasutra.com/blogs/JonathanBailey/20150227/237544/Match_Game_Mechanics.php

Page 102: VDP2016 - Lecture 08 Game mechanics

Prof. Pier Luca Lanzi

http://www.facebook.com/polimigamecollectivehttps://twitter.com/@POLIMIGC

http://www.youtube.com/PierLucaLanzihttp://www.polimigamecollective.org