Yasser Jafal
A Practical Introduction to 3D
Game Development
2
Download free eBooks at bookboon.com
A Practical Introduction to 3D Game Development
1st edition
© 2014 Yasser Jafal & bookboon.com
ISBN 978-87-403-0786-3
3
Download free eBooks at bookboon.com
A Practical Introduction to
3D Game Development
Contents
Contents
About this Book
7
1
Basics of Scene Construction
8
1.1
Basic shapes and their properties
8
1.2
Relations between game objects
11
1.3
Rendering properties
13
1.4
Light types and properties
16
1.5
Camera
19
1.6
Controlling objects properties
21
2
Handling User Input
28
2.1
Reading keyboard input
29
2.2
Implementing platformer input system
32
2.3
Reading mouse input
43
2.4
Implementing irst person shooter input system
46
www.sylvania.com
We do not reinvent
the wheel we reinvent
light.
Fascinating lighting offers an ininite spectrum of
possibilities: Innovative technologies and new
markets provide both opportunities and challenges.
An environment in which your expertise is in high
demand. Enjoy the supportive working atmosphere
within our global group and beneit from international
career paths. Implement sustainable ideas in close
cooperation with other specialists and contribute to
inluencing our future. Come and join us in reinventing
light every day.
Light is OSRAM
4
Download free eBooks at bookboon.com
Click on the ad to read more
A Practical Introduction to
3D Game Development
Contents
2.5
Implementing third person input system
53
2.6
Implementing car racing games input system
61
2.7
Implementing light simulation input system
72
3
Basic Game Logic
77
3.1
Shooting
77
3.2
Collectables
93
3.3
Holding and releasing objects
108
3.4
Triggers and usable objects
111
4
Physics Simulation
124
4.1
Gravity and Collision Detection
124
4.2
Physical Vehicles
132
4.3
Physical player character
150
4.4
Ray cast shooting
158
4.5
Physics projectiles
170
4.6
Explosions and destruction
177
4.7
Breakable objects
187
360°
thinking
.
Discover the truth at www.deloitte.ca/careers
5
Download free eBooks at bookboon.com
© Deloitte & Touche LLP and affiliated entities.
Click on the ad to read more