A plugin to allow you to move an item to a given position via physics, and have it stop precisely.

Posted on 30th Jan 2018. Follow @phaser_ and get the Phaser World newsletter.


This is a new Phaser plugin by Damien Leroux that will move an object and stop it at an exact position. Compatible with phaser >= 2.0.0 <3.0.0

"As I didn't find a way in the phaser core functions to move an item to stop at a given position, I made this plugin. It just wrap the phaser core function moveToXY to have the displayed object stop when the x/y position is reached."

Read More

The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
  • By Emanuele Feronato
  • 155 Pages
  • 28 Source Code Examples
  • Build a complete game from start to finish
  • Cross Platform
  • Scaling for devices
Buy Now