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 von 27

Recomendados

Unity von
UnityUnity
UnityKhaled Ismail
936 views64 Folien
Python lecture 09 von
Python lecture 09Python lecture 09
Python lecture 09Tanwir Zaman
247 views32 Folien
4Developers 2015: Gamedev-grade debugging - Leszek Godlewski von
4Developers 2015: Gamedev-grade debugging - Leszek Godlewski4Developers 2015: Gamedev-grade debugging - Leszek Godlewski
4Developers 2015: Gamedev-grade debugging - Leszek GodlewskiPROIDEA
244 views90 Folien
How we did 60FPS in our 3D RTS mobile game von
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 views39 Folien
Benoit fouletier guillaume martin unity day- modern 2 d techniques-gce2014 von
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 views60 Folien
Game Development with AndEngine von
Game Development with AndEngineGame Development with AndEngine
Game Development with AndEngineDaniela Da Cruz
3.2K views19 Folien

Más contenido relacionado

Similar a Game Dev Session 01.pdf

Gravitee Wars Post Mortem by Stuart Allen of FunkyPear von
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 views43 Folien
Motionblur von
MotionblurMotionblur
Motionblurozlael ozlael
5.2K views33 Folien
Pixelor presentation slides for SIGGRAPH Asia 2020 von
Pixelor presentation slides for SIGGRAPH Asia 2020Pixelor presentation slides for SIGGRAPH Asia 2020
Pixelor presentation slides for SIGGRAPH Asia 2020Ayan Das
61 views35 Folien
App interaction von
App interactionApp interaction
App interactionreittes
223 views11 Folien
05. Vectors von
05. Vectors05. Vectors
05. VectorsAmin Babadi
342 views16 Folien
Lecture 1 Introduction to VR Programming von
Lecture 1 Introduction to VR ProgrammingLecture 1 Introduction to VR Programming
Lecture 1 Introduction to VR ProgrammingKobkrit Viriyayudhakorn
529 views56 Folien

Similar a Game Dev Session 01.pdf(20)

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

Último

MS PowerPoint.pptx von
MS PowerPoint.pptxMS PowerPoint.pptx
MS PowerPoint.pptxLitty Sylus
7 views14 Folien
Bootstrapping vs Venture Capital.pptx von
Bootstrapping vs Venture Capital.pptxBootstrapping vs Venture Capital.pptx
Bootstrapping vs Venture Capital.pptxZeljko Svedic
14 views17 Folien
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action von
Gen Apps on Google Cloud PaLM2 and Codey APIs in ActionGen Apps on Google Cloud PaLM2 and Codey APIs in Action
Gen Apps on Google Cloud PaLM2 and Codey APIs in ActionMárton Kodok
15 views55 Folien
SAP FOR CONTRACT MANUFACTURING.pdf von
SAP FOR CONTRACT MANUFACTURING.pdfSAP FOR CONTRACT MANUFACTURING.pdf
SAP FOR CONTRACT MANUFACTURING.pdfVirendra Rai, PMP
13 views2 Folien
DRYiCE™ iAutomate: AI-enhanced Intelligent Runbook Automation von
DRYiCE™ iAutomate: AI-enhanced Intelligent Runbook AutomationDRYiCE™ iAutomate: AI-enhanced Intelligent Runbook Automation
DRYiCE™ iAutomate: AI-enhanced Intelligent Runbook AutomationHCLSoftware
6 views8 Folien
Myths and Facts About Hospice Care: Busting Common Misconceptions von
Myths and Facts About Hospice Care: Busting Common MisconceptionsMyths and Facts About Hospice Care: Busting Common Misconceptions
Myths and Facts About Hospice Care: Busting Common MisconceptionsCare Coordinations
7 views1 Folie

Último(20)

Bootstrapping vs Venture Capital.pptx von Zeljko Svedic
Bootstrapping vs Venture Capital.pptxBootstrapping vs Venture Capital.pptx
Bootstrapping vs Venture Capital.pptx
Zeljko Svedic14 views
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action von Márton Kodok
Gen Apps on Google Cloud PaLM2 and Codey APIs in ActionGen Apps on Google Cloud PaLM2 and Codey APIs in Action
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action
Márton Kodok15 views
DRYiCE™ iAutomate: AI-enhanced Intelligent Runbook Automation von HCLSoftware
DRYiCE™ iAutomate: AI-enhanced Intelligent Runbook AutomationDRYiCE™ iAutomate: AI-enhanced Intelligent Runbook Automation
DRYiCE™ iAutomate: AI-enhanced Intelligent Runbook Automation
HCLSoftware6 views
Myths and Facts About Hospice Care: Busting Common Misconceptions von Care Coordinations
Myths and Facts About Hospice Care: Busting Common MisconceptionsMyths and Facts About Hospice Care: Busting Common Misconceptions
Myths and Facts About Hospice Care: Busting Common Misconceptions
Copilot Prompting Toolkit_All Resources.pdf von Riccardo Zamana
Copilot Prompting Toolkit_All Resources.pdfCopilot Prompting Toolkit_All Resources.pdf
Copilot Prompting Toolkit_All Resources.pdf
Riccardo Zamana16 views
Fleet Management Software in India von Fleetable
Fleet Management Software in India Fleet Management Software in India
Fleet Management Software in India
Fleetable12 views
Navigating container technology for enhanced security by Niklas Saari von 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 Oy14 views
predicting-m3-devopsconMunich-2023.pptx von Tier1 app
predicting-m3-devopsconMunich-2023.pptxpredicting-m3-devopsconMunich-2023.pptx
predicting-m3-devopsconMunich-2023.pptx
Tier1 app7 views
Dapr Unleashed: Accelerating Microservice Development von Miroslav Janeski
Dapr Unleashed: Accelerating Microservice DevelopmentDapr Unleashed: Accelerating Microservice Development
Dapr Unleashed: Accelerating Microservice Development
Miroslav Janeski12 views
Sprint 226 von ManageIQ
Sprint 226Sprint 226
Sprint 226
ManageIQ10 views
360 graden fabriek von info33492
360 graden fabriek360 graden fabriek
360 graden fabriek
info33492143 views
AI and Ml presentation .pptx von FayazAli87
AI and Ml presentation .pptxAI and Ml presentation .pptx
AI and Ml presentation .pptx
FayazAli8713 views
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... von 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...
TomHalpin96 views
JioEngage_Presentation.pptx von admin125455
JioEngage_Presentation.pptxJioEngage_Presentation.pptx
JioEngage_Presentation.pptx
admin1254556 views
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with... von sparkfabrik
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...
sparkfabrik8 views

Game Dev Session 01.pdf