2015 | OriginalPaper | Chapter
Vectors for Movement and Collision Detection
Published in:
Advanced Game Design with HTML5 and JavaScript
Abstract
You may not know it, but there’s an unseen world of invisible forces at work in your games, called vectors. They’re what make your objects move and detect collisions, and they help you create simulations of real-world physical objects. Vectors are like the atoms and molecules of the game universe—everything depends on them, but they’re very hard to see with the naked eye.