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

Recommended

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

More Related Content

Similar to Game Dev Session 01.pdf

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

Similar to Game Dev Session 01.pdf(20)

Gravitee Wars Post Mortem by Stuart Allen of FunkyPear by 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 by 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 by reittes
App interactionApp interaction
App interaction
reittes223 views
Knock Knock on GameDev Gate by BeMyApp
Knock Knock on GameDev GateKnock Knock on GameDev Gate
Knock Knock on GameDev Gate
BeMyApp603 views
Building a deep learning ai.pptx by 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 by Ligeng Zhu
Deep Learning Tutorial Deep Learning Tutorial
Deep Learning Tutorial
Ligeng Zhu230 views
Winners of HTML5 BYOG - InGDIn by Kinshuk Sunil
Winners of HTML5 BYOG - InGDInWinners of HTML5 BYOG - InGDIn
Winners of HTML5 BYOG - InGDIn
Kinshuk Sunil684 views
Making BIG DATA smaller by 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 by 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... by 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 by Joel Burgess
Modular Level Design for SkyrimModular Level Design for Skyrim
Modular Level Design for Skyrim
Joel Burgess61.9K views
物件偵測與辨識技術 by CHENHuiMei
物件偵測與辨識技術物件偵測與辨識技術
物件偵測與辨識技術
CHENHuiMei368 views
Deep single view 3 d object reconstruction with visual hull by 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 by Andrew McPherson
The Legend of Zelda and the NullPointerExceptionThe Legend of Zelda and the NullPointerException
The Legend of Zelda and the NullPointerException
Andrew McPherson816 views

Recently uploaded

nintendo_64.pptx by
nintendo_64.pptxnintendo_64.pptx
nintendo_64.pptxpaiga02016
5 views7 slides
ShortStory_qlora.pptx by
ShortStory_qlora.pptxShortStory_qlora.pptx
ShortStory_qlora.pptxpranathikrishna22
5 views10 slides
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI... by
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...Marc Müller
42 views83 slides
predicting-m3-devopsconMunich-2023.pptx by
predicting-m3-devopsconMunich-2023.pptxpredicting-m3-devopsconMunich-2023.pptx
predicting-m3-devopsconMunich-2023.pptxTier1 app
7 views24 slides
Sprint 226 by
Sprint 226Sprint 226
Sprint 226ManageIQ
8 views18 slides
The Path to DevOps by
The Path to DevOpsThe Path to DevOps
The Path to DevOpsJohn Valentino
5 views6 slides

Recently uploaded(20)

Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI... by Marc Müller
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...
Dev-Cloud Conference 2023 - Continuous Deployment Showdown: Traditionelles CI...
Marc Müller42 views
predicting-m3-devopsconMunich-2023.pptx by Tier1 app
predicting-m3-devopsconMunich-2023.pptxpredicting-m3-devopsconMunich-2023.pptx
predicting-m3-devopsconMunich-2023.pptx
Tier1 app7 views
Sprint 226 by ManageIQ
Sprint 226Sprint 226
Sprint 226
ManageIQ8 views
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P... by NimaTorabi2
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
Unlocking the Power of AI in Product Management - A Comprehensive Guide for P...
NimaTorabi215 views
360 graden fabriek by info33492
360 graden fabriek360 graden fabriek
360 graden fabriek
info33492138 views
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx by animuscrm
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
animuscrm15 views
Navigating container technology for enhanced security by Niklas Saari by 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
Myths and Facts About Hospice Care: Busting Common Misconceptions by 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
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium... by Lisi Hocke
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...
Team Transformation Tactics for Holistic Testing and Quality (Japan Symposium...
Lisi Hocke35 views
Top-5-production-devconMunich-2023.pptx by Tier1 app
Top-5-production-devconMunich-2023.pptxTop-5-production-devconMunich-2023.pptx
Top-5-production-devconMunich-2023.pptx
Tier1 app8 views

Game Dev Session 01.pdf