Game Dev Session 01.pdf

Frame by Frame
Line by Line
Presented by : S.Bharath Krishnan
Pratyush Nanda
Slide Design : S.Krishna Narayan
Game
Development
Fun
Mechanics
Art
Music
“Have you ever wondered how game
mechanics are implemented”
Shooting
● Most Games, shooting is heavily based on raycasts.
Shooting (contd.)
● Raycast :
○ A computational procedure
○ Calculate the first collidable object in a given direction
○ Raycast in direction of line of sight,
damage first colliding object
○ You can add extra flare to your shoot by getting
Normal of hit surface and adding a particle system
to it.
Why Shouldn’t we Raycast from Gun Muzzle
How are raycasts Implemented ?
● Basic Idea
● Move a vector in given Direction
by fixed steps
● Check for Existence of wall
● If wall doesn’t exist proceed
● If wall exist get point
● Most basic idea
● Engines use more complex
Version
Refer : Raycasting (lodev.org)
Grenades - Projectiles
Game Dev Session 01.pdf
Scopes - Snipers
The art of Deception
Note: No animals were harmed
while making of this slide
The Parallax Scrolling
Parallax scrolling (contd.)
● Gives liveliness to games
● A level = multiple images layered
● Moving Images in games
are called Sprites
● Sprites in foreground move faster
Compared to Background
Game Dev Session 01.pdf
Functions and Paths
Spiderman is a Pendulum
Spiderman is a Pendulum
● We have a point of suspension
● We just get vector from
player to point
● Get World Up Vector
● Equate cos of grav to Tension
● Do pendulum force calculations
● But He is more of a Circular motion
If you want to make a good game
Procedural Animations
Procedural Generation
Minecraft Terrain Generation:
Minecraft terrain generation in a nutshell - YouTube
Perlin Noise
What is Perlin Noise
What is Perlin Noise (Contd.)
● Divide the screen to N x M grid
● Generate random vectors
On each corner of grid
● For every pixel identify its
Corresponding cell
● Get cell vectors
● Get offset vector from each
Corner
● Dot offset vector with
Corresponding grid vector
● Interpolate all the 4 values
Clouds - Application of Perlin Noise
Spline - The Bézier Curve
The Beauty of Bézier Curves - YouTube
What are Bézier Curves
● Linear Interpolation
t : 0.0 → 1.0
Application of Bézier
Lets Think
You are a game developer making
a marvel avengers game and you are tasked
with creating captains shield throw mechanic.
How will you go about implementing this?
tag:
Cross and Dots
Trigonometry
Collision
Game Dev Session 01.pdf
1 sur 27

Recommandé

Unity par
UnityUnity
UnityKhaled Ismail
935 vues64 diapositives
Python lecture 09 par
Python lecture 09Python lecture 09
Python lecture 09Tanwir Zaman
247 vues32 diapositives
4Developers 2015: Gamedev-grade debugging - Leszek Godlewski par
4Developers 2015: Gamedev-grade debugging - Leszek Godlewski4Developers 2015: Gamedev-grade debugging - Leszek Godlewski
4Developers 2015: Gamedev-grade debugging - Leszek GodlewskiPROIDEA
244 vues90 diapositives
How we did 60FPS in our 3D RTS mobile game par
How we did 60FPS in our 3D RTS mobile gameHow we did 60FPS in our 3D RTS mobile game
How we did 60FPS in our 3D RTS mobile gameDaniel Sim
2.7K vues39 diapositives
Benoit fouletier guillaume martin unity day- modern 2 d techniques-gce2014 par
Benoit fouletier guillaume martin   unity day- modern 2 d techniques-gce2014Benoit fouletier guillaume martin   unity day- modern 2 d techniques-gce2014
Benoit fouletier guillaume martin unity day- modern 2 d techniques-gce2014Mary Chan
6.3K vues60 diapositives
Game Development with AndEngine par
Game Development with AndEngineGame Development with AndEngine
Game Development with AndEngineDaniela Da Cruz
3.2K vues19 diapositives

Contenu connexe

Similaire à Game Dev Session 01.pdf

Gravitee Wars Post Mortem by Stuart Allen of FunkyPear par
Gravitee Wars Post Mortem by Stuart Allen of FunkyPearGravitee Wars Post Mortem by Stuart Allen of FunkyPear
Gravitee Wars Post Mortem by Stuart Allen of FunkyPearmochimedia
1.4K vues43 diapositives
Motionblur par
MotionblurMotionblur
Motionblurozlael ozlael
5.2K vues33 diapositives
Pixelor presentation slides for SIGGRAPH Asia 2020 par
Pixelor presentation slides for SIGGRAPH Asia 2020Pixelor presentation slides for SIGGRAPH Asia 2020
Pixelor presentation slides for SIGGRAPH Asia 2020Ayan Das
61 vues35 diapositives
App interaction par
App interactionApp interaction
App interactionreittes
223 vues11 diapositives
05. Vectors par
05. Vectors05. Vectors
05. VectorsAmin Babadi
342 vues16 diapositives
Lecture 1 Introduction to VR Programming par
Lecture 1 Introduction to VR ProgrammingLecture 1 Introduction to VR Programming
Lecture 1 Introduction to VR ProgrammingKobkrit Viriyayudhakorn
528 vues56 diapositives

Similaire à Game Dev Session 01.pdf(20)

Gravitee Wars Post Mortem by Stuart Allen of FunkyPear par mochimedia
Gravitee Wars Post Mortem by Stuart Allen of FunkyPearGravitee Wars Post Mortem by Stuart Allen of FunkyPear
Gravitee Wars Post Mortem by Stuart Allen of FunkyPear
mochimedia1.4K vues
Pixelor presentation slides for SIGGRAPH Asia 2020 par Ayan Das
Pixelor presentation slides for SIGGRAPH Asia 2020Pixelor presentation slides for SIGGRAPH Asia 2020
Pixelor presentation slides for SIGGRAPH Asia 2020
Ayan Das61 vues
App interaction par reittes
App interactionApp interaction
App interaction
reittes223 vues
Knock Knock on GameDev Gate par BeMyApp
Knock Knock on GameDev GateKnock Knock on GameDev Gate
Knock Knock on GameDev Gate
BeMyApp603 vues
Building a deep learning ai.pptx par Daniel Slater
Building a deep learning ai.pptxBuilding a deep learning ai.pptx
Building a deep learning ai.pptx
Daniel Slater113 vues
Deep Learning Tutorial par Ligeng Zhu
Deep Learning Tutorial Deep Learning Tutorial
Deep Learning Tutorial
Ligeng Zhu230 vues
Winners of HTML5 BYOG - InGDIn par Kinshuk Sunil
Winners of HTML5 BYOG - InGDInWinners of HTML5 BYOG - InGDIn
Winners of HTML5 BYOG - InGDIn
Kinshuk Sunil684 vues
Making BIG DATA smaller par Tony Tran
Making BIG DATA smallerMaking BIG DATA smaller
Making BIG DATA smaller
Tony Tran1K vues
Knock knock on GameDev gateway! - Introduction to Game development par Mamdouh Tarabishi
Knock knock on GameDev gateway! - Introduction to Game developmentKnock knock on GameDev gateway! - Introduction to Game development
Knock knock on GameDev gateway! - Introduction to Game development
Mamdouh Tarabishi1.6K vues
weekly AI tech talk #85 ml-agents Enabling Learned Behaviors with Reinforceme... par Bill Liu
weekly AI tech talk #85 ml-agents Enabling Learned Behaviors with Reinforceme...weekly AI tech talk #85 ml-agents Enabling Learned Behaviors with Reinforceme...
weekly AI tech talk #85 ml-agents Enabling Learned Behaviors with Reinforceme...
Bill Liu304 vues
Modular Level Design for Skyrim par Joel Burgess
Modular Level Design for SkyrimModular Level Design for Skyrim
Modular Level Design for Skyrim
Joel Burgess61.9K vues
物件偵測與辨識技術 par CHENHuiMei
物件偵測與辨識技術物件偵測與辨識技術
物件偵測與辨識技術
CHENHuiMei368 vues
Deep single view 3 d object reconstruction with visual hull par Hanqing Wang
Deep single view 3 d object reconstruction with visual hullDeep single view 3 d object reconstruction with visual hull
Deep single view 3 d object reconstruction with visual hull
Hanqing Wang146 vues
The Legend of Zelda and the NullPointerException par Andrew McPherson
The Legend of Zelda and the NullPointerExceptionThe Legend of Zelda and the NullPointerException
The Legend of Zelda and the NullPointerException
Andrew McPherson816 vues

Dernier

BushraDBR: An Automatic Approach to Retrieving Duplicate Bug Reports par
BushraDBR: An Automatic Approach to Retrieving Duplicate Bug ReportsBushraDBR: An Automatic Approach to Retrieving Duplicate Bug Reports
BushraDBR: An Automatic Approach to Retrieving Duplicate Bug ReportsRa'Fat Al-Msie'deen
5 vues49 diapositives
WebAssembly par
WebAssemblyWebAssembly
WebAssemblyJens Siebert
35 vues18 diapositives
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J... par
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...Deltares
9 vues24 diapositives
FIMA 2023 Neo4j & FS - Entity Resolution.pptx par
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptxNeo4j
6 vues26 diapositives
The Era of Large Language Models.pptx par
The Era of Large Language Models.pptxThe Era of Large Language Models.pptx
The Era of Large Language Models.pptxAbdulVahedShaik
5 vues9 diapositives
SAP FOR CONTRACT MANUFACTURING.pdf par
SAP FOR CONTRACT MANUFACTURING.pdfSAP FOR CONTRACT MANUFACTURING.pdf
SAP FOR CONTRACT MANUFACTURING.pdfVirendra Rai, PMP
11 vues2 diapositives

Dernier(20)

BushraDBR: An Automatic Approach to Retrieving Duplicate Bug Reports par Ra'Fat Al-Msie'deen
BushraDBR: An Automatic Approach to Retrieving Duplicate Bug ReportsBushraDBR: An Automatic Approach to Retrieving Duplicate Bug Reports
BushraDBR: An Automatic Approach to Retrieving Duplicate Bug Reports
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J... par Deltares
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
Deltares9 vues
FIMA 2023 Neo4j & FS - Entity Resolution.pptx par Neo4j
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptx
Neo4j6 vues
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the... par Deltares
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...
Deltares6 vues
DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs par Deltares
DSD-INT 2023 The Danube Hazardous Substances Model - KovacsDSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
Deltares8 vues
Generic or specific? Making sensible software design decisions par Bert Jan Schrijver
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut... par Deltares
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...
Deltares6 vues
AI and Ml presentation .pptx par FayazAli87
AI and Ml presentation .pptxAI and Ml presentation .pptx
AI and Ml presentation .pptx
FayazAli8711 vues
Navigating container technology for enhanced security by Niklas Saari par Metosin Oy
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas Saari
Metosin Oy12 vues
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t... par Deltares
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...
Deltares9 vues
Software evolution understanding: Automatic extraction of software identifier... par Ra'Fat Al-Msie'deen
Software evolution understanding: Automatic extraction of software identifier...Software evolution understanding: Automatic extraction of software identifier...
Software evolution understanding: Automatic extraction of software identifier...
A first look at MariaDB 11.x features and ideas on how to use them par Federico Razzoli
A first look at MariaDB 11.x features and ideas on how to use themA first look at MariaDB 11.x features and ideas on how to use them
A first look at MariaDB 11.x features and ideas on how to use them
MariaDB stored procedures and why they should be improved par Federico Razzoli
MariaDB stored procedures and why they should be improvedMariaDB stored procedures and why they should be improved
MariaDB stored procedures and why they should be improved
DSD-INT 2023 Salt intrusion Modelling of the Lauwersmeer, towards a measureme... par Deltares
DSD-INT 2023 Salt intrusion Modelling of the Lauwersmeer, towards a measureme...DSD-INT 2023 Salt intrusion Modelling of the Lauwersmeer, towards a measureme...
DSD-INT 2023 Salt intrusion Modelling of the Lauwersmeer, towards a measureme...
Deltares5 vues
DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko... par Deltares
DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko...DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko...
DSD-INT 2023 Simulation of Coastal Hydrodynamics and Water Quality in Hong Ko...
Deltares12 vues
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... par TomHalpin9
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
TomHalpin95 vues

Game Dev Session 01.pdf