Chapter 14 Part 1: Core Game Mechanics By Nolan Driessen.

Slides:



Advertisements
Similar presentations
Peter Andreae Computer Science Victoria University of Wellington Copyright: Peter Andreae, Victoria University of Wellington UML for design: Class Diagrams.
Advertisements

RED DEAD REVOLVER Artificial Intelligence Critique By Mitchell C. Dodes CIS 588.
Complexity Analysis (Part I)
Database Management: Getting Data Together Chapter 14.
Chapter 6 C Arrays Acknowledgment The notes are adapted from those provided by Deitel & Associates, Inc. and Pearson Education Inc. Arrays are data structures.
Direct Current Circuits
Modules, Hierarchy Charts, and Documentation
Arrays Data Structures - structured data are data organized to show the relationship among the individual elements. It usually requires a collecting mechanism.
CORE MECHANICS. WHAT ARE CORE MECHANICS? Core mechanics are the heart of a game; they generate the gameplay and implement the rules. Formal definition:
CSCI 101 Introduction to Software Development and Design.
F UNDAMENTALS OF G AME D ESIGN C ORE M ECHANICS Sayed Ahmed BSc. Eng. in CSc. & Eng. (BUET) MSc. in CSc. (U of Manitoba)
1 Chapter No 3 ICT IN Science,Maths,Modeling, Simulation.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour.
Artificial Intelligence in Game Design Problems and Goals.
Foundations of Computer Science Computing …it is all about Data Representation, Storage, Processing, and Communication of Data 10/4/20151CS 112 – Foundations.
Fundamentals of Game Design, 2 nd Edition by Ernest Adams Chapter 10: Core Mechanics.
Art 315 Lecture 6 Dr. J. Parker. Variables Variables are one of a few key concepts in programming that must be understood. Many engineering/cs students.
Introduction Algorithms and Conventions The design and analysis of algorithms is the core subject matter of Computer Science. Given a problem, we want.
Crosscutting Concepts Next Generation Science Standards.
Chapter 9 (modified) Abstract Data Types and Algorithms Nell Dale John Lewis.
Structured Analysis.
CHAPTER 10: CORE MECHANICS Definitions and Mechanisms.
CSE1GDT Gameplay Mechanics. Core Mechanics The exact definition of the gameplay rules –It doesn’t matter where these rules are, just that you know them!
CPS120: Introduction to Computer Science Decision Making in Programs.
Sample Video Game & Sound. The Plan 1.Game Theme 2.Game Structure 3.Sprites 4.Trackers 5.Collisions 6.Score 7.Levels 8.Splash Screens 9.Design 10.Implementation.
Pseudocode. Simple Program Design, Fourth Edition Chapter 2 2 Objectives In this chapter you will be able to: Introduce common words, keywords, and meaningful.
Game Maker Terminology
Physical Science Methods and Math Describing Matter The Scientific Method Measurements and Calculations 1.
Management Information Systems
F.E.A.R. Game AI Evaluation by Robert Rak. What is F.E.A.R. ? FEAR is a First Person Shooter game Player takes on the role of an elite strike force team.
Fundamentals of Game Design, 2 nd Edition by Ernest Adams Chapter 18: Construction and Management Simulations.
Dr Nick Mitchell (Room CM 224)
4 - Conditional Control Structures CHAPTER 4. Introduction A Program is usually not limited to a linear sequence of instructions. In real life, a programme.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
Computer Science: A Structured Programming Approach Using C1 Objectives ❏ To understand the structure of a C-language program. ❏ To write your first C.
11 Making Decisions in a Program Session 2.3. Session Overview  Introduce the idea of an algorithm  Show how a program can make logical decisions based.
Maitrayee Mukerji. INPUT MEMORY PROCESS OUTPUT DATA INFO.
UML for design: Class Diagrams ENGR 110 #
Operations and Supply Chain Strategies
Chapter 7 Play and Game Culture. Chapter 7 Play and Game Culture.
Introduction to Algorithms
Collision Theory and Logic
Knowledge Representation Techniques
Scarcity and the Science of Economics
GAMEPLAY The strategies required to reach specific end points within computer gaming are collectively termed gameplay. However, gameplay is only one element.
Dr. Clincy Professor of CS
CS170 – Week 1 Lecture 3: Foundation Ismail abumuhfouz.
Introduction to the C Language
Collision Theory and Logic
Chapter 5: MACHINATIONS
Chapter 4: Internal Economy
Fundamentals of Information Systems, Sixth Edition
Data Representation in Computer Systems
Constraint Satisfaction Problems vs. Finite State Problems
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
Lesson 2.1 Displacement and Velocity
Dr. Clincy Professor of CS
Arithmetic Expressions
Theory of Computation Turing Machines.
Introduction to Algorithms
ICT Gaming Lesson 3.
A451: Computer Systems and Programming
Gold: Important concept. Very likely to appear on an assessment.
ICT Programming Lesson 1:
Chapter 14 Part 1: Core Game Mechanics By Nolan Driessen
Basic Concepts of Algorithm
Games Development Game Architecture: Entities
CSC 221: Introduction to Programming Fall 2018
UML  UML stands for Unified Modeling Language. It is a standard which is mainly used for creating object- oriented, meaningful documentation models for.
Programming Techniques :: Flow Diagrams and Pseudocode
Presentation transcript:

Chapter 14 Part 1: Core Game Mechanics By Nolan Driessen

What are Core Game Mechanics? ● Core Game Mechanics consist of the data and the algorithms that precisely define the game's central rules and internal operations. ● The core mechanics of a game determine how that game actually operates: what its rules are and how the player interacts with them. ● Core game mechanics often refer to the algorithms programmers use to implement your designs ● They should all work together to provide a good game experience

5 types of core mechanics ● Physics – the science of motion and force ● Internal Economies – rules governing quantifiable resources ● Progression Mechanisms – Mechanics that govern the players progress through a series of challenges ● Tactical maneuvering – Movement and control of a space or region ● Social Interaction – Rules controlling relationships between players

● Core Mechanics based on physics often use some form of modified Newtonian mechanics

Functions of Core Game Mechanics ● The relationship between the game engine and the core mechanics is extremely close ● Core game mechanics work behind the scenes and keep track of everything that occurs 1)They operate the internal economy of the game 2)Present Challenges 3)Accept and implement player actions 4)Detect victory or loss 5)Operate Artificial Intelligence

Turn Based vs Real Time ● In turn based games the core mechanics do nothing at all until the player has made their decisions ● Once complete the core mechanics will compute the effects of the actions taken

Key Concepts ● Resources: ● This refers to the types of objects that the game can move or exchange ● Represented with numeric quantities which have arithmetic operations preformed onto them ● Core mechanics define process which these resources are created, used, traded, destroyed etc.

Key Concepts ● Entities: ● Represents the state of some element in the game world ● The state of a light switch, on or off, could be an entity ● While a resource defines a type of thing, an entity represents the specific instance of that thing

Types of Entities ● Simple: A single attribute that is stored. Can be symbolic or numeric. ● Gold, score or a light switch are all examples of simple entities ● Compound: When more than one attribute is required to describe an entity ● Wind with direction and magnitude, or a players inventory filled with multiple items ● Attributes within compound entities can be entities.

Types of Entities ● Unique: Used when the game contains exactly one entity of a particular type ● Player avatar is usually a unique entity ● Other objects such as a football in a football game ● Some entities, regardless of their type, can have their own mechanics

Key Concepts ● Mechanics: ● Document how the game world and everything within it behave ● State the relationship among entities and the conditions that trigger events and processes ● Mechanics do not necessarily operate throughout the whole game, ones that do are called Global Mechanics

Mechanics ● Relationships Among Entities: ● If one entity depends on another this relationship must be specified ● Once enough experience has been gained, level up ● Can be a simple numeric formula or state based ● Character Level = Experience Points / 1000

Mechanics ● Events and Processes: ● An event is a specific change that happens once triggered by a condition ● When Link picks up a heart, his health increases by one ● A process refers to a sequence of activities that continues until stopped

Mechanics ● Conditions: ● Used to define what causes an event as well as when to start or stop a process ● Conditional statements often take the form of if statements or while loops

Key Concepts ● Numeric and Symbolic Relationships: ● Relationships between entities can be either numeric or symbolic ● It is very important to precisely define these relationships in terms of how they should be presented

Relationships ● Numeric: ● Defined in terms of numbers and arithmetic operations ● 50 loaves of bread can be baked from 1 sack of flour and 4 buckets of water ● Must be careful of divide by zero errors and unexpected behaviour from corner cases of each formula ● Speed = weight of supplies / (number of horses – number of followers) ● This can have a negative value or divide by zero error in the right cases

Relationships ● Symbolic: ● Symbolic relationships cannot be manipulated mathematically ● Each state that can be represented must be specified ● A traffic light can have three states, red yellow and green. A driving NPC must have a relationship to each of these states written into their AI

The Internal Economy ● An economy is a system where resources are produced, consumed and exchanged in quantifiable amounts ● Many games have some form of internal economy, which varies in complexity. ● There are many aspects of economies which will be covered here

The Internal Economy ● Sources: ● A source is a mechanic through which a resource or entity is introduced to the game ● Spawn points in shooters which introduce enemies into the game are an example of a source ● Sources can be limited or unlimited ● In monopoly crossing Go is an unlimited resource, however buying hotels and houses is limited ● Production rates must be well defined

The Internal Economy ● Drains: ● A drain is a mechanic that consumes resources ● Firing a gun in a shooter permanently removes bullets from the game ● Players want to know why a resource disappears from their game, as well as what benefit they gained from using those resources. ● Explain your drains!