The Steering Behaviors Algorithms
The implementation of steering behaviors algorithms using HTML5 with Phaser framewok. These algorithms allow autonomous characters to move in a realistic manner. They will be presented and explained through a series of tutorials with examples.
The source codes of all examples are fully commented so you should be able to follow them quite easy.
For more tutorials, but also to play my own games, visit http://www.askforgametask.com
Part 1: The Seek
The Seek steering behaviour algorithm allows a vehicle (seeker) to moves toward a target.
Here is the list of files for running the Seek example:
The complete article about the Seek algorithm with a live demo you can find at: