Course Overview
Did you know computer games use mathematics to perform every single task, from rendering to animation and physics to AI? Mathematics is everywhere. A fundamental understanding of mathematics is critical in every occupation and nowhere is it more important than in games development. It underpins all primary operations performed by a game engine. You can't even move a character across the screen without it. Keen to learn more and build up your knowledge in mathematics to improve your game development skills? Then this course is for you.
In this course you will build your own C# classes to work with the geometrical constructs of 2D and 3D space that will develop your understanding of positioning and moving game objects. In short you will build your own maths library to replicate some of Unity's Vector2, Vector3, Matrix4x4 and some Mathf methods. Throughout, we will be using the Unity Game Engine to help emphasise the mathematics concepts.
Join Dr Penny de Byl as she introduces game development mathematics using her internationally acclaimed holistic teaching style and expertise from over 25 years of teaching, research and work in games and computer graphics. Through-out the course you will follow along with hands-on workshops designed to teach you the vital mathematical techniques used in programming computer game mechanics and visuals.
During the course we will be building a game that not only uses the code we've written to move 2D and 3D objects around on the screen, but to play the game you will have to use your knowledge of points and vectors to solve puzzles that will reinforce your learning. You will also build numerous mini projects to apply mathematical concepts and see how they work in games environments.
Learn how to program and work with:
Bitwise Operations, Bit Packing and Bitboards
2D and 3D Space
Points
Vectors
Matrices
Mapping from one coordinate system to another
Positioning Objects
Navigation
Angles
Interpolation
Quaternions
What students are saying about this course:
Brilliant course. Might be the most helpful course I've found on Udemy so far. Penny is an amazing instructor. Even by the end of the first section learned super valuable information that I can apply to my games.
Early in the program but already learned enough to make the purchase price worthwhile.
As always, the professor delivers a great, clear course on a badly needed subject to learn. She is so knowledgeable and can impart her knowledge to her students. I recommend all her courses and her YouTube channel.
FAQ
FAQ area empty
Course curriculum
Chương 1 Introduction and Welcome 8 bài · 18 phút
Chương 2 Bitwise Operations 15 bài · 2 giờ 36 phút
- Bits, Bytes and Binary Học thử 10:41
-
Binary Quiz
- Bit Flags & Bitwise Operators Xem trước 19:02
- Turning Bit Flags Off Xem trước 13:57
- Bit Masks Xem trước 13:07
- Bit Mask Challenge Solution Xem trước 14:50
- Bit Shifting Xem trước 10:56
-
Bit Shift Quiz
- Bit Toggling and Unity Specifics Xem trước 17:05
- Bitboards Xem trước 10:31
- Putting Bitboards Into Practice Part 1 Xem trước 19:31
- Putting Bitboards Into Practice Part 2 Xem trước 17:56
- Putting Bitboards Into Practice Part 3 Xem trước 8:21
-
Bitboard Quiz
-
Other Bitwise Operation Hacks
Chương 3 Location 8 bài · 2 giờ 7 phút
- Cartesian Coordinates & Points Xem trước 18:28
- Plotting Points: A Simple Data Structure Xem trước 17:08
- Drawing Lines: Solution Xem trước 15:03
- Graph Line Challenge Xem trước 16:05
- Practice Locating 2D Points on a Cartesian Plane Xem trước 18:30
- Calculating Distance Part 1 Xem trước 19:42
-
Points Quiz
- Calculating Distance Part 2 Xem trước 21:45
Chương 4 Vectors 23 bài · 3 giờ 26 phút
- Introduction to Vectors Part 1 Xem trước 14:58
- Introduction to Vectors Part 2 Xem trước 16:13
-
Vectors Quiz
- Vectors: Moving to a Point Xem trước 16:47
-
Vectors and Points Quiz
- Vector Normal Form Xem trước 19:01
-
Calculating Vector Normals Quiz
- Dot Product Xem trước 16:51
-
Derivation of Vector Angle Calculation
-
Dot Product Quiz
- Rotations Xem trước 9:33
- Cross Product Xem trước 17:20
-
Cross Product Quiz
- 2D LookAt Challenge Xem trước 10:20
- Dot Cross Challenge Xem trước 19:25
- Challenge Solutions Xem trước 6:38
-
Turn Angle and Distance Quiz
- Recreate Rotate and Translate Challenge Part 1 Xem trước 19:58
- Recreate Rotate and Translate Challenge Part 2 Xem trước 6:22
- Moving from 2D to 3D Xem trước 19:43
-
3D Points Quiz
-
3D Vector Mathematics Quiz
- Exploring Rotation in 3D Xem trước 13:19
Chương 5 Intersections 16 bài · 3 giờ 15 phút
- Lines, Line Segments and Rays Part 1 Xem trước 18:56
- Lines, Line Segments and Rays Part 2 Xem trước 13:37
-
Lines Quiz
- Planes Xem trước 18:58
-
Planes Points Quiz
- Another Line Constructor Xem trước 1:50
- Intersection of Two Line Segments Xem trước 19:59
- Improving Line Intersection Xem trước 14:42
-
Line Intersection Quiz
- Line-Line Intersection Challenge Xem trước 11:55
- Line-Plane Intersections Xem trước 19:52
- Line-Plane Intersections, Projections and Reflections Xem trước 18:14
- Plane Reflections Xem trước 13:19
- Unity Specifics For Intersections Xem trước 19:54
- More Unity Specifics Part 1 Xem trước 13:58
- More Unity Specifics Part 2 Xem trước 9:57
Chương 6 Affine Transformations 16 bài · 3 giờ 19 phút
- An Introduction to Matrices Xem trước 8:26
-
Matrix Quiz
- Homogeneous Coordinates Xem trước 5:28
- Transformations Xem trước 7:39
- Matrices: Data Structures and Algorithms Part 1 Xem trước 19:26
- Matrices: Data Structures and Algorithms Part 2 Xem trước 14:10
- Translation Xem trước 19:44
- Scaling Xem trước 13:08
- Rotation Xem trước 16:51
- Affine Transformations Xem trước 17:21
- Shear and Reflect Challenge Xem trước 11:28
- Quaternions Xem trước 17:55
-
Quaternion Quiz
- Programming Quaternion Rotations Xem trước 19:41
- Extracting the Rotation Axis and Angle Xem trước 10:52
- Quaternion Rotations Xem trước 16:41
Chương 7 Final Words 3 bài · 13 phút
-
Final Maths Library Code
- Some Final Words from Penny Xem trước 1:51
- Where to now? Xem trước 11:16
Requirment
-
Familiarity with the Unity Game Engine
-
Confidence in programming with C#
-
Mathematics skills to high school level (basic trigonometry and algebra).
Outcomes
-
How to use bitwise operations to optimise processing and storage in games.
-
Everything there is to know about vector mathematics and how to navigate in 2D and 3D space.
-
The principles and practice behind collision detection with lines, line segments and ray casting.
-
The beauty of affine transformations and the fundamentals in transforming game objects.
-
What a quaternion is and how it is used to rotate game objects.
-
How to build a mathematics library in C# from scratch.
0 Student
3 Courses
0 review