The implementation of steering behaviours algorithms using HTML5 with Phaser framewok. These algorithms allow autonomous characters to move in a realistic manner.
Clone or download
Latest commit ee354fe Jun 22, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets Delete test.txt Mar 24, 2017
README.md Update README.md Jun 22, 2017
phaser.min.js Add files via upload Mar 24, 2017
steer_01_seek.html Add files via upload Mar 24, 2017
steer_01_seek.js Add files via upload Mar 24, 2017

README.md

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:

  • steer_01_seek.js
  • steer_01_seek.html
  • phaser.min.js

The complete article about the Seek algorithm with a live demo you can find at:
http://www.askforgametask.com/tutorial/steering-behaviors-seek/