Mathematics for Computer Games Development using Unity

A Beginner's Guide to Essential Mathematics, Data Structures and Algorithms used in Game Programming applied in Unity

Mathematics for Computer Games Development using Unity
Mathematics for Computer Games Development using Unity

What you'll learn:

  • 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.



  • Familiarity with the Unity Game Engine
  • Confidence in programming with C#
  • Mathematics skills to high school level (basic trigonometry and algebra).


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.

Who this course is for:

  • Beginner game development students who want to be able to understand the mathematics behind game engines.
  • Skilled programmers keen to move into 2D and 3D game development spaces.
  • Game development enthusiasts who want a deeper understanding of how mathematics is applied in games.
  • Anyone with an appreciation of mathematics who wants to investigate how it is applied in computer game environments.


Course Details:

  • 15 hours on-demand video
  • 6 articles
  • 27 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of completion

Mathematics for Computer Games Development using Unity udemy courses free download

A Beginner's Guide to Essential Mathematics, Data Structures and Algorithms used in Game Programming applied in Unity