Game Development Foundations: Game-Related Math
53mBeginner2017-05-04
Authors

Jesse Freeman
Head of Partner and Framework Marketing at Amazon
Course details
If you're a game developer, you can overcome many common programming hurdles by knowing just a few commonly used math techniques. In this course, learn about the concepts of grids and collision detection, as well as useful formulas you can apply to a variety of problems. Throughout the course, Jesse Freeman focuses on beginner-level game math and uses JavaScript in his examples. He covers three main topics—layout, collision, and formulas—beginning with layout, where he goes into centering objects and working with grids. Next, he discusses collisions, where he takes you through point collisions, rectangle collisions, and how to tell the distance between two points. Finally, he covers formulas for calculating health and experience. By the time you wrap up this course, you'll have some basic math skills that you can apply to any game.
Learning objectives
Centering objects
Horizontal and vertical layout
Rendering a collection of boxes in a grid
Point collisions
Rectangle collisions
Detecting the distance between two objects
Calculating the percentage and ratio of a player's health
Calculating experience for a player based on their level
Learning objectives
Centering objects
Horizontal and vertical layout
Rendering a collection of boxes in a grid
Point collisions
Rectangle collisions
Detecting the distance between two objects
Calculating the percentage and ratio of a player's health
Calculating experience for a player based on their level
Skills covered
Real-Time ScriptingGame DevelopmentJavaScriptOracleVisualization and Real-TimeSoftware Development
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know
- 03 - Using the exercise files
1. Layout
- 04 - Centering objects
- 05 - Horizontal and vertical layout
- 06 - Grid layout
2. Collision
- 07 - Point collisions
- 08 - Rectangle collisions
- 09 - Distance between two objects
3. Formulas
- 10 - Healthbar and percentages
- 11 - Experience calculator
- 12 - Linear tween
Conclusion
- 13 - Next steps
Related courses
- Game Design Foundations: 2 Systems, Chance, and Strategy
- Game Design Foundations: 3 Pitch, Propose, and Practice
- Game Design Foundations: 1 Ideas, Core Loops, and Goals
- AI Algorithms for Game Design with Python
- Database Design Fundamentals
- Business Benefits Realization Foundations
- Google Cloud Build: Test, Deploy, and Manage Code
- Advanced Unity 2D: Platformer Player Movement
Related learn paths
- Prepare for Unity Certification
- The Top Skills IT Professionals Have Right Now
- Generative AI for Customer Service with Microsoft 365 Copilot Professional Certificate
- Master Digital Transformation
- Moving from Data Analyst to Data Scientist
- Become an Industrial Designer
- Prepare for the PMI-ACP Certification
- Develop Your Skills as a Software Project Manager